Public bug reported:

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

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

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

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

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to