[Neutron] Duplicate tags lead to openvswitch-agent failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
New
|
Undecided
|
Unassigned | ||
9.x |
Incomplete
|
High
|
Alexander Rubtsov |
Bug Description
MOS: 9.2 (build 604)
The issue is observed when several OVS ports have the same tag.
For example:
_uuid : fd288042-
bond_active_slave : []
bond_downdelay : 0
bond_fake_iface : false
bond_mode : []
bond_updelay : 0
external_ids : {}
fake_bridge : false
interfaces : [aff46edd-
lacp : []
mac : []
name : "vhuefaf8b3f-ef"
other_config : {net_uuid=
qos : []
rstp_statistics : {}
rstp_status : {}
statistics : {}
status : {}
tag : 2
trunks : []
vlan_mode : []
_uuid : 2e3194b5-
bond_active_slave : []
bond_downdelay : 0
bond_fake_iface : false
bond_mode : []
bond_updelay : 0
external_ids : {}
fake_bridge : false
interfaces : [002dfdbe-
lacp : []
mac : []
name : "vhu4159bd5d-38"
other_config : {net_uuid=
qos : []
rstp_statistics : {}
rstp_status : {}
statistics : {}
status : {}
tag : 2
trunks : []
vlan_mode : []
In this case, openvswitch-agent is unable to start and throws the following traceback:
2018-03-
2018-03-15 04:17:03.105 25638 ERROR neutron Traceback (most recent call last):
2018-03-15 04:17:03.105 25638 ERROR neutron File "/usr/bin/
2018-03-15 04:17:03.105 25638 ERROR neutron sys.exit(main())
2018-03-15 04:17:03.105 25638 ERROR neutron File "/usr/lib/
2018-03-15 04:17:03.105 25638 ERROR neutron agent_main.main()
2018-03-15 04:17:03.105 25638 ERROR neutron File "/usr/lib/
2018-03-15 04:17:03.105 25638 ERROR neutron mod.main()
2018-03-15 04:17:03.105 25638 ERROR neutron File "/usr/lib/
2018-03-15 04:17:03.105 25638 ERROR neutron ovs_neutron_
2018-03-15 04:17:03.105 25638 ERROR neutron File "/usr/lib/
2018-03-15 04:17:03.105 25638 ERROR neutron agent = OVSNeutronAgent
2018-03-15 04:17:03.105 25638 ERROR neutron File "/usr/lib/
2018-03-15 04:17:03.105 25638 ERROR neutron self._restore_
2018-03-15 04:17:03.105 25638 ERROR neutron File "/usr/lib/
2018-03-15 04:17:03.105 25638 ERROR neutron self.available_
2018-03-15 04:17:03.105 25638 ERROR neutron KeyError: 2
It might be related to these upstream bugs:
https:/
https:/
I'm not allowed to attach the log files here.
Please contact me directly if you need to review the entire output of "ovs-vsctl list Port" and openvswitch-
sla1 for 9.0-updates