[Bug 1960319] Re: Missing dependency for neutron-server: openvswitch-common
Edward Hope-Morley
1960319 at bugs.launchpad.net
Fri Jan 27 13:45:01 UTC 2023
** Patch added: "lp1960319-wallaby.debdiff"
https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/1960319/+attachment/5643655/+files/lp1960319-wallaby.debdiff
--
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:
New
Status in Ubuntu Cloud Archive victoria series:
New
Status in Ubuntu Cloud Archive wallaby series:
New
Status in Ubuntu Cloud Archive xena series:
New
Status in Ubuntu Cloud Archive yoga series:
Fix Released
Status in neutron package in Ubuntu:
Fix Released
Status in neutron source package in Focal:
New
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