Juju and autoload-credentials should be able to use OS_PROJECT_ID for OpenStack provider
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Eric Claude Jones |
Bug Description
OpenStack Horizon generates openrc.sh with Keystone v3 credentials using the following template:
https:/
It basically exports 9 variables below:
OS_PROJECT_ID
OS_REGION_NAME
OS_USER_DOMAIN_NAME
OS_PROJECT_NAME
OS_IDENTITY_
OS_PASSWORD
OS_AUTH_URL
OS_USERNAME
OS_INTERFACE
With using those environment variables, `juju autoload-
credentials:
openstack-test:
default-region: my_region
my_username:
auth-type: userpass
domain-name: ""
password: my_password
project-
tenant-name: 'my_project'
user-
username: my_username
If the openrc.sh contains OS_PROJECT_
Changed in juju: | |
milestone: | none → 2.3.0 |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: papercut usability |
Changed in juju: | |
assignee: | nobody → Eric Claude Jones (ecjones) |
Changed in juju: | |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
milestone: | 2.3.0 → 2.3-beta3 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
A workaround is to specify the same domain with user-domain-name to project-domain-name by hand.