From ff527a201738b993959c57c880224d66c2ecc725 Mon Sep 17 00:00:00 2001 From: Jake Yip Date: Sat, 3 Sep 2022 00:11:48 +1000 Subject: [PATCH] Enable qos extension_driver in ovn_db_sync In Change Ib597b62017b56b41009dd4d7359e169f424272b0, the 'qos' service_plugin is enabled when doing an ovn_db_sync. However, if the 'qos' extension_driver is not installed, it will error out. Append 'qos' extension_driver when using sync to fix this issue. Closes-Bug: #1988577 Change-Id: I422d86b8e5650ced4e2cc722cea9cc30061905b4 --- neutron/cmd/ovn/neutron_ovn_db_sync_util.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/neutron/cmd/ovn/neutron_ovn_db_sync_util.py b/neutron/cmd/ovn/neutron_ovn_db_sync_util.py index 34a4f423831..cc555902ccc 100644 --- a/neutron/cmd/ovn/neutron_ovn_db_sync_util.py +++ b/neutron/cmd/ovn/neutron_ovn_db_sync_util.py @@ -205,6 +205,9 @@ def main(): 'port_forwarding', 'qos' ] + extension_drivers = list(set(cfg.CONF.ml2.extension_drivers + ['qos'])) + cfg.CONF.set_override('extension_drivers', extension_drivers, 'ml2') + else: LOG.error('Invalid core plugin : ["%s"].', cfg.CONF.core_plugin) return