migrate-ovn-db action fails if qos service plugin is not enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Neutron API OVN Plugin Charm |
New
|
Undecided
|
Unassigned | ||
OpenStack Neutron Open vSwitch Charm |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
The neutron-openvswitch jammy-yoga functional test is failing when it runs:
juju run-action neutron-
Full action output (traceback) is listed below:
ubuntu@
UnitId: neutron-
id: "154"
message: Execution failed, please investigate output.
results:
Stderr: |+
migrate-ovn-db: OUTPUT FROM SYNC ON STDERR:
Stdout: "migrate-ovn-db: OUTPUT FROM SYNC ON STDOUT:
2022-08-29 19:26:54.002 82899
INFO neutron.
2022-08-29
19:26:54.497 82899 INFO neutron.manager [-] Loading core plugin: neutron.
2022-08-29
19:26:54.501 82899 INFO neutron.
names: ['geneve', 'vxlan', 'vlan', 'flat', 'local']
2022-08-29 19:26:54.503
82899 INFO neutron.
names: ['physnet1']
2022-08-29 19:26:54.504 82899 INFO neutron.
[-] ML2 LocalTypeDriver initialization complete
2022-08-29 19:26:54.505
82899 INFO neutron.
[(1000, 2000)])])
2022-08-29 19:26:54.506 82899 INFO neutron.
[-] Loaded type driver names: ['flat', 'geneve', 'local', 'vlan', 'vxlan']
2022-08-29
19:26:54.507 82899 INFO neutron.
'geneve', 'local', 'vlan', 'vxlan'])
2022-08-29 19:26:54.509 82899 INFO
neutron.
'flat', 'local']
2022-08-29 19:26:54.509 82899 INFO neutron.
[-] Configured extension driver names: []
2022-08-29 19:26:54.509 82899
INFO neutron.
2022-08-29
19:26:54.510 82899 INFO neutron.
drivers: []
2022-08-29 19:26:54.510 82899 INFO neutron.
[-] Configured mechanism driver names: ['ovn-sync']
2022-08-29 19:26:54.510
82899 INFO neutron.
2022-08-29
19:26:54.510 82899 INFO neutron.
drivers: ['ovn-sync']
2022-08-29 19:26:54.510 82899 INFO neutron.
[-] No mechanism drivers provide segment reachability information for agent scheduling.
2022-08-29
19:26:54.511 82899 INFO neutron.
type 'flat'
2022-08-29 19:26:54.511 82899 INFO neutron.
[-] ML2 FlatTypeDriver initialization complete
2022-08-29 19:26:54.511
82899 INFO neutron.
2022-08-29
19:26:54.512 82899 INFO neutron.
ranges: [(1001, 2000)]
2022-08-29 19:26:55.060 82899 INFO neutron.
[req-
'local'
2022-08-29 19:26:55.061 82899 INFO neutron.
[req-
'vlan'
2022-08-29 19:26:55.127 82899 INFO neutron.
[req-
complete
2022-08-29 19:26:55.128 82899 INFO neutron.
[req-
'vxlan'
2022-08-29 19:26:55.128 82899 INFO neutron.
[req-
2000)]
2022-08-29 19:26:55.163 82899 INFO neutron.
[req-
'ovn-sync'
2022-08-29 19:26:55.163 82899 INFO neutron.
[req-
2022-08-29
19:26:55.221 82899 INFO neutron.
- - - - -] OVN logging driver registered
2022-08-29 19:26:55.222 82899
CRITICAL neutron_
- - - -] Unhandled error: neutron.
Extension driver qos required for service plugin qos not found.
2022-08-29 19:26:55.222
82899 ERROR neutron_
2022-08-29
19:26:55.222 82899 ERROR neutron_
line 10, in <module>
2022-08-29 19:26:55.222 82899 ERROR neutron_
\ sys.exit(main())
2022-08-29 19:26:55.222 82899 ERROR neutron_
\ File \"/usr/
line 222, in main
2022-08-29 19:26:55.222 82899 ERROR neutron_
\ manager.init()
2022-08-29 19:26:55.222 82899 ERROR neutron_
\ File \"/usr/
2022-08-29
19:26:55.222 82899 ERROR neutron_
2022-08-29
19:26:55.222 82899 ERROR neutron_
line 252, in get_instance
2022-08-29 19:26:55.222 82899 ERROR neutron_
\ cls._create_
2022-08-29 19:26:55.222 82899 ERROR neutron_
\ File \"/usr/
391, in inner
2022-08-29 19:26:55.222 82899 ERROR neutron_
f(*args, **kwargs)
2022-08-29 19:26:55.222 82899 ERROR neutron_
\ File \"/usr/
2022-08-29
19:26:55.222 82899 ERROR neutron_
2022-08-29
19:26:55.222 82899 ERROR neutron_
line 126, in __init__
2022-08-29 19:26:55.222 82899 ERROR neutron_
\ plugin = self._get_
2022-08-29 19:26:55.222
82899 ERROR neutron_
line 162, in _get_plugin_
2022-08-29 19:26:55.222 82899 ERROR neutron_
\ plugin_inst = plugin_class()
2022-08-29 19:26:55.222 82899 ERROR neutron_
\ File \"/usr/
line 124, in wrapper
2022-08-29 19:26:55.222 82899 ERROR neutron_
\ return f(*args, **kwargs)
2022-08-29 19:26:55.222 82899 ERROR neutron_
\ File \"/usr/
281, in __init__
2022-08-29 19:26:55.222 82899 ERROR neutron_
\ self._verify_
2022-08-29 19:26:55.222 82899
ERROR neutron_
line 313, in _verify_
2022-08-29 19:26:55.222 82899
ERROR neutron_
2022-08-29
19:26:55.222 82899 ERROR neutron_
Extension driver qos required for service plugin qos not found.
2022-08-29 19:26:55.222
82899 ERROR neutron_
"
status: failed
timing:
completed: 2022-08-29 19:26:56 +0000 UTC
enqueued: 2022-08-29 19:26:47 +0000 UTC
started: 2022-08-29 19:26:50 +0000 UTC
After enabling the qos plugin for neutron-api:
juju config neutron-api enable-qos=true
The migrate-ovn-db action runs successfully.
Changed in charm-neutron-openvswitch: | |
status: | New → In Progress |
I've added a change to the bundles here to enable the gate to pass for neutron-openvswitch on master:
https:/ /review. opendev. org/c/openstack /charm- neutron- openvswitch/ +/850210