diff options
author | Jake Yip <jake.yip@unimelb.edu.au> | 2022-09-03 00:11:48 +1000 |
---|---|---|
committer | Rodolfo Alonso <ralonsoh@redhat.com> | 2023-02-17 17:15:58 +0000 |
commit | 7b0b76cb9edf7b8ce86da143d5ed00d053a9b8af (patch) | |
tree | b212739543c7deca98a8ed3c647be18d43b23a5f | |
parent | 288daf9974d6776a27f3539da2f8a168831cf144 (diff) | |
download | neutron-7b0b76cb9edf7b8ce86da143d5ed00d053a9b8af.tar.gz |
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
-rw-r--r-- | neutron/cmd/ovn/neutron_ovn_db_sync_util.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/neutron/cmd/ovn/neutron_ovn_db_sync_util.py b/neutron/cmd/ovn/neutron_ovn_db_sync_util.py index 2ffee328ec..ca601a158b 100644 --- a/neutron/cmd/ovn/neutron_ovn_db_sync_util.py +++ b/neutron/cmd/ovn/neutron_ovn_db_sync_util.py @@ -203,6 +203,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 |