keystone client reports 500 error if database service is not running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
When running keystone command to authenticate from cinderclient, keystone reports 500 internal server error.
> /usr/local/
-> return self.session.
(Pdb)
InternalServerE
> /usr/local/
-> return self.session.
(Pdb) locals()
{'self': <cinderclient.
It should report 400 error with proper details..
Steps to reproduce:
1. stop mysql.
2. run cinder list or any command.(It internally call keystone client to authenticate the request)
3. check output..
Changed in keystone: | |
assignee: | nobody → Mark (rocky-asdf) |
Changed in keystone: | |
assignee: | Mark (rocky-asdf) → nobody |
InternalServerError is exactly what's happening when database is not available. Keystone is not expected to run without database. This should be closed as wontfix.