Not Authorized response from neutron causes nova to traceback with AttributeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned | ||
Icehouse |
Fix Released
|
Medium
|
Eoghan Glynn |
Bug Description
version: stable/icehouse from 2014.2.2 onwards (does not impact stable/{juno|kilo})
nova-api fails to handle Not Authorized from neutron:
2015-04-20 00:49:29.399 22741 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2015-04-20 00:49:29.399 22741 TRACE nova.api.openstack File "/usr/lib/
2015-04-20 00:49:29.399 22741 TRACE nova.api.openstack return method(req=request, **action_args)
2015-04-20 00:49:29.399 22741 TRACE nova.api.openstack File "/usr/lib/
2015-04-20 00:49:29.399 22741 TRACE nova.api.openstack except exception.
2015-04-20 00:49:29.399 22741 TRACE nova.api.openstack AttributeError: 'module' object has no attribute 'Forbidden'
due to a bad backport landed in upstream stable/icehouse:
https:/
which uses a juno-era exception class.
Turns out this broken patch has been in the last two upstream stable/icehouse releases (2014.2.3, 2104.2.4).
Changed in nova: | |
status: | New → Invalid |
tags: | removed: in-stable-icehouse |
Fix proposed to branch: stable/icehouse /review. openstack. org/175566
Review: https:/