From cfc9d60ff34231f6b0db3cfd158d36c12e4ee324 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Tue, 3 Sep 2024 20:05:24 +0000 Subject: [PATCH] Add Nodepool images to Rackspace Flex Put the raxflex-sjc3 provider in our Nodepool configuration, but with booting disabled by zeroing max-servers so we can make sure image uploads are working first. Change-Id: Id3d2e73b73c35af52dbc13579e773329e4f9ad68 --- nodepool/nl01.opendev.org.yaml | 56 +++++++++++++++++++++++++++++++++- nodepool/nodepool.yaml | 32 +++++++++++++++++++ 2 files changed, 87 insertions(+), 1 deletion(-) diff --git a/nodepool/nl01.opendev.org.yaml b/nodepool/nl01.opendev.org.yaml index d220e3d2ef..445f3faaac 100644 --- a/nodepool/nl01.opendev.org.yaml +++ b/nodepool/nl01.opendev.org.yaml @@ -173,9 +173,63 @@ providers: pools: - name: main max-servers: 195 - labels: labels: *provider_pools_labels + - name: raxflex-sjc3 + region-name: 'SJC3' + # Changing this cloud value impacts things like mirror names in jobs. + # It should be changed carefully. + cloud: raxflex + diskimages: *provider_diskimages + pools: + - name: main + max-servers: 0 + labels: + - name: centos-9-stream + flavor-name: 'gp.0.4.8' + diskimage: centos-9-stream + key-name: infra-root-keys-2024-04-08 + - name: debian-bookworm + flavor-name: 'gp.0.4.8' + diskimage: debian-bookworm + key-name: infra-root-keys-2024-04-08 + - name: debian-bullseye + flavor-name: 'gp.0.4.8' + diskimage: debian-bullseye + key-name: infra-root-keys-2024-04-08 + - name: rockylinux-8 + flavor-name: 'gp.0.4.8' + diskimage: rockylinux-8 + key-name: infra-root-keys-2024-04-08 + - name: rockylinux-9 + flavor-name: 'gp.0.4.8' + diskimage: rockylinux-9 + key-name: infra-root-keys-2024-04-08 + - name: ubuntu-bionic + flavor-name: 'gp.0.4.8' + diskimage: ubuntu-bionic + key-name: infra-root-keys-2024-04-08 + - name: ubuntu-focal + flavor-name: 'gp.0.4.8' + diskimage: ubuntu-focal + key-name: infra-root-keys-2024-04-08 + - name: ubuntu-jammy + flavor-name: 'gp.0.4.8' + diskimage: ubuntu-jammy + key-name: infra-root-keys-2024-04-08 + - name: ubuntu-noble + flavor-name: 'gp.0.4.8' + diskimage: ubuntu-noble + key-name: infra-root-keys-2024-04-08 + - name: ubuntu-xenial + flavor-name: 'gp.0.4.8' + diskimage: ubuntu-xenial + key-name: infra-root-keys-2024-04-08 + - name: openEuler-22-03-LTS + flavor-name: 'gp.0.4.8' + diskimage: openEuler-22-03-LTS + key-name: infra-root-keys-2024-04-08 + diskimages: - name: centos-9-stream - name: debian-bookworm diff --git a/nodepool/nodepool.yaml b/nodepool/nodepool.yaml index 2de8c68449..330d3dee23 100644 --- a/nodepool/nodepool.yaml +++ b/nodepool/nodepool.yaml @@ -124,6 +124,38 @@ providers: image-upload-timeout: 21600 diskimages: *provider_diskimages + - name: raxflex-sjc3 + region-name: 'SJC3' + cloud: raxflex + rate: 0.001 + # 6 hours + image-upload-timeout: 21600 + # TODO(fungi): Use the global list again once the old images + # have been dropped there + diskimages: + - name: centos-9-stream + config-drive: true + - name: debian-bookworm + config-drive: true + - name: debian-bullseye + config-drive: true + - name: rockylinux-8 + config-drive: true + - name: rockylinux-9 + config-drive: true + - name: ubuntu-bionic + config-drive: true + - name: ubuntu-focal + config-drive: true + - name: ubuntu-jammy + config-drive: true + - name: ubuntu-noble + config-drive: true + - name: ubuntu-xenial + config-drive: true + - name: openEuler-22-03-LTS + config-drive: true + diskimages: - name: base abstract: True