os_identity_api_version is defaulted to 2.0 instead of 3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Medium
|
Unassigned |
Bug Description
os_identity_
--os-identity-
However, running openstack CLI without explicitly specify --os-identity-
openstack --os-username admin --os-password secrete --os-user-
Ignoring domain related config user_domain_name because identity API version is 2.0
Ignoring domain related config user_domain_name because identity API version is 2.0
Ignoring domain related config user_domain_name because identity API version is 2.0
Ignoring domain related config user_domain_name because identity API version is 2.0
Expecting to find domain in user. The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-5fed4b43-
This problem seem to be introduced by os-client-config. See
https:/
We can either bump the default in os-client-config or find a way to "discovery" the default version the same way keystoneauth1 does, which is based on input.
Changed in python-openstackclient: | |
status: | Confirmed → Fix Released |
os-client-config has its own mind sometimes. The reason discovery is not performed is because OSC thinks the version was supplied by the user and honors that selection over doing discovery. We need to get os-client-config to not do it that way...