CLI doesn't provide possibility to point query string v3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Low
|
Unassigned |
Bug Description
I tried to run few commands with the keystone setup for V3 API.
Setup description:
0. Havana release.
1. http://
2. https:/
3. Created domain 'example'
4. Created project 'example_project' in 'example' domain
4. Added user 'example_admin' and assigned him with an admin for 'example' domain
Using recent fix for https:/
The reason is that the only way to run those commands is to put '?domain_
Could we add parameter to specify query string to be used for final CURL?
Also this can be more general issue considering the search mechanism used when you pass project/user names instead uuids.
Steps:
CLI commands that was run in order to prepare an environmen:
#create domain
openstack --os-identity-
#here I create user in a default domain. Because an LDAP is using as a source for auth
openstack --os-identity-
openstack --os-identity-
And finally try to get project list
openstack -vvv --debug --os-identity-
>>Forbidden: You are not authorized to perform the requested action, identity:
#and finally the curl to get it using the token from the previous output
curl -s -H "X-Auth-Token: 0a60cdb2110f462
description: | updated |
description: | updated |
Changed in python-openstackclient: | |
status: | New → Triaged |
importance: | Undecided → Medium |
summary: |
- CLI doesn't provide possibility to point query string + CLI doesn't provide possibility to point query string v3 |
Isn't this caused by the admin_example not having a role on admin_project? More specifically, an admin role on the project?
keystoneclient should handle the url formation / query adding.