[Bug 1960319] Re: Missing dependency for neutron-server: openvswitch-common

Edward Hope-Morley 1960319 at bugs.launchpad.net
Wed Feb 15 10:05:38 UTC 2023


wallaby-proposed verified with the following output:

ubuntu at juju-ad9b8e-lp1960319-wallaby-6:~$ apt-cache policy neutron-server openvswitch-common
neutron-server:
  Installed: 2:18.6.0-0ubuntu1~cloud1
  Candidate: 2:18.6.0-0ubuntu1~cloud1
  Version table:
 *** 2:18.6.0-0ubuntu1~cloud1 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-proposed/wallaby/main amd64 Packages
        100 /var/lib/dpkg/status
     2:16.4.2-0ubuntu5 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
     2:16.0.0~b3~git2020041516.5f42488a9a-0ubuntu2 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu focal/main amd64 Packages
openvswitch-common:
  Installed: 2.15.2-0ubuntu1~cloud0
  Candidate: 2.15.2-0ubuntu1~cloud0
  Version table:
 *** 2.15.2-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-proposed/wallaby/main amd64 Packages
        100 /var/lib/dpkg/status
     2.13.8-0ubuntu1 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
     2.13.3-0ubuntu0.20.04.2 500
        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
     2.13.0-0ubuntu1 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu focal/main amd64 Packages

** Tags removed: verification-wallaby-needed
** Tags added: verification-wallaby-done

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

Title:
  Missing dependency for neutron-server: openvswitch-common

Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive ussuri series:
  Triaged
Status in Ubuntu Cloud Archive victoria series:
  Fix Committed
Status in Ubuntu Cloud Archive wallaby series:
  Fix Committed
Status in Ubuntu Cloud Archive xena series:
  Fix Committed
Status in Ubuntu Cloud Archive yoga series:
  Fix Released
Status in neutron package in Ubuntu:
  Fix Released
Status in neutron source package in Focal:
  Triaged
Status in neutron source package in Jammy:
  Fix Released

Bug description:
  [Impact]
  Backporting patch that adds openvswitch-common dependency to neutron-server to prior releases of Openstack (U,V,W,X).

  [Test Plan]
  * deploy Openstack with neutron ml2-ovn
  * create a vm and add a floating ip
  * check Mac Binding table in southbound database and make note of entries
  * delete the vm and floating ip
  * corresponding entries in db should be gone

  [Regression Potential]
  This is not expected to have a regression potential.

  =========================================================================

  The Neutron Server code will in some circumstances call out to the
  `ovsdb-client` binary for OVN database maintenance. [0]

  This change appeared recently but has been backported all the way to
  OpenStack Train [1].

  The neutron-server does currently not depend on openvswitch-common and
  as such the call will fail with log entries like:

  2022-02-08 13:38:23.053 386820 ERROR ovsdbapp.event [req-46b888be-d233-4aec-a4d4-3ba04d220f64 - - - - -] Unexpected exception in notify_loop: FileNotFoundError: [Errno 2] No such file or directory: 'ovsdb-client'
  2022-02-08 13:38:23.053 386820 ERROR ovsdbapp.event Traceback (most recent call last):
  2022-02-08 13:38:23.053 386820 ERROR ovsdbapp.event   File "/usr/lib/python3/dist-packages/ovsdbapp/event.py", line 143, in notify_loop
  2022-02-08 13:38:23.053 386820 ERROR ovsdbapp.event     match.run(event, row, updates)
  2022-02-08 13:38:23.053 386820 ERROR ovsdbapp.event   File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py", line 347, in run
  2022-02-08 13:38:23.053 386820 ERROR ovsdbapp.event     self.driver.delete_mac_binding_entries(row.external_ip)
  2022-02-08 13:38:23.053 386820 ERROR ovsdbapp.event   File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py", line 1068, in delete_mac_binding_entries
  2022-02-08 13:38:23.053 386820 ERROR ovsdbapp.event     return processutils.execute(*cmd,
  2022-02-08 13:38:23.053 386820 ERROR ovsdbapp.event   File "/usr/lib/python3/dist-packages/oslo_concurrency/processutils.py", line 383, in execute
  2022-02-08 13:38:23.053 386820 ERROR ovsdbapp.event     obj = subprocess.Popen(cmd,
  2022-02-08 13:38:23.053 386820 ERROR ovsdbapp.event   File "/usr/lib/python3/dist-packages/eventlet/green/subprocess.py", line 58, in __init__
  2022-02-08 13:38:23.053 386820 ERROR ovsdbapp.event     subprocess_orig.Popen.__init__(self, args, 0, *argss, **kwds)
  2022-02-08 13:38:23.053 386820 ERROR ovsdbapp.event   File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
  2022-02-08 13:38:23.053 386820 ERROR ovsdbapp.event     self._execute_child(args, executable, preexec_fn, close_fds,
  2022-02-08 13:38:23.053 386820 ERROR ovsdbapp.event   File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
  2022-02-08 13:38:23.053 386820 ERROR ovsdbapp.event     raise child_exception_type(errno_num, err_msg, err_filename)
  2022-02-08 13:38:23.053 386820 ERROR ovsdbapp.event FileNotFoundError: [Errno 2] No such file or directory: 'ovsdb-client'
  2022-02-08 13:38:23.053 386820 ERROR ovsdbapp.event

  0: https://github.com/openstack/neutron/blob/2999b8e579dd9d5ac6ee5f0ec77ff5607b6a1143/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py#L1113
  1: https://review.opendev.org/q/Id84bf17953527c415d611bfc198038fb6f811de3

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1960319/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list