Skip to content

Commit

Permalink
Add nodeset and job config for multicell
Browse files Browse the repository at this point in the history
Add nodeset for multicell adoption jobs that replicates
the multinode adoption nodeset.

Modify adoption multinode job to use different network
leafs. Use the same networking topology for multicell
adoption job config (just for ease of maintaining changes
for the networking bits that they share).

Signed-off-by: Bohdan Dobrelia <[email protected]>
  • Loading branch information
bogdando committed May 13, 2024
1 parent 625d082 commit 8802aa6
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 30 deletions.
84 changes: 54 additions & 30 deletions zuul.d/adoption.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,39 +141,39 @@
nodeset: centos-9-multinode-rhel-9-2-crc-extracted-2.30-3xl
roles:
- zuul: github.com/openstack-k8s-operators/ci-framework
pre-run:
pre-run: &multinode-prerun
- ci/playbooks/multinode-customizations.yml
- ci/playbooks/e2e-prepare.yml
- ci/playbooks/dump_zuul_data.yml
post-run:
post-run: &multinode-postrun
- ci/playbooks/e2e-collect-logs.yml
- ci/playbooks/collect-logs.yml
- ci/playbooks/multinode-autohold.yml
vars:
<<: *adoption_vars
crc_ci_bootstrap_networking:
networks:
networks: &multinode-networks
default:
mtu: "{{ ('ibm' in nodepool.cloud) | ternary('1440', '1500') }}"
router_net: "{{ ('ibm' in nodepool.cloud) | ternary('hostonly', 'public') }}"
range: 192.168.122.0/24
internal-api:
vlan: 20
range: 172.17.0.0/24
range: 172.17.0.0/16
storage:
vlan: 21
range: 172.18.0.0/24
range: 172.18.0.0/16
tenant:
vlan: 22
range: 172.19.0.0/24
range: 172.19.0.0/16
storage_mgmt:
vlan: 23
range: 172.20.0.0/24
range: 172.20.0.0/16
external:
vlan: 44
range: 172.21.0.0/24
range: 172.21.0.0/16
instances:
controller:
controller: &multinode-crlr
networks:
default:
ip: 192.168.122.11
Expand All @@ -185,7 +185,7 @@
ip: 172.19.0.4
storage_mgmt:
ip: 172.20.0.4
crc:
crc: &multinode-crc
networks:
default:
ip: 192.168.122.10
Expand All @@ -199,7 +199,7 @@
ip: 172.20.0.5
external:
ip: 172.21.0.5
undercloud:
undercloud: &multinode-uc
networks:
default:
ip: 192.168.122.100
Expand All @@ -219,7 +219,7 @@
external:
ip: 172.21.0.100
config_nm: false
overcloud-controller-0:
overcloud-controller-0: &multinode-crlr-leaf0
networks:
default:
ip: 192.168.122.103
Expand All @@ -239,63 +239,87 @@
external:
ip: 172.21.0.103
config_nm: false
overcloud-controller-1:
overcloud-controller-1: &multinode-crlr-leaf1
networks:
default:
ip: 192.168.122.104
config_nm: false
internal-api:
ip: 172.17.0.104
ip: 172.17.1.104
config_nm: false
storage:
ip: 172.18.0.104
ip: 172.18.1.104
config_nm: false
tenant:
ip: 172.19.0.104
ip: 172.19.1.104
config_nm: false
storage_mgmt:
ip: 172.20.0.104
ip: 172.20.1.104
config_nm: false
external:
ip: 172.21.0.104
ip: 172.21.1.104
config_nm: false
overcloud-controller-2:
overcloud-controller-2: &multinode-crlr-leaf2
networks:
default:
ip: 192.168.122.105
config_nm: false
internal-api:
ip: 172.17.0.105
ip: 172.17.2.105
config_nm: false
storage:
ip: 172.18.0.105
ip: 172.18.2.105
config_nm: false
tenant:
ip: 172.19.0.105
ip: 172.19.2.105
config_nm: false
storage_mgmt:
ip: 172.20.0.105
ip: 172.20.2.105
config_nm: false
external:
ip: 172.21.0.105
ip: 172.21.2.105
config_nm: false
overcloud-novacompute-0:
overcloud-novacompute-0: &multinode-cmp-leaf1
networks:
default:
ip: 192.168.122.106
config_nm: false
internal-api:
ip: 172.17.0.106
ip: 172.17.1.106
config_nm: false
storage:
ip: 172.18.0.106
ip: 172.18.1.106
config_nm: false
tenant:
ip: 172.19.0.106
ip: 172.19.1.106
config_nm: false
storage_mgmt:
ip: 172.20.0.106
ip: 172.20.1.106
config_nm: false
external:
ip: 172.21.0.106
ip: 172.21.1.106
config_nm: false

- job:
name: cifmw-adoption-base-source-multinode-novacells
parent: base-extracted-crc
abstract: true
timeout: 10800
attempts: 1
nodeset: centos-9-multinode-rhel-9-2-crc-extracted-2.30-3xl-novacells
roles:
- zuul: github.com/openstack-k8s-operators/ci-framework
pre-run: *multinode-prerun
post-run: *multinode-postrun
vars:
<<: *adoption_vars
crc_ci_bootstrap_networking:
networks: *multinode-networks
instances:
controller: *multinode-crlr
crc: *multinode-crc
undercloud: *multinode-uc
overcloud-controller-0: *multinode-crlr-leaf0
cell1-controller-0: *multinode-crlr-leaf1
cell2-controller-compute-0: *multinode-crlr-leaf2
cell1-compute-0: *multinode-cmp-leaf1
31 changes: 31 additions & 0 deletions zuul.d/nodeset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,37 @@
- overcloud-controller-2
- overcloud-novacompute-0

- nodeset:
name: centos-9-multinode-rhel-9-2-crc-extracted-2.30-3xl-novacells
nodes:
- name: controller
label: cloud-centos-9-stream-tripleo
- name: crc
label: coreos-crc-extracted-2-30-0-3xl
- name: undercloud
label: cloud-rhel-9-2-tripleo
- name: overcloud-controller-0
label: cloud-rhel-9-2-tripleo
- name: cell1-controller-0
label: cloud-rhel-9-2-tripleo
- name: cell1-compute-0
label: cloud-rhel-9-2-tripleo
- name: cell2-controller-compute-0
label: cloud-rhel-9-2-tripleo
groups:
- name: computes
nodes: []
- name: ocps
nodes:
- crc
- name: rh-subscription
nodes:
- undercloud
- overcloud-controller-0
- cell1-controller-0
- cell2-controller-compute-0
- cell1-compute-0

- nodeset:
name: centos-9-medium-centos-9-crc-extracted-2.30-3xl
nodes:
Expand Down

0 comments on commit 8802aa6

Please sign in to comment.