<div dir="ltr"><div>Hi,</div><div>I am trying to deploy openstack Wallaby.</div><div>I need some help to understand the meaning of this file "Baremetal Provision Configuration"</div><div>Here is the example given in the documentation :</div><div><br></div><div>First in : <a href="https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/network_v2.html">https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/network_v2.html</a> : Provision Baremetal Instances</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><pre><span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">name</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">Controller</span>
<span class="gmail-nt">count</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">3</span>
<span class="gmail-nt">defaults</span><span class="gmail-p">:</span>
<span class="gmail-nt">networks</span><span class="gmail-p">:</span>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">network</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">ctlplane</span>
<span class="gmail-nt">subnet</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">ctlplane-subnet</span>
<span class="gmail-nt">vif</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">true</span>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">network</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">external</span>
<span class="gmail-nt">subnet</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">external_subnet</span>
<b><span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">network</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">internalapi</span>
<span class="gmail-nt">subnet</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">internal_api_subnet01</span></b>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">network</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">storage</span>
<span class="gmail-nt">subnet</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">storage_subnet01</span>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">network</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">storagemgmt</span>
<span class="gmail-nt">subnet</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">storage_mgmt_subnet01</span>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">network</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">tenant</span>
<span class="gmail-nt">subnet</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">tenant_subnet01</span>
<span class="gmail-nt">network_config</span><span class="gmail-p">:</span>
<span class="gmail-nt">template</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">/home/stack/nic-config/controller.j2</span>
<span class="gmail-nt">default_route_network</span><span class="gmail-p">:</span>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">external</span>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">name</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">Compute</span>
<span class="gmail-nt">count</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">100</span>
<span class="gmail-nt">defaults</span><span class="gmail-p">:</span>
<span class="gmail-nt">networks</span><span class="gmail-p">:</span>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">network</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">ctlplane</span>
<span class="gmail-nt">subnet</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">ctlplane-subnet</span>
<span class="gmail-nt">vif</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">true</span>
<b><span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">network</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">internalapi</span>
<span class="gmail-nt">subnet</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">internal_api_subnet02</span></b>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">network</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">tenant</span>
<span class="gmail-nt">subnet</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">tenant_subnet02</span>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">network</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">storage</span>
<span class="gmail-nt">subnet</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">storage_subnet02</span>
<span class="gmail-nt">network_config</span><span class="gmail-p">:</span>
<span class="gmail-nt">template</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">/home/stack/nic-config/compute.j2</span></pre></blockquote><div>Second in : <a href="https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/provisioning/baremetal_provision.html#baremetal-provision">https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/provisioning/baremetal_provision.html#baremetal-provision</a> : Baremetal Provision Configuration</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><pre><span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">name</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">Controller</span>
<span class="gmail-nt">count</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">1</span>
<span class="gmail-nt">hostname_format</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">controller-%index%</span>
<span class="gmail-nt">ansible_playbooks</span><span class="gmail-p">:</span>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">playbook</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">bm-deploy-playbook.yaml</span>
<span class="gmail-nt">defaults</span><span class="gmail-p">:</span>
<span class="gmail-nt">profile</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">control</span>
<span class="gmail-nt">networks</span><span class="gmail-p">:</span>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">network</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">external</span>
<span class="gmail-nt">subnet</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">external_subnet</span>
<b><span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">network</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">internal_api</span>
<span class="gmail-nt">subnet</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">internal_api_subnet01</span></b>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">network</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">storage</span>
<span class="gmail-nt">subnet</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">storage_subnet01</span>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">network</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">storage_mgmt</span>
<span class="gmail-nt">subnet</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">storage_mgmt_subnet01</span>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">network</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">tenant</span>
<span class="gmail-nt">subnet</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">tenant_subnet01</span>
<span class="gmail-nt">network_config</span><span class="gmail-p">:</span>
<span class="gmail-nt">template</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">templates/multiple_nics/multiple_nics_dvr.j2</span>
<span class="gmail-nt">default_route_network</span><span class="gmail-p">:</span>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">external</span>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">name</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">Compute</span>
<span class="gmail-nt">count</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">1</span>
<span class="gmail-nt">hostname_format</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">compute-%index%</span>
<span class="gmail-nt">ansible_playbooks</span><span class="gmail-p">:</span>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">playbook</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">bm-deploy-playbook.yaml</span>
<span class="gmail-nt">defaults</span><span class="gmail-p">:</span>
<span class="gmail-nt">profile</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">compute-leaf2</span>
<span class="gmail-nt">networks</span><span class="gmail-p">:</span>
<b><span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">network</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">internal_api</span>
<span class="gmail-nt">subnet</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">internal_api_subnet02</span></b>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">network</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">tenant</span>
<span class="gmail-nt">subnet</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">tenant_subnet02</span>
<span class="gmail-p gmail-p-Indicator">-</span> <span class="gmail-nt">network</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">storage</span>
<span class="gmail-nt">subnet</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">storage_subnet02</span>
<span class="gmail-nt">network_config</span><span class="gmail-p">:</span>
<span class="gmail-nt">template</span><span class="gmail-p">:</span> <span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">templates/multiple_nics/multiple_nics_dvr.j2</span></pre></div></blockquote><div><br></div><div>My questions :</div><div>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</div><div>2 - What is the meaning of the numbers in the subnet name of the network "<b><span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">internal_api_subnet01 </span></b><span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">for controllers and <b><span class="gmail-l gmail-l-Scalar gmail-l-Scalar-Plain">internal_api_subnet02 </span></b>for compute nodes</span>" ? why a different number? What is the meaning of it?</div><div><br></div><div>I have tried to create the <b>overcloud-baremetal-deployed.yaml</b> file several times, and every time I get errors here.<br></div><div><br></div><div>Regards.<br></div></div>