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