Skip to content

Commit 07208d8

Browse files
hjensasevallesp
authored andcommitted
WIP: crc-bootstrap-staging-ironic
Swtich the scenario to scenarios/centos-9/ironic.yml Update hooks/playbooks/control_plane_ironic.yml to include kustomization patches to configure ironic and Nova Cell with computeDriver: ironic.IronicDriver Depends-On: openstack-k8s-operators/install_yamls#969 Depends-On: openstack-k8s-operators#2816 Conflicts: zuul.d/projects.yaml
1 parent cd3f419 commit 07208d8

File tree

3 files changed

+191
-102
lines changed

3 files changed

+191
-102
lines changed

hooks/playbooks/control_plane_ironic.yml

+60
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,66 @@
2121
- target:
2222
kind: OpenStackControlPlane
2323
patch: |-
24+
- op: add
25+
path: /spec/swift/enabled
26+
value: false
27+
- op: add
28+
path: /spec/barbican/enabled
29+
value: false
30+
- op: add
31+
path: /spec/telemetry/enabled
32+
value: false
2433
- op: add
2534
path: /spec/ironic/enabled
2635
value: {{ cifmw_services_ironic_enabled | default('false') }}
36+
- op: add
37+
path: /spec/ironic/template/rpcTransport
38+
value: oslo
39+
- op: add
40+
path: /spec/ironic/template/ironicAPI/override
41+
value:
42+
service:
43+
internal:
44+
metadata:
45+
annotations:
46+
metallb.universe.tf/address-pool: internalapi
47+
metallb.universe.tf/allow-shared-ip: internalapi
48+
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
49+
spec:
50+
type: LoadBalancer
51+
- op: add
52+
path: /spec/ironic/template/ironicConductors/0/networkAttachments
53+
value:
54+
- baremetal
55+
- op: add
56+
path: /spec/ironic/template/ironicConductors/0/provisionNetwork
57+
value: baremetal
58+
- op: add
59+
path: /spec/ironic/template/ironicConductors/0/customServiceConfig
60+
value: |
61+
[neutron]
62+
cleaning_network = provisioning
63+
provisioning_network = provisioning
64+
rescuing_network = provisioning
65+
- op: add
66+
path: /spec/ironic/template/ironicInspector/networkAttachments
67+
value:
68+
- baremetal
69+
- op: add
70+
path: /spec/ovn/template/ovnController/nicMappings
71+
value:
72+
baremetal: baremetal
73+
- op: add
74+
path: /spec/nova/cellTemplates
75+
value:
76+
cell0:
77+
cellDatabaseUser: nova_cell0
78+
hasAPIAccess: true
79+
cell1:
80+
cellDatabaseUser: nova_cell1
81+
cellDatabaseInstance: openstack-cell1
82+
cellMessageBusInstance: rabbitmq-cell1
83+
hasAPIAccess: true
84+
novaComputeTemplates:
85+
compute-ironic:
86+
computeDriver: ironic.IronicDriver

zuul.d/edpm_multinode.yaml

+130
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,124 @@
456456
cifmw_config_nmstate: true
457457
cifmw_config_multus: true
458458
cifmw_ci_nmstate_instance_config:
459+
crc:
460+
interfaces:
461+
- name: ospbr
462+
description: Configuring Bridge ospbr with interface ens8
463+
type: linux-bridge
464+
mtu: 1500
465+
bridge:
466+
options:
467+
stp:
468+
enabled: false
469+
port:
470+
- name: ens8
471+
vlan: {}
472+
ipv4:
473+
address:
474+
- ip: 192.168.122.10
475+
prefix-length: 24
476+
enabled: true
477+
ipv6:
478+
enabled: false
479+
- description: storagemgmt vlan interface
480+
name: ens8.23
481+
type: vlan
482+
vlan:
483+
base-iface: ens8
484+
id: 23
485+
reorder-headers: true
486+
ipv4:
487+
address:
488+
- ip: 172.20.0.5
489+
prefix-length: 24
490+
dhcp: false
491+
enabled: true
492+
ipv6:
493+
enabled: false
494+
- description: tenant vlan interface
495+
name: ens8.22
496+
type: vlan
497+
vlan:
498+
base-iface: ens8
499+
id: 22
500+
reorder-headers: true
501+
ipv4:
502+
address:
503+
- ip: 172.19.0.5
504+
prefix-length: 24
505+
dhcp: false
506+
enabled: true
507+
ipv6:
508+
enabled: false
509+
- description: storage vlan interface
510+
name: ens8.21
511+
type: vlan
512+
vlan:
513+
base-iface: ens8
514+
id: 21
515+
reorder-headers: true
516+
ipv4:
517+
address:
518+
- ip: 172.18.0.5
519+
prefix-length: 24
520+
dhcp: false
521+
enabled: true
522+
ipv6:
523+
enabled: false
524+
- description: internalapi vlan interface
525+
name: ens8.20
526+
type: vlan
527+
vlan:
528+
base-iface: ens8
529+
id: 20
530+
reorder-headers: true
531+
ipv4:
532+
address:
533+
- ip: 172.17.0.5
534+
prefix-length: 24
535+
dhcp: false
536+
enabled: true
537+
ipv6:
538+
enabled: false
539+
- description: baremetal bridge
540+
name: baremetal
541+
mtu: 1500
542+
type: linux-bridge
543+
bridge:
544+
options:
545+
stp:
546+
enabled: false
547+
port:
548+
- name: ens7
549+
ipv4:
550+
address:
551+
- ip: 172.20.1.5
552+
prefix-length: "24"
553+
enabled: true
554+
ipv6:
555+
enabled: false
556+
- description: Baremetal VRF
557+
name: baremetalvrf
558+
state: up
559+
type: vrf
560+
vrf:
561+
port:
562+
- baremetal
563+
route-table-id: 10
564+
route-rules:
565+
config: []
566+
routes:
567+
config:
568+
- destination: 0.0.0.0/0
569+
metric: 150
570+
next-hop-address: 172.20.1.1
571+
next-hop-interface: baremetal
572+
table-id: 10
573+
#- destination: 172.20.1.0/24
574+
# metric: 150
575+
# next-hop-address: 192.168.122.1
576+
# next-hop-interface: ospbr
459577
controller:
460578
interfaces:
461579
- name: "{{ cifmw_networking_env_definition.instances['controller'].networks['baremetal'].interface_name | default(omit) }}"
@@ -482,13 +600,17 @@
482600
enabled: false
483601
cifmw_install_yamls_vars_patch_01_ironic_ci_base:
484602
INSTALL_NMSTATE: false
603+
INSTALL_NNCP: false
604+
NNCP_INTERFACE: ens8
485605
cifmw_networking_mapper_definition_patch_02_bmaas_net:
486606
networks:
487607
baremetal:
488608
network: "172.20.1.0/24"
609+
gateway: "172.20.1.1"
489610
mtu: 1500
490611
tools:
491612
multus:
613+
type: bridge
492614
ranges:
493615
- start: 30
494616
end: 70
@@ -501,6 +623,12 @@
501623
networks:
502624
baremetal:
503625
ip: "172.20.1.5"
626+
cifmw_networking_mapper_definition_patch_03_router:
627+
routers:
628+
ci-router:
629+
networks:
630+
- default
631+
- baremetal
504632
cifmw_libvirt_manager_configuration:
505633
vms:
506634
compute:
@@ -520,5 +648,7 @@
520648
<forward mode='bridge' />
521649
<bridge name='baremetal' />
522650
</network>
651+
cifmw_extras:
652+
- '@scenarios/centos-9/ironic.yml'
523653
run:
524654
- ci/playbooks/edpm/run.yml

zuul.d/projects.yaml

+1-102
Original file line numberDiff line numberDiff line change
@@ -2,105 +2,4 @@
22
github-check:
33
jobs:
44
- noop
5-
- cifmw-pod-ansible-test
6-
- cifmw-pod-k8s-snippets-source
7-
- cifmw-pod-pre-commit
8-
- cifmw-pod-zuul-files
9-
- cifmw-content-provider-build-images
10-
- cifmw-edpm-build-images
11-
- cifmw-multinode-kuttl
12-
- cifmw-tcib
13-
- cifmw-architecture-validate-hci
14-
- ci-framework-openstack-meta-content-provider
15-
- build-push-container-cifmw-client
16-
- cifmw-molecule-adoption_osp_deploy
17-
- cifmw-molecule-artifacts
18-
- cifmw-molecule-build_containers
19-
- cifmw-molecule-build_openstack_packages
20-
- cifmw-molecule-build_push_container
21-
- cifmw-molecule-cert_manager
22-
- cifmw-molecule-ci_dcn_site
23-
- cifmw-molecule-ci_gen_kustomize_values
24-
- cifmw-molecule-ci_local_storage
25-
- cifmw-molecule-ci_lvms_storage
26-
- cifmw-molecule-ci_multus
27-
- cifmw-molecule-ci_network
28-
- cifmw-molecule-ci_nmstate
29-
- cifmw-molecule-ci_setup
30-
- cifmw-molecule-cifmw_block_device
31-
- cifmw-molecule-cifmw_ceph_client
32-
- cifmw-molecule-cifmw_ceph_spec
33-
- cifmw-molecule-cifmw_cephadm
34-
- cifmw-molecule-cifmw_create_admin
35-
- cifmw-molecule-cifmw_external_dns
36-
- cifmw-molecule-cifmw_ntp
37-
- cifmw-molecule-cifmw_test_role
38-
- cifmw-molecule-compliance
39-
- cifmw-molecule-config_drive
40-
- cifmw-molecule-copy_container
41-
- cifmw-molecule-deploy_bmh
42-
- cifmw-molecule-devscripts
43-
- cifmw-molecule-discover_latest_image
44-
- cifmw-molecule-dlrn_promote
45-
- cifmw-molecule-dlrn_report
46-
- cifmw-molecule-dnsmasq
47-
- cifmw-molecule-edpm_build_images
48-
- cifmw-molecule-edpm_deploy
49-
- cifmw-molecule-edpm_deploy_baremetal
50-
- cifmw-molecule-edpm_kustomize
51-
- cifmw-molecule-edpm_prepare
52-
- cifmw-molecule-env_op_images
53-
- cifmw-molecule-federation
54-
- cifmw-molecule-hci_prepare
55-
- cifmw-molecule-hive
56-
- cifmw-molecule-idrac_configuration
57-
- cifmw-molecule-install_ca
58-
- cifmw-molecule-install_openstack_ca
59-
- cifmw-molecule-install_yamls
60-
- cifmw-molecule-krb_request
61-
- cifmw-molecule-kustomize_deploy
62-
- cifmw-molecule-libvirt_manager
63-
- cifmw-molecule-manage_secrets
64-
- cifmw-molecule-mirror_registry
65-
- cifmw-molecule-nat64_appliance
66-
- cifmw-molecule-networking_mapper
67-
- cifmw-molecule-openshift_adm
68-
- cifmw-molecule-openshift_login
69-
- cifmw-molecule-openshift_obs
70-
- cifmw-molecule-openshift_provisioner_node
71-
- cifmw-molecule-openshift_setup
72-
- cifmw-molecule-operator_build
73-
- cifmw-molecule-operator_deploy
74-
- cifmw-molecule-os_must_gather
75-
- cifmw-molecule-os_net_setup
76-
- cifmw-molecule-ovirt
77-
- cifmw-molecule-pkg_build
78-
- cifmw-molecule-podman
79-
- cifmw-molecule-polarion
80-
- cifmw-molecule-recognize_ssh_keypair
81-
- cifmw-molecule-registry_deploy
82-
- cifmw-molecule-repo_setup
83-
- cifmw-molecule-reportportal
84-
- cifmw-molecule-reproducer
85-
- cifmw-molecule-rhol_crc
86-
- cifmw-molecule-run_hook
87-
- cifmw-molecule-set_openstack_containers
88-
- cifmw-molecule-shiftstack
89-
- cifmw-molecule-ssh_jumper
90-
- cifmw-molecule-sushy_emulator
91-
- cifmw-molecule-switch_config
92-
- cifmw-molecule-tempest
93-
- cifmw-molecule-test_deps
94-
- cifmw-molecule-test_operator
95-
- cifmw-molecule-tofu
96-
- cifmw-molecule-update
97-
- cifmw-molecule-update_containers
98-
- cifmw-molecule-validations
99-
- cifmw-molecule-virtualbmc
100-
github-post:
101-
jobs:
102-
- build-push-container-cifmw-client-post
103-
name: openstack-k8s-operators/ci-framework
104-
templates:
105-
- podified-multinode-edpm-ci-framework-pipeline
106-
- data-plane-adoption-ci-framework-pipeline
5+
- podified-multinode-edpm-deployment-crc-bootstrap-staging-ironic

0 commit comments

Comments
 (0)