Bug 1101320
| Summary: | `keystone token-get` produces 'NoneType' object has no attribute 'has_service_catalog' | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Jan Hutař <jhutar> |
| Component: | python-keystoneclient | Assignee: | Jamie Lennox <jlennox> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Udi Kalifon <ukalifon> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.0 (RHEL 7) | CC: | aberezin, ayoung, dhill, jruzicka, lobo, nkinder, rharwood, scohen, yeylon |
| Target Milestone: | z5 | Keywords: | ZStream |
| Target Release: | 5.0 (RHEL 7) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-04-13 01:30:15 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jan Hutař
2014-05-26 21:28:40 UTC
The problem is that the keystone token-get command is using the wrong credentials. It is using the ADMIN_TOKEN, not the token as the end user. The keystone client will use the SERVICE_TOKEN value over the user specific values of OS_USERNAME etc. Run the following commands unset OS_SERVICE_ENDPOINT unset OS_ENDPOINT unset OS_SERVICE_TOKEN unset SERVICE_TOKEN (this is a little redundant, but unsets both the old and new versions of the environment variables.) These values can be added to the keystonerc_user file in the documentation. Well, we have an issue here as : [root@stv-lab-ctrl02 ~]# keystone token-get Expecting a token provided via either --os-token or env[OS_SERVICE_TOKEN] I have this issue where with 2014.1.2 , keystone v3 api doesn't seem to provide the catalog for some reasons. This was fixed (as linked by the gerrit review and upstream bug) and released in the python-keystoneclient 1.0 release on 2014-12-19. This should be included in the kilo release. Marking closed, next release but i'm not sure where to set the milestone. |