os-collect-config can't get correct keystone v3 auth_url using keystoneclient discover
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-collect-config |
Fix Released
|
High
|
Yanyan Hu |
Bug Description
Similar bug was reported and fixed here:
https:/
Current fix expected the keystone v3 auth_url will be available soon. However so far we still can't get correct v3 auth_url using keystoneclient discover(value 'None' will be returned).
(os_collect_
58 try:
59 discover = ks_discover.
60 v3_auth_url = discover.
61 if v3_auth_url:
62 self.auth_url = v3_auth_url
63 else:
64 self.auth_url = auth_url
65 except ks_exc.
66 self.auth_url = auth_url.
In this case, v2 auth_url will be directly used as v3 auth_url as shown above, and os-collect-config will always complain that it can't get authorization from keystone because of the following error:
# WARNING os_collect_
So we may want to construct the correct v3 auth_url by replacing the incorrect version number rather than directly copying the v2 auth_url value when value 'None' is returned by keystoneclient discover.
description: | updated |
Changed in os-collect-config: | |
assignee: | nobody → Yanyan Hu (yanyanhu) |
description: | updated |
Changed in os-collect-config: | |
importance: | Undecided → High |
Changed in os-collect-config: | |
assignee: | Yanyan Hu (yanyanhu) → Thomas Herve (therve) |
Changed in os-collect-config: | |
assignee: | Thomas Herve (therve) → Yanyan Hu (yanyanhu) |
Changed in os-collect-config: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/138246
Review: https:/