Need some help to understand "Baremetal Provision Configuration" file

wodel youchi wodel.youchi at gmail.com
Mon Aug 23 11:48:33 UTC 2021


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 :

First in :
https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/network_v2.html
: Provision Baremetal Instances

> - 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
>
> Second in :
https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/provisioning/baremetal_provision.html#baremetal-provision
: Baremetal Provision Configuration

> - 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210823/646af127/attachment.html>


More information about the openstack-discuss mailing list