key error in del l3_agent.pd.routers[router['id']]['subnets']
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Assaf Muller |
Bug Description
currently the following erorr is seen in the q-l3 or q-vpn agents when deleting a router: (steps to reproduce below):
Exit code: 0
Stdin:
Stdout: lo
Stderr: execute /opt/stack/
2015-08-27 19:08:38.007 12027 DEBUG neutron.
Command: ['ip', 'netns', 'delete', u'qrouter-
Exit code: 0
Stdin:
Stdout:
Stderr: execute /opt/stack/
2015-08-27 19:08:38.009 12027 DEBUG neutron.
2015-08-27 19:08:38.009 12027 DEBUG neutron.
2015-08-27 19:08:38.010 12027 DEBUG oslo_concurrenc
2015-08-27 19:08:38.010 12027 DEBUG oslo_concurrenc
2015-08-27 19:08:38.012 12027 ERROR neutron.
2015-08-27 19:08:38.012 12027 ERROR neutron.
2015-08-27 19:08:38.012 12027 ERROR neutron.
2015-08-27 19:08:38.012 12027 ERROR neutron.
2015-08-27 19:08:38.012 12027 ERROR neutron.
2015-08-27 19:08:38.012 12027 ERROR neutron.
2015-08-27 19:08:38.012 12027 ERROR neutron.
2015-08-27 19:08:38.012 12027 ERROR neutron.
2015-08-27 19:08:38.012 12027 ERROR neutron.
2015-08-27 19:08:38.012 12027 ERROR neutron.
2015-08-27 19:08:38.015 12027 DEBUG neutron.
2015-08-27 19:08:47.697 12027 DEBUG oslo_service.
2015-08-27 19:08:47.756 12027 DEBUG oslo_service.
STEPS TO REPRODUCE:
create a stack with a neutron server (q-vpn) node, "network" server (q-l3), and a compute node.
Then execut the following:
neutron net-create public --router:external
neutron subnet-create public 123.0.0.0/24 --disable-dhcp
for id in $(neutron security-group-list | grep -v " id " | grep -v "\-\-" | awk '{print $2}'); do neutron security-
neutron security-
neutron security-
neutron security-
neutron net-create private
neutron subnet-create private103.0.0.0/24 --name private
neutron router-create r1 --distributed=False --ha=False
neutron router-gateway-set r1 public
then execute:
neutron router-delete r1
you will see the error above.
Changed in neutron: | |
importance: | Undecided → High |
Changed in neutron: | |
milestone: | none → liberty-3 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | liberty-3 → 7.0.0 |
Any way we could get a better formatted stack trace in pastebin?