system-config/playbooks/templates/clouds/nodepool_clouds.yaml.j2
Clark Boylan 06c808e70d Update iweb clouds.yaml for old and new openstacksdk
Due to changes in the internap cloud being renamed to iweb and back
again the history of the internap clouds.yaml profile is one of change.
Unfortunately, we need to talk to iweb specifically but the internap
profile in new openstack sdk talks to internap and things break.

Fix this by removing the use of the profile and setting the values
explicitly in our clouds.yaml files.

While this cloud is going away in about a month making this change is
still worthwile as it will allow us to use new openstacksdk on bridge
and nodepool to talk to iweb in the meantime.

Change-Id: I9f6c414115190ec5d25e0654b4da9cd9b9cbb957
2022-11-30 13:37:13 -08:00

229 lines
6.7 KiB
Django/Jinja

#
# Nodepool openstacksdk configuration
#
# This file is deployed to nodepool launcher and builder hosts as
#
# {{ openstacksdk_config_dir}}/clouds.yaml
#
# and is used there to authenticate nodepool operations to clouds.
# This file only contains projects we are launching test nodes in, and
# the naming should correspond that used in nodepool configuration
# files.
#
cache:
expiration:
server: 5
port: 5
floating-ip: 5
clouds:
rax:
profile: rackspace
regions:
- name: DFW
values:
block_storage_endpoint_override: 'https://dfw.blockstorage.api.rackspacecloud.com/v2/'
metrics:
statsd:
prefix: 'nodepool.task.rax-dfw'
- name: ORD
values:
block_storage_endpoint_override: 'https://ord.blockstorage.api.rackspacecloud.com/v2/'
metrics:
statsd:
prefix: 'nodepool.task.rax-ord'
- name: IAD
values:
block_storage_endpoint_override: 'https://iad.blockstorage.api.rackspacecloud.com/v2/'
metrics:
statsd:
prefix: 'nodepool.task.rax-iad'
api_timeout: 60
auth:
username: '{{ nodepool_rackspace_username }}'
password: '{{ nodepool_rackspace_password }}'
project_id: '{{ nodepool_rackspace_project }}'
force_ipv4: true
volume_api_version: 2
ovh:
profile: ovh
# OVH has a weird new ipv6 setup that we can't handle properly
# for now ignore ipv6
force_ipv4: true
regions:
- name: BHS1
values:
metrics:
statsd:
prefix: 'nodepool.task.ovh-bhs1'
- name: GRA1
values:
metrics:
statsd:
prefix: 'nodepool.task.ovh-gra1'
api_timeout: 60
auth:
username: '{{ nodepool_ovh_username }}'
password: '{{ nodepool_ovh_password }}'
project_name: '{{ nodepool_ovh_project }}'
inap:
profile: internap
api_timeout: 60
auth:
username: '{{ nodepool_internap_username }}'
password: '{{ nodepool_internap_password }}'
project_name: '{{ nodepool_internap_project }}'
regions:
- name: mtl01
values:
networks:
- name: inap-17304-WAN1101
routes_externally: True
metrics:
statsd:
prefix: 'nodepool.task.inap-mtl01'
iweb:
api_timeout: 60
auth:
auth_url: https://identity.api.cloud.iweb.com
username: '{{ nodepool_internap_username }}'
password: '{{ nodepool_internap_password }}'
project_name: '{{ nodepool_internap_project }}'
regions:
- name: mtl01
values:
networks:
- name: inap-17304-WAN1101
routes_externally: True
metrics:
statsd:
prefix: 'nodepool.task.inap-mtl01'
floating_ip_source: None
vexxhost:
profile: vexxhost
regions:
- name: ca-ymq-1
values:
metrics:
statsd:
prefix: 'nodepool.task.vexxhost-ca-ymq-1'
- name: sjc1
values:
metrics:
statsd:
prefix: 'nodepool.task.vexxhost-sjc1'
api_timeout: 60
auth_type: password
auth:
username: '{{ nodepool_vexxhost_username }}'
password: '{{ nodepool_vexxhost_password }}'
project_name: '{{ nodepool_vexxhost_project }}'
project_domain_name: default
user_domain_name: default
image_format: 'raw'
force_ipv4: true
linaro-us:
regions:
- name: RegionOne
values:
networks:
- name: "os-jobs-network"
routes_externally: false
routes_ipv6_externally: true
nat_destination: true
metrics:
statsd:
prefix: 'nodepool.task.linaro-us-regionone'
identity_api_version: '3'
auth:
auth_url: https://us.linaro.cloud:5000
username: '{{ nodepool_linaro_us_username }}'
password: '{{ nodepool_linaro_us_password }}'
project_name: '{{ nodepool_linaro_us_project }}'
project_domain_name: default
user_domain_name: default
floating_ip_source: None
limestone:
regions:
- name: RegionOne
values:
networks:
- name: "Gateway Network"
routes_externally: false
routes_ipv6_externally: true
nat_destination: true
metrics:
statsd:
prefix: 'nodepool.task.limestone-regionone'
auth:
auth_url: https://osa.continuous.pw:5000
username: '{{ nodepool_limestone_username }}'
password: '{{ nodepool_limestone_password }}'
project_name: '{{ nodepool_limestone_project }}'
user_domain_name: default
project_domain_name: default
api_timeout: 60
identity_api_version: 3
floating_ip_source: None
cacert: {{ openstacksdk_config_dir }}/limestone_cacert.pem
packethost:
regions:
- name: us-west-1
values:
networks:
- name: openstackzuul-net
default_interface: True
metrics:
statsd:
prefix: 'nodepool.task.packethost-us-west-1'
auth:
auth_url: https://packet.platform9.net/keystone
username: '{{ nodepool_packethost_username }}'
password: '{{ nodepool_packethost_password }}'
project_name: '{{ nodepool_packethost_project }}'
user_domain_name: default
project_domain_name: default
identity_api_version: '3'
image_format: 'raw'
osuosl:
regions:
- name: RegionOne
values:
networks:
- name: public5
default_interface: True
metrics:
statsd:
prefix: 'nodepool.task.osuosl-regionone'
auth:
auth_url: https://arm-openstack.osuosl.org:5000/v3
username: '{{ nodepool_osuosl_username }}'
password: '{{ nodepool_osuosl_password }}'
project_name: 'opendevzuul'
project_id: '{{ nodepool_osuosl_project_id }}'
user_domain_name: "Default"
floating_ip_source: None
identity_api_version: 3
image_format: 'raw'
inmotion:
regions:
- name: iad3
values:
networks:
- name: External
routes_externally: true
default_interface: true
metrics:
statsd:
prefix: 'nodepool.task.inmotion-iad3'
auth:
auth_url: 'https://173.231.255.228:5000'
username: '{{ nodepool_inmotion_username }}'
password: '{{ nodepool_inmotion_password }}'
project_name: 'opendevzuul'
project_id: '{{ nodepool_inmotion_project_id }}'
user_domain_name: "Default"
identity_api_version: 3
image_format: 'raw'
cacert: {{ openstacksdk_config_dir }}/inmotion_cacert.pem