Device not found: exceptions in l3 grenade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Kevin Benton | ||
Kilo |
New
|
Undecided
|
Unassigned |
Bug Description
exceptions have been seen in screen-q-vpn.txt.gz at the gate, and it happens quite often recently:
2015-04-23 15:55:56.236 ERROR neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
2015-04-23 15:55:56.236 3736 TRACE neutron.
With the search string: message: "Cannot find device" AND message: "qr-", many occurrences have been seen.
This seems to be the reason for failures of check-grenade-
Changed in neutron: | |
assignee: | nobody → Baodong (Robert) Li (baoli) |
Changed in neutron: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | liberty-1 → 7.0.0 |
This seems to be related to the port_delete() method in ovs_neutron_ agent.py:
def port_delete(self, context, **kwargs): get('port_ id') br.get_ vif_port_ by_id(port_ id)
self. int_br. delete_ port(port. port_name)
port_id = kwargs.
port = self.int_
# If port exists, delete it
if port:
This method was added and then removed and recently added again: 59dfd047719622b 54cdb5f68b 7144cfcc229c98c 8497bfbf7c 8ca91849199987a e71e8600ee
commit f87a74bfa83eeb8
commit 294019139d575bd
commit d6a55c17360d1aa
The method indiscriminately remove a port from the ovs bridge regardless if the port is added by the ovs agent or not. This is not right, and will result in tons of race conditions. Also have seen bug fixes that catch the exception and ignores it.