system-config/playbooks/templates/clouds/bridge_clouds.yaml.j2
Clark Boylan 36ca17c37b Force identity api version 3 against linaro london
Keystone auth and openstacksdk/openstackclient do not do the correct
thing without this setting set. They try v2 even though the discovery
doc at the root url does not list that version as valid. Force version 3
so that things will work again.

Change-Id: I7e1b0189c842bbf9640e2cd50873c9f7992dc8d3
2018-09-12 12:52:19 -07:00

144 lines
4.5 KiB
Django/Jinja

#
# Bridge clouds
#
# This file is deployed to /etc/openstack/clouds.yaml on the bastion
# host and is thus the default configuration file for openstacksdk
# operations.
#
# It is a strict subset of all-clouds.yaml but contains only the CI
# (control-plane) projects for each provider. This is useful because
# the test-node tenants have hundreds of ephemeral nodes, whose
# cache-evading behaviour would make enumerating their projects
# unnecessarily slow when building an inventory for our default
# control-plane cron runs (run_all.sh).
#
ansible:
fail_on_errors: False
expand_hostvars: False
use_hostnames: True
cache:
expiration_time: 86400
path: /var/cache/ansible-inventory
expiration:
server: 5
port: 5
floating-ip: 5
clouds:
openstackci-inap:
profile: internap
auth:
username: '{{ clouds.openstackci_internap_username }}'
password: '{{ clouds.openstackci_internap_password }}'
project_name: '{{ clouds.openstackci_internap_project_name }}'
regions:
- name: mtl01
values:
networks:
- name: inap-17301-WAN1102
routes_externally: True
openstackci-ovh:
regions:
- GRA1
- SBG1
- BHS1
profile: ovh
# OVH has a weird new ipv6 setup that we can't handle properly
# for now ignore ipv6
force_ipv4: true
auth:
username: '{{ clouds.openstackci_ovh_username }}'
password: '{{ clouds.openstackci_ovh_password }}'
project_name: '{{ clouds.openstackci_ovh_project_name }}'
openstackci-rax:
regions:
- DFW
- ORD
- IAD
profile: rackspace
auth:
username: '{{ clouds.openstackci_rax_username }}'
password: '{{ clouds.openstackci_rax_password }}'
project_id: '{{ clouds.openstackci_rax_project_id }}'
openstackci-vexxhost:
regions:
- ca-ymq-1
- sjc1
profile: vexxhost
auth:
username: '{{ clouds.openstackci_vexxhost_username }}'
password: '{{ clouds.openstackci_vexxhost_password }}'
project_name: '{{ clouds.openstackci_vexxhost_project_name }}'
project_domain_name: default
user_domain_name: default
openstackci-citycloud:
regions:
- Lon1
- Kna1
- La1
- Sto2
profile: citycloud
auth:
username: '{{ clouds.openstackci_citycloud_username }}'
password: '{{ clouds.openstackci_citycloud_password }}'
project_id: 656841f5d46e4b0889129d1fc20bd0b8
project_domain_id: a5e7d1a8f25b42b081cf89d1130638da
user_domain_id: a5e7d1a8f25b42b081cf89d1130638da
openstackci-linaro:
regions:
- RegionOne
auth:
auth_url: https://cn1.linaro.cloud:35357
username: '{{ clouds.openstackci_linaro_username }}'
password: '{{ clouds.openstackci_linaro_password }}'
project_name: '{{ clouds.openstackci_linaro_project_name }}'
project_domain_name: default
user_domain_name: default
openstackci-linaro-london:
regions:
- London
auth:
auth_url: https://uk.linaro.cloud:5000
username: '{{ clouds.openstackci_linaro_london_username }}'
password: '{{ clouds.openstackci_linaro_london_password }}'
project_name: '{{ clouds.openstackci_linaro_london_project_name }}'
project_domain_name: default
user_domain_name: default
identity_api_version: 3
openstackci-limestone:
regions:
- name: RegionOne
values:
networks:
- name: "Gateway Network"
routes_externally: false
routes_ipv6_externally: true
nat_destination: true
- name: "Flat External"
routes_externally: true
nat_source: true
auth:
auth_url: https://osa.continuous.pw:5000
username: '{{ clouds.openstackci_limestone_username }}'
password: '{{ clouds.openstackci_limestone_password }}'
project_name: '{{ clouds.openstackci_limestone_project_name }}'
user_domain_name: default
project_domain_name: default
identity_api_version: 3
cacert: /etc/openstack/limestone_cacert.pem
openstackci-packethost:
regions:
- name: us-west-1
values:
networks:
- name: openstackci-net
default_interface: True
auth:
auth_url: https://packet.platform9.net/keystone
username: '{{ clouds.openstackci_packethost_username }}'
password: '{{ clouds.openstackci_packethost_password }}'
project_name: '{{ clouds.openstackci_packethost_project_name }}'
user_domain_name: default
project_domain_name: default
identity_api_version: '3'