Add OS_REGION_NAME to clouds.yaml

RegionOne is not always true for OS_REGION_NAME.

Change-Id: I22c66065570f83cd3b610210fc83c2cd6dcc5ac6
This commit is contained in:
Matthias Runge 2017-08-21 09:31:10 +02:00
parent 3b89cd0b3c
commit 906d4970a7
5 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,7 @@ os_username: "{{ lookup('env','OS_USERNAME') }}"
os_password: "{{ lookup('env','OS_PASSWORD') }}"
os_tenant_name: "{{ lookup('env','OS_TENANT_NAME') }}"
os_auth_url: "{{ lookup('env','OS_AUTH_URL') }}"
os_region_name: "{{ lookup('env','OS_REGION_NAME') }}"
cloud_name: rdocloud
latest_guest_image:

View File

@ -2,6 +2,7 @@ os_username: "{{ lookup('env','OS_USERNAME') }}"
os_password: "{{ lookup('env','OS_PASSWORD') }}"
os_tenant_name: "{{ lookup('env','OS_TENANT_NAME') }}"
os_auth_url: "{{ lookup('env','OS_AUTH_URL') }}"
os_region_name: "{{ lookup('env', 'OS_REGION_NAME') }}"
cloud_name: rdocloud
latest_guest_image:

View File

@ -19,6 +19,7 @@ To interact with the Openstack Virtual Baremetal host cloud, credentials are nee
- os_password: <user_password>
- os_tenant_name: <tenant_name>
- os_auth_url: <cloud_auth_url> # For example http://190.1.1.5:5000/v2.0
- os_region_name: <os_region_name> # Most probably RegionOne
Parameters required to access the stack:
- prefix --used as in id for the image and the stack parameters

View File

@ -14,6 +14,7 @@ os_username: admin
os_password: password
os_tenant_name: admin
os_auth_url: 'http://10.0.1.10:5000/v2.0'
os_region_name: 'regionOne'
cloud_name: qeos7
stack_name: 'oooq-{{ prefix }}stack'

View File

@ -5,5 +5,5 @@ clouds:
password: {{ os_password }}
project_name: {{ os_tenant_name }}
auth_url: {{ os_auth_url }}
region_name: regionOne
region_name: {{ os_region_name }}