Skip to content

Commit b221325

Browse files
waipengralonsoh
authored andcommitted
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
1 parent 9df4a7e commit b221325

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

neutron/cmd/ovn/neutron_ovn_db_sync_util.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,9 @@ def main():
203203
'port_forwarding',
204204
'qos'
205205
]
206+
extension_drivers = list(set(cfg.CONF.ml2.extension_drivers + ['qos']))
207+
cfg.CONF.set_override('extension_drivers', extension_drivers, 'ml2')
208+
206209
else:
207210
LOG.error('Invalid core plugin : ["%s"].', cfg.CONF.core_plugin)
208211
return

0 commit comments

Comments
 (0)