[Bug 2071767] [NEW] ovn-ctl broken on main branch

Frode Nordahl 2071767 at bugs.launchpad.net
Wed Jul 3 05:18:52 UTC 2024


Public bug reported:

Log excerpt:
Jul 03 05:04:51 sunbeam-1 microovn.ovn-ovsdb-server-nb[2411609]: /snap/microovn/x1/share/ovn/scripts/ovn-ctl: 287: test: X: unexpected operator
Jul 03 05:04:51 sunbeam-1 microovn.ovn-ovsdb-server-nb[2411609]: /snap/microovn/x1/share/ovn/scripts/ovn-ctl: 307: test: X: unexpected operator

Looking at commit [0] it introduces the `==` operator for string
comparison which is bash specific and not valid for POSIX shell.  The
ovn-ctl script does not invoke bash in its shebang line.

0: https://github.com/ovn-
org/ovn/commit/12412b13c9e279dab4dc24abf82e076e5d3f400d

** Affects: ovn (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ovn in Ubuntu.
https://bugs.launchpad.net/bugs/2071767

Title:
  ovn-ctl broken on main branch

Status in ovn package in Ubuntu:
  New

Bug description:
  Log excerpt:
  Jul 03 05:04:51 sunbeam-1 microovn.ovn-ovsdb-server-nb[2411609]: /snap/microovn/x1/share/ovn/scripts/ovn-ctl: 287: test: X: unexpected operator
  Jul 03 05:04:51 sunbeam-1 microovn.ovn-ovsdb-server-nb[2411609]: /snap/microovn/x1/share/ovn/scripts/ovn-ctl: 307: test: X: unexpected operator

  Looking at commit [0] it introduces the `==` operator for string
  comparison which is bash specific and not valid for POSIX shell.  The
  ovn-ctl script does not invoke bash in its shebang line.

  0: https://github.com/ovn-
  org/ovn/commit/12412b13c9e279dab4dc24abf82e076e5d3f400d

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ovn/+bug/2071767/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list