commit e924839f67282ef303750ad7241bde781283e59c
Author: Alex Schultz <email address hidden>
Date: Sat Oct 14 16:37:50 2017 -0600
Fix clouds.yaml generation
Previously the os_tenant_name was being used to generate the
project_name in clouds.yaml. But if your credentials environment did not
include an OS_TENANT_NAME declaration but did include an OS_PROJECT_NAME,
this could result in a bad clouds.yaml and auth failures. This change
adds the tenant_name in the clouds.yaml as well as setting project_name
to use os_project_name while still falling back to the previous
os_tenant_name. Additionally since this is a v2.0/v3 issue, let's
support properly defining the identity api version if defined.
Reviewed: https:/ /review. openstack. org/512055 /git.openstack. org/cgit/ openstack/ tripleo- quickstart/ commit/ ?id=e924839f672 82ef303750ad724 1bde781283e59c
Committed: https:/
Submitter: Zuul
Branch: master
commit e924839f67282ef 303750ad7241bde 781283e59c
Author: Alex Schultz <email address hidden>
Date: Sat Oct 14 16:37:50 2017 -0600
Fix clouds.yaml generation
Previously the os_tenant_name was being used to generate the
project_name in clouds.yaml. But if your credentials environment did not
include an OS_TENANT_NAME declaration but did include an OS_PROJECT_NAME,
this could result in a bad clouds.yaml and auth failures. This change
adds the tenant_name in the clouds.yaml as well as setting project_name
to use os_project_name while still falling back to the previous
os_tenant_name. Additionally since this is a v2.0/v3 issue, let's
support properly defining the identity api version if defined.
Change-Id: Iea728eabc1bc00 facb3f208a69dba faa630912b2
Closes-Bug: #1723669