The database being offline is both unexpected and totally an "ISE" (internal server error). This would in fact be what I'd expect from a web service.
I'm marking this as "wont fix" ** Changed in: keystone Status: New => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Identity (keystone). https://bugs.launchpad.net/bugs/1566188 Title: keystone client reports 500 error if database service is not running Status in OpenStack Identity (keystone): Won't Fix Bug description: When running keystone command to authenticate from cinderclient, keystone reports 500 internal server error. > /usr/local/lib/python2.7/dist-packages/keystoneclient/adapter.py(116)get_token() -> return self.session.get_token(auth or self.auth) (Pdb) InternalServerError: Internal...24d54)',) > /usr/local/lib/python2.7/dist-packages/keystoneclient/adapter.py(116)get_token() -> return self.session.get_token(auth or self.auth) (Pdb) locals() {'self': <cinderclient.client.SessionClient object at 0x7fa4e5f9d5d0>, '__exception__': (<class 'keystoneauth1.exceptions.http.InternalServerError'>, InternalServerError(u'An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-e4fbb478-79f4-4529-b061-512b29324d54)',)), 'auth': None} 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.. To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/1566188/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp