no keystone endpoint gives bad error message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-keystoneclient |
Fix Released
|
Medium
|
Steve Martinelli |
Bug Description
If you try to list endpoints when there is no keystone
$ keystone endpoint-list
OS Password:
+--
| id | region | publicurl | internalurl | adminurl | service_id |
+--
| 2782708b08ac4cb
| 2f7ddb958ce7483
| 4adad8a5ff9c47f
| ad6cf1833b304c2
+--
$ keystone endpoint-delete 4adad8a5ff9c47f
OS Password:
Endpoint has been deleted.
$ keystone endpoint-list
OS Password:
Unable to authorize user
A better error message would be "No keystone endpoint defined"
Changed in python-keystoneclient: | |
assignee: | nobody → Jorge Edgar Valderrama Romero (jorge-valderrama) |
Changed in python-keystoneclient: | |
status: | Triaged → In Progress |
Changed in python-keystoneclient: | |
assignee: | Jorge Edgar Valderrama Romero (jorge-valderrama) → rajiv (rajiv-kumar) |
Changed in python-keystoneclient: | |
assignee: | rajiv (rajiv-kumar) → David Stanek (dstanek) |
Changed in python-keystoneclient: | |
assignee: | David Stanek (dstanek) → Steve Martinelli (stevemar) |
Changed in python-keystoneclient: | |
status: | Fix Committed → Fix Released |
That is *really* bad feedback. It should either specify that "no admin identity endpoint could be found in the returned service catalog", or (possibly) attempt to use the auth_url as a management_url.
Can you reproduce with --debug in that last command, e.g. `keystone --debug endpoint-list`, and post the output here? I just want to ensure that it wasn't actually a 401 (in which case, this would be expected feedback).