Ironicclient throws 'AttributeError' instead of 'Unauthorized' exception when encountering 401 from Keystone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo-incubator |
Fix Released
|
Medium
|
Davanum Srinivas (DIMS) | ||
python-ironicclient |
Fix Released
|
Medium
|
Ruby Loo |
Bug Description
Ironic client is throwing a low-level AttributeError when encountering a 401 unauthorized instead of throwing an 'Unauthorized' exception.
See the following log for specifics:
014-12-12 23:23:10.528 DEBUG nova.openstack.
2014-12-12 23:23:15.528 DEBUG nova.openstack.
2014-12-12 23:23:15.529 DEBUG ironicclient.
2014-12-12 23:23:15.532 DEBUG ironicclient.
HTTP/1.0 401 Unauthorized
date: Fri, 12 Dec 2014 23:23:15 GMT
content-length: 23
content-type: text/plain
www-authenticate: Keystone uri='http://
server: WSGIServer/0.1 Python/2.7.6
Authentication required
from (pid=13816) log_http_response /usr/local/
2014-12-12 23:23:15.532 WARNING ironicclient.
2014-12-12 23:23:15.532 ERROR nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
2014-12-12 23:23:15.532 TRACE nova.openstack.
Changed in python-ironicclient: | |
assignee: | nobody → Clif Houck (f-te-u) |
Changed in oslo-incubator: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Davanum Srinivas (DIMS) (dims-v) |
Changed in python-ironicclient: | |
importance: | Undecided → Medium |
Changed in oslo-incubator: | |
milestone: | none → kilo-3 |
Changed in oslo-incubator: | |
milestone: | kilo-3 → 2015.1.0 |
Changed in python-ironicclient: | |
milestone: | none → 0.7.0 |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/142204
Review: https:/