yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #78075
[Bug 1825291] [NEW] TypeError: unhashable type: 'dict' in neutron-vpnaas while deleting routers
Public bug reported:
OpenStack version: stein (8.0.0, kolla build 20190417)
While deleting routers as part of the tempest run, the following exception has been logged:
```
Error while deleting router ba955d36-2ac4-47b8-aae2-3bf4a2fd2f79: TypeError: unhashable type: 'dict'
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent Traceback (most recent call last):
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 463, in _safe_router_removed
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent self.l3_ext_manager.delete_router(self.context, ri.router)
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron/agent/l3/l3_agent_extensions_manager.py", line 66, in delete_router
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent extension.obj.delete_router(context, data)
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron_vpnaas/services/vpn/agent.py", line 80, in delete_router
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent device_driver.destroy_router(data)
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron_vpnaas/services/vpn/device_drivers/ipsec.py", line 1005, in destroy_router
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent self.destroy_process(process_id)
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron_vpnaas/services/vpn/device_drivers/ipsec.py", line 991, in destroy_process
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent if process_id in self.processes:
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent TypeError: unhashable type: 'dict'
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent
```
Looking at methods in the traceback, call to
`extension.obj.delete_router` has been updated in commit
4bb78e8c215d24cd2fc9168e7bfbb47ceb89de3e to pass a RouterInfo object
instead of the router_id, but neutron-vpnaas has never been updated
accordingly.
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1825291
Title:
TypeError: unhashable type: 'dict' in neutron-vpnaas while deleting
routers
Status in neutron:
New
Bug description:
OpenStack version: stein (8.0.0, kolla build 20190417)
While deleting routers as part of the tempest run, the following exception has been logged:
```
Error while deleting router ba955d36-2ac4-47b8-aae2-3bf4a2fd2f79: TypeError: unhashable type: 'dict'
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent Traceback (most recent call last):
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 463, in _safe_router_removed
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent self.l3_ext_manager.delete_router(self.context, ri.router)
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron/agent/l3/l3_agent_extensions_manager.py", line 66, in delete_router
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent extension.obj.delete_router(context, data)
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron_vpnaas/services/vpn/agent.py", line 80, in delete_router
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent device_driver.destroy_router(data)
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron_vpnaas/services/vpn/device_drivers/ipsec.py", line 1005, in destroy_router
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent self.destroy_process(process_id)
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron_vpnaas/services/vpn/device_drivers/ipsec.py", line 991, in destroy_process
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent if process_id in self.processes:
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent TypeError: unhashable type: 'dict'
2019-04-17 21:25:33.512 36 ERROR neutron.agent.l3.agent
```
Looking at methods in the traceback, call to
`extension.obj.delete_router` has been updated in commit
4bb78e8c215d24cd2fc9168e7bfbb47ceb89de3e to pass a RouterInfo object
instead of the router_id, but neutron-vpnaas has never been updated
accordingly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1825291/+subscriptions
Follow ups