Hi,
I am trying to deploy openstack Wallaby.
I need some help to understand the meaning of this file "Baremetal Provision Configuration"
Here is the example given in the documentation :
- name: Controller
count: 3
defaults:
networks:
- network: ctlplane
subnet: ctlplane-subnet
vif: true
- network: external
subnet: external_subnet
- network: internalapi
subnet: internal_api_subnet01
- network: storage
subnet: storage_subnet01
- network: storagemgmt
subnet: storage_mgmt_subnet01
- network: tenant
subnet: tenant_subnet01
network_config:
template: /home/stack/nic-config/controller.j2
default_route_network:
- external
- name: Compute
count: 100
defaults:
networks:
- network: ctlplane
subnet: ctlplane-subnet
vif: true
- network: internalapi
subnet: internal_api_subnet02
- network: tenant
subnet: tenant_subnet02
- network: storage
subnet: storage_subnet02
network_config:
template: /home/stack/nic-config/compute.j2
- name: Controller
count: 1
hostname_format: controller-%index%
ansible_playbooks:
- playbook: bm-deploy-playbook.yaml
defaults:
profile: control
networks:
- network: external
subnet: external_subnet
- network: internal_api
subnet: internal_api_subnet01
- network: storage
subnet: storage_subnet01
- network: storage_mgmt
subnet: storage_mgmt_subnet01
- network: tenant
subnet: tenant_subnet01
network_config:
template: templates/multiple_nics/multiple_nics_dvr.j2
default_route_network:
- external
- name: Compute
count: 1
hostname_format: compute-%index%
ansible_playbooks:
- playbook: bm-deploy-playbook.yaml
defaults:
profile: compute-leaf2
networks:
- network: internal_api
subnet: internal_api_subnet02
- network: tenant
subnet: tenant_subnet02
- network: storage
subnet: storage_subnet02
network_config:
template: templates/multiple_nics/multiple_nics_dvr.j2
My questions :
1 - Does the name of the network have to match the name of the network (name_lower) in network_data.yaml? because there is an underscore missing in the first example
2 - What is the meaning of the numbers in the subnet name of the network "internal_api_subnet01 for controllers and internal_api_subnet02 for compute nodes" ? why a different number? What is the meaning of it?
I have tried to create the overcloud-baremetal-deployed.yaml file several times, and every time I get errors here.
Regards.