The exception type is wrong and makes the except block not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Hong Hui Xiao |
Bug Description
With many ha routers, I restart the l3-agent. And find error in the log:
2015-10-14 22:24:19.640 31246 INFO eventlet.
File "/usr/lib/
result = self.applicatio
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
ri = self.router_
KeyError: 'aec00e20-
Checking code, and find that
def enqueue_
try:
ri = self.router_
except AttributeError:
return
KeyError should be expected here according to the context.
Changed in neutron: | |
assignee: | nobody → Hong Hui Xiao (xiaohhui) |
Changed in neutron: | |
importance: | Undecided → Medium |
tags: | added: l3-ha |
tags: | added: kilo-backport-potential |
tags: | added: liberty-backport-potential |
Changed in neutron: | |
assignee: | Hong Hui Xiao (xiaohhui) → Assaf Muller (amuller) |
Changed in neutron: | |
assignee: | Assaf Muller (amuller) → Hong Hui Xiao (xiaohhui) |
tags: | removed: kilo-backport-potential |
tags: | removed: liberty-backport-potential |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/236008
Review: https:/