Improve error message when there's a bad user / password somewhere
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Dolph Mathews |
Bug Description
[root@os-svc02 images]# glance --os_username=admin --os_password=
Uploading image 'tty-linux-kernel'
Failed to add image. Got error:
The request returned 503 Service Unavilable. This generally occurs on service overload or other transient outage.
# In api logs:
2012-04-14 16:55:46 9531 DEBUG [keystone.
2012-04-14 16:55:46 9531 DEBUG [keystone.
2012-04-14 16:55:46 9531 WARNING [keystone.
2012-04-14 16:55:46 9531 CRITICAL [keystone.
2012-04-14 16:55:46 9531 DEBUG [eventlet.
# keystone.log
2012-04-14 23:18:41 DEBUG [keystone.
2012-04-14 23:18:41 DEBUG [keystone.
2012-04-14 23:18:41 DEBUG [eventlet.
Changed in glance: | |
status: | New → Confirmed |
assignee: | nobody → Sina Web Service (sws) |
assignee: | Sina Web Service (sws) → Yaguang Tang (heut2008) |
Changed in keystone: | |
importance: | Undecided → Medium |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | grizzly-3 → 2013.1 |
At first glance, this looks like a bug in the keystone auth middleware. We shouldn't translate a 401 from the keystone service to a 503.