From 7cd0c0425e873ea9a4d78d7b139a8433e965274a Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 18 Aug 2025 14:20:37 -0700 Subject: [PATCH] Add rax flex iad3 to clouds.yaml and cloud management This adds the new rax flex iad3 region to our clouds.yaml files and configures the cloud with ssh keys, networks, and security groups. This is the first step in getting this cloud enrolled with zuul. Once this is done we can boot a new mirror, then add the cloud to our resource list in zuul-providers. Change-Id: I23a43f9ef0718449129a89c910c58d09d1d09729 --- inventory/service/group_vars/bastion.yaml | 26 +++++++++++++++++++ .../clouds/bridge_all_clouds.yaml.j2 | 2 ++ .../templates/clouds/zuul_clouds.yaml.j2 | 5 ++++ 3 files changed, 33 insertions(+) diff --git a/inventory/service/group_vars/bastion.yaml b/inventory/service/group_vars/bastion.yaml index ee91cfad5e..146dcf7f18 100644 --- a/inventory/service/group_vars/bastion.yaml +++ b/inventory/service/group_vars/bastion.yaml @@ -240,6 +240,19 @@ cloud_launcher_clouds: network: PUBLICNET interfaces: - opendevci-subnet1 + - name: opendevci-rax-flex-iad3 + oscc_cloud: opendevci-rax-flex + region_name: IAD3 + profiles: + - openstackci-keypairs + - openstackci-security + - opendevci-networking + # we manually set the MTU to 1500 since it's unusually high otherwise + routers: + - name: opendevci-router1 + network: PUBLICNET + interfaces: + - opendevci-subnet1 - name: opendevzuul-rax-flex-dfw3 oscc_cloud: opendevzuul-rax-flex region_name: DFW3 @@ -266,6 +279,19 @@ cloud_launcher_clouds: network: PUBLICNET interfaces: - opendevzuul-subnet1 + - name: opendevzuul-rax-flex-iad3 + oscc_cloud: opendevzuul-rax-flex + region_name: IAD3 + profiles: + - openstackci-keypairs + - openstackci-security + - opendevzuul-networking + # we manually set the MTU to 1500 since it's unusually high otherwise + routers: + - name: opendevzuul-router1 + network: PUBLICNET + interfaces: + - opendevzuul-subnet1 # OSUOSL - name: opendevci-osuosl diff --git a/playbooks/templates/clouds/bridge_all_clouds.yaml.j2 b/playbooks/templates/clouds/bridge_all_clouds.yaml.j2 index 0fd6ef00e1..e281568b61 100644 --- a/playbooks/templates/clouds/bridge_all_clouds.yaml.j2 +++ b/playbooks/templates/clouds/bridge_all_clouds.yaml.j2 @@ -74,6 +74,7 @@ clouds: regions: - name: DFW3 - name: SJC3 + - name: IAD3 auth: auth_url: 'https://keystone.api.{region_name}.rackspacecloud.com/v3' project_id: '{{ clouds.opendevci_rax_flex_project_id }}' @@ -84,6 +85,7 @@ clouds: regions: - name: DFW3 - name: SJC3 + - name: IAD3 auth: auth_url: 'https://keystone.api.{region_name}.rackspacecloud.com/v3' project_id: '{{ clouds.opendevzuul_rax_flex_project_id }}' diff --git a/playbooks/templates/clouds/zuul_clouds.yaml.j2 b/playbooks/templates/clouds/zuul_clouds.yaml.j2 index b5bb42c088..df370f1b74 100644 --- a/playbooks/templates/clouds/zuul_clouds.yaml.j2 +++ b/playbooks/templates/clouds/zuul_clouds.yaml.j2 @@ -58,6 +58,11 @@ clouds: metrics: statsd: prefix: 'openstacksdk.zuul-launcher.task.raxflex-sjc3' + - name: IAD3 + values: + metrics: + statsd: + prefix: 'openstacksdk.zuul-launcher.task.raxflex-iad3' auth: auth_url: 'https://keystone.api.{region_name}.rackspacecloud.com/v3' project_id: '{{ zuul_rax_flex_project }}'