Creds files in accr directory return Identity API errors
Bug #1780587 reported by
Amy Marrich
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Won't Fix
|
Medium
|
Dr. Jens Harbott |
Bug Description
On a Master build of devstack attempted to use the admin file from acccr/admin to access OpenStack and received errors in regards to the Identity API version being version 2. The openrc v3 file downloaded from the dashboard worked fine for accessing the CLI. No longer have the devstack instance to pull the exact error. Frickler confirmed in IRC that the accrc files were broken.
Changed in devstack: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in devstack: | |
assignee: | nobody → Dr. Jens Harbott (j-harbott) |
To post a comment you must log in.
O.k., I can reproduce this, but I fail to see why this could have been broken only recently, seems to me the accrc files have been untouched for years. The error looks like:
ubuntu@ jh-devstack- 01:~/devstack$ . accrc/demo/demo jh-devstack- 01:~/devstack$ openstack token issue 7024-4834- 968d-3756d4831e 4f)
ubuntu@
Ignoring domain related config project_domain_id because identity API version is 2.0
Ignoring domain related config user_domain_id because identity API version is 2.0
Ignoring domain related config project_domain_id because identity API version is 2.0
Ignoring domain related config user_domain_id because identity API version is 2.0
Ignoring domain related config project_domain_id because identity API version is 2.0
Ignoring domain related config user_domain_id because identity API version is 2.0
Ignoring domain related config project_domain_id because identity API version is 2.0
Ignoring domain related config user_domain_id because identity API version is 2.0
Expecting to find domain in project. 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-10c54aa9-
Interestingly using python clients like nova or neutron does not trigger the issue. The difference between accrc and the environment generated by ". openrc" looks like this:
ubuntu@ jh-devstack- 01:~/devstack$ diff bad good TYPE=password API_VERSION= 3 NAME=RegionOne API_VERSION= 2
0a1
> OS_AUTH_
2a4
> OS_IDENTITY_
5a8,9
> OS_REGION_
> OS_TENANT_NAME=demo
7a12
> OS_VOLUME_
where the main issue seems to be setting OS_IDENTITY_ API_VERSION. If I add that manually, everything seems to be happy.
We can fix this in devstack, but I'd like to know why/whether this is really necessary, or whether this is a regression in OSC that should be fixed there instead.