'NoneType' object has no attribute 'has_service_catalog'

Asked by Smith rbowen

stack@ubuntu:/usr/sbin$ keystone catalog WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 'NoneType' object has no attribute 'has_service_catalog'

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Identity (keystone) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
chenying (ying-chen) said :
#1

you can see this link:https://bugs.launchpad.net/python-keystoneclient/+bug/1264314

warning: bypassing authentication using a token & endpoint(authentication credentials are being ignored)

The warning line is just that - a warning. You must have a token and endpoint in your environment (there are deprecated environment variables names that are still supported that could be in use). However, in the case of token-get, using a token & endpoint is actually the cause of "'NoneType' object has no attribute 'has_service_catalog'" (without authenticating, you don't have a catalog, and therefore can't get a token, as expected).

The last error message here ('NoneType' object has no attribute 'has_service_catalog') could definitely be improved, but this sounds like expected behavior. The client could also attempt to actually exchange a token for another with token-get against the specified endpoint, but I'm not sure there's a valid use case for that behavior.

Changed in python-keystoneclient:
status: Fix Released → Triaged

Can you help with this problem?

Provide an answer of your own, or ask Smith rbowen for more information if necessary.

To post a message you must log in.