KeyError: 'gw_port_host' seen for DVR router removal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Stephen Ma | ||
Juno |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In some multi-node setups, a qrouter namespace might be hosted on a node where only a dhcp port is hosted (no VMs, no SNAT).
When the router is removed from the db, the host with only the qrouter and dhcp namespace will have the qrouter namespace remain. Other hosts with the same qrouter will remove the namespace. The following KeyError is seen on the host with the remaining namespace -
2014-11-18 17:18:43.334 ERROR neutron.
2014-11-18 17:18:43.334 TRACE neutron.
2014-11-18 17:18:43.334 TRACE neutron.
2014-11-18 17:18:43.334 TRACE neutron.
2014-11-18 17:18:43.334 TRACE neutron.
2014-11-18 17:18:43.334 TRACE neutron.
2014-11-18 17:18:43.334 TRACE neutron.
2014-11-18 17:18:43.334 TRACE neutron.
2014-11-18 17:18:43.334 TRACE neutron.
2014-11-18 17:18:43.334 TRACE neutron.
Traceback (most recent call last):
File "/usr/local/
func(*args, **kwargs)
File "/opt/stack/
self.
File "/opt/stack/
self.
File "/opt/stack/
self.logger(e)
File "/opt/stack/
six.
File "/opt/stack/
return func(*args, **kwargs)
File "/opt/stack/
self.
File "/opt/stack/
ri.
KeyError: 'gw_port_host'
For the issue to be seen, the router in question needs to have the router-gateway-set previously.
Changed in neutron: | |
assignee: | nobody → Mike Smith (michael-smith6) |
tags: | added: l3-dvr-backlog |
Changed in neutron: | |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: l3-ipam-dhcp |
tags: | added: juno-backport-potential |
Changed in neutron: | |
status: | In Progress → Fix Released |
Changed in neutron: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | kilo-3 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/138562
Review: https:/