-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the Ironic baremetal net in a dedicated ci-bootstrap job #2371
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -367,64 +367,6 @@ | |
# TODO: to be removed after removing its dependency in ci-bootstrap | ||
crc_ci_bootstrap_networking: {} | ||
vars: &edpm_bootstrap_vars | ||
cifmw_networking_definition: | ||
networks: | ||
default: | ||
network: "192.168.122.0/24" | ||
gateway: "192.168.122.1" | ||
mtu: 1500 | ||
internal-api: | ||
network: "172.17.0.0/24" | ||
gateway: "172.17.0.1" | ||
vlan: 20 | ||
storage: | ||
network: "172.18.0.0/24" | ||
gateway: "172.18.0.1" | ||
vlan: 21 | ||
tenant: | ||
network: "172.19.0.0/24" | ||
gateway: "172.19.0.1" | ||
vlan: 22 | ||
instances: | ||
controller: | ||
networks: | ||
default: | ||
ip: "192.168.122.11" | ||
crc: | ||
networks: | ||
default: | ||
ip: "192.168.122.10" | ||
internal-api: | ||
ip: "172.17.0.5" | ||
storage: | ||
ip: "172.18.0.5" | ||
tenant: | ||
ip: "172.19.0.5" | ||
compute-0: | ||
skip-nm-configuration: true | ||
networks: | ||
default: | ||
ip: "192.168.122.100" | ||
internal-api: | ||
ip: "172.17.0.100" | ||
trunk_parent: default | ||
storage: | ||
ip: "172.18.0.100" | ||
trunk_parent: default | ||
tenant: | ||
ip: "172.19.0.100" | ||
trunk_parent: default | ||
cifmw_extras: | ||
- '@scenarios/centos-9/multinode-ci.yml' | ||
run: | ||
- ci/playbooks/edpm/run.yml | ||
|
||
# Job with ci-bootstrap staging branch job - to be used to test ci-bootstrap | ||
- job: | ||
name: podified-multinode-edpm-deployment-crc-bootstrap-staging | ||
parent: cifmw-podified-multinode-edpm-ci-bootstrap-staging | ||
extra-vars: *edpm_bootstrap_extra_vars | ||
vars: | ||
cifmw_networking_definition: | ||
networks: | ||
default: | ||
|
@@ -457,13 +399,13 @@ | |
networks: | ||
default: {} | ||
internal-api: | ||
trunk_parent: default | ||
trunk-parent: default | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (non-blocking) question: Was this a typo? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure if it was a typo or not but it was a mistake, we have [1] https://github.com/search?q=repo%3Aopenstack-k8s-operators%2Fci-framework+trunk-parent+path%3A%2F%5Etests%5C%2Funit%5C%2Fmodule_utils%5C%2F%2F&type=code |
||
skip-nm-configuration: true | ||
tenant: | ||
trunk_parent: default | ||
trunk-parent: default | ||
skip-nm-configuration: true | ||
storage: | ||
trunk_parent: default | ||
trunk-parent: default | ||
skip-nm-configuration: true | ||
instances: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It doesnt need the compute-0 anymore - it will get the compute info from the group-templates? By compute-0 I mean:
|
||
controller: | ||
|
@@ -476,14 +418,49 @@ | |
ip: "192.168.122.10" | ||
internal-api: | ||
ip: "172.17.0.5" | ||
trunk_parent: default | ||
trunk-parent: default | ||
storage: | ||
ip: "172.18.0.5" | ||
trunk_parent: default | ||
trunk-parent: default | ||
tenant: | ||
ip: "172.19.0.5" | ||
trunk_parent: default | ||
trunk-parent: default | ||
cifmw_extras: | ||
- '@scenarios/centos-9/multinode-ci.yml' | ||
run: | ||
- ci/playbooks/edpm/run.yml | ||
|
||
# Job with ci-bootstrap staging branch job - to be used to test ci-bootstrap | ||
- job: | ||
name: podified-multinode-edpm-deployment-crc-bootstrap-staging | ||
parent: cifmw-podified-multinode-edpm-ci-bootstrap-staging | ||
extra-vars: *edpm_bootstrap_extra_vars | ||
vars: *edpm_bootstrap_vars | ||
run: | ||
- ci/playbooks/edpm/run.yml | ||
|
||
# TODO: Testing Ironic jobs definition | ||
- job: | ||
name: podified-multinode-edpm-deployment-crc-bootstrap-staging-ironic | ||
parent: podified-multinode-edpm-deployment-crc-bootstrap-staging | ||
vars: | ||
cifmw_networking_mapper_definition_patch_02_bmaas_net: | ||
networks: | ||
baremetal: | ||
network: "172.20.1.0/24" | ||
gateway: "172.20.1.1" | ||
mtu: 1500 | ||
instances: | ||
controller: | ||
networks: | ||
baremetal: | ||
ip: "172.20.1.11" | ||
skip-nm-configuration: true | ||
crc: | ||
networks: | ||
baremetal: | ||
ip: "172.20.1.5" | ||
skip-nm-configuration: true | ||
run: | ||
- ci/playbooks/edpm/run.yml | ||
- ci/playbooks/edpm/fail.yml |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -313,6 +313,23 @@ | |
- name: ocps | ||
nodes: | ||
- crc | ||
# todo: Remove. Temporal. Needed as the credentials used in ci-bootstrap jobs for IBM don't work | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (non-blocking) question: Do we expect to eventually roll back to IBM? I like the idea of the parent change so rolling that back it's just creating another child with the previous network configuration. Sounds like a good change IMHO. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes we intend to roll back to using a cloud neutral label/nodeset but for the short to mid term it's not an option. The infra team can't provide us the same restricted access we need on IBM cloud as we have for Vexx, once they have time to implement the needed changes we can remove the pin to Vexx. |
||
- nodeset: | ||
name: centos-9-medium-centos-9-crc-extracted-2-39-0-3xl-vexxhost | ||
nodes: | ||
- name: controller | ||
label: cloud-centos-9-stream-tripleo-vexxhost-medium | ||
- name: compute-0 | ||
label: cloud-centos-9-stream-tripleo-vexxhost | ||
- name: crc | ||
label: coreos-crc-extracted-2-39-0-3xl | ||
groups: | ||
- name: computes | ||
nodes: | ||
- compute-0 | ||
- name: ocps | ||
nodes: | ||
- crc | ||
|
||
- nodeset: | ||
name: centos-9-crc-2-39-0-6xlarge | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(blocking) Unsure if necessary but I see this duplicated.