Switch rackspace clouds to api key auth

After this merges, the temporary credential set opendevci_rax_*
and opendevzuul_rax_* can be removed from hostvars.

Depends-On: https://review.opendev.org/911163
Change-Id: I2e9067aa2f11100d311c86beb4df5bf15c72db69
This commit is contained in:
James E. Blair 2024-03-07 09:05:12 -08:00
parent 601e4a4a55
commit cf73eda44f
3 changed files with 8 additions and 74 deletions

View File

@ -34,42 +34,6 @@ clouds:
username: '{{ clouds.openstackci_ovh_username }}'
password: '{{ clouds.openstackci_ovh_password }}'
project_name: '{{ clouds.openstackci_ovh_project_name }}'
opendevci-rax:
regions:
- name: DFW
values:
block_storage_endpoint_override: 'https://dfw.blockstorage.api.rackspacecloud.com/v2/'
- name: ORD
values:
block_storage_endpoint_override: 'https://ord.blockstorage.api.rackspacecloud.com/v2/'
- name: IAD
values:
block_storage_endpoint_override: 'https://iad.blockstorage.api.rackspacecloud.com/v2/'
profile: rackspace
auth:
username: '{{ clouds.opendevci_rax_username }}'
api_key: '{{ clouds.opendevci_rax_key }}'
project_id: '{{ clouds.opendevci_rax_project_id }}'
auth_type: 'rackspace_apikey'
volume_api_version: 2
opendevzuul-rax:
regions:
- name: DFW
values:
block_storage_endpoint_override: 'https://dfw.blockstorage.api.rackspacecloud.com/v2/'
- name: ORD
values:
block_storage_endpoint_override: 'https://ord.blockstorage.api.rackspacecloud.com/v2/'
- name: IAD
values:
block_storage_endpoint_override: 'https://iad.blockstorage.api.rackspacecloud.com/v2/'
profile: rackspace
auth:
username: '{{ clouds.opendevzuul_rax_username }}'
api_key: '{{ clouds.opendevzuul_rax_key }}'
project_id: '{{ clouds.opendevzuul_rax_project_id }}'
auth_type: 'rackspace_apikey'
volume_api_version: 2
openstackci-rax:
regions:
- name: DFW
@ -84,8 +48,9 @@ clouds:
profile: rackspace
auth:
username: '{{ clouds.openstackci_rax_username }}'
password: '{{ clouds.openstackci_rax_password }}'
api_key: '{{ clouds.openstackci_rax_key }}'
project_id: '{{ clouds.openstackci_rax_project_id }}'
auth_type: 'rackspace_apikey'
volume_api_version: 2
openstackjenkins-rax:
regions:
@ -101,8 +66,9 @@ clouds:
profile: rackspace
auth:
username: '{{ clouds.openstackjenkins_rax_username }}'
password: '{{ clouds.openstackjenkins_rax_password }}'
api_key: '{{ clouds.openstackjenkins_rax_key }}'
project_id: '{{ clouds.openstackjenkins_rax_project_id }}'
auth_type: 'rackspace_apikey'
volume_api_version: 2
openstackjenkins-ovh:
regions:

View File

@ -17,35 +17,6 @@ cache:
port: 5
floating-ip: 5
clouds:
rackspace:
profile: rackspace
regions:
- name: DFW
values:
block_storage_endpoint_override: 'https://dfw.blockstorage.api.rackspacecloud.com/v2/'
metrics:
statsd:
prefix: 'nodepool.task.rackspace-dfw'
- name: ORD
values:
block_storage_endpoint_override: 'https://ord.blockstorage.api.rackspacecloud.com/v2/'
metrics:
statsd:
prefix: 'nodepool.task.rackspace-ord'
- name: IAD
values:
block_storage_endpoint_override: 'https://iad.blockstorage.api.rackspacecloud.com/v2/'
metrics:
statsd:
prefix: 'nodepool.task.rackspace-iad'
api_timeout: 60
auth:
username: '{{ nodepool_rackspace_username }}'
api_key: '{{ nodepool_rackspace_key }}'
project_id: '{{ nodepool_rackspace_project }}'
auth_type: 'rackspace_apikey'
force_ipv4: true
volume_api_version: 2
rax:
profile: rackspace
regions:
@ -70,8 +41,9 @@ clouds:
api_timeout: 60
auth:
username: '{{ nodepool_rackspace_username }}'
password: '{{ nodepool_rackspace_password }}'
api_key: '{{ nodepool_rackspace_key }}'
project_id: '{{ nodepool_rackspace_project }}'
auth_type: 'rackspace_apikey'
force_ipv4: true
volume_api_version: 2
ovh:

View File

@ -3,17 +3,13 @@ clouds:
openstackci_ovh_username: user
openstackci_ovh_password: password
openstackci_ovh_project_name: project
opendevci_rax_username: user
opendevci_rax_key: apikey
opendevci_rax_project_id: project
opendevzuul_rax_username: user
opendevzuul_rax_key: apikey
opendevzuul_rax_project_id: project
openstackci_rax_username: user
openstackci_rax_password: password
openstackci_rax_key: apikey
openstackci_rax_project_id: project
openstackjenkins_rax_username: user
openstackjenkins_rax_password: password
openstackjenkins_rax_key: apikey
openstackjenkins_rax_project_id: project
openstackjenkins_ovh_username: user
openstackjenkins_ovh_password: password