[Bug 1960319] Re: Missing dependency for neutron-server: openvswitch-common
Ćukasz Zemczak
1960319 at bugs.launchpad.net
Mon Mar 6 14:04:34 UTC 2023
Hello Frode, or anyone else affected,
Accepted neutron into focal-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/neutron/2:16.4.2-0ubuntu6 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: neutron (Ubuntu Focal)
Status: Triaged => Fix Committed
** Tags added: verification-needed verification-needed-focal
--
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:
Fix Committed
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
* log into neutron-api unit and check that openvswitch-common is installed
* 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