<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 6, 2020 at 1:07 PM Marco Marino <<a href="mailto:marino.mrc@gmail.com">marino.mrc@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div>I'm trying to deploy an overcloud using tripleo with pre provisioned nodes. My configuration is quite simple:</div><div>- 1 controller and 1 compute nodes on which I already installed CentOS 8.2</div><div>- Both nodes have a dedicated idrac interface with an ip in <a href="http://192.168.199.0/24" target="_blank">192.168.199.0/24</a>. Please note that this interface is not visible with "ip a" or "ifconfig". It's a dedicated IDRAC interface</div><div>- Both nodes have a NIC configured in the subnet <a href="http://192.168.199.0/24" target="_blank">192.168.199.0/24</a> (192.168.199.200 and 192.168.199.201)</div><div>- Undercloud uses <a href="http://192.168.199.0/24" target="_blank">192.168.199.0/24</a> as pxe/provisioning network (but I don't need provisioning)</div><div><br></div><div>Question: should I import nodes with "openstack overcloud node import nodes.yaml" even if I don't need the provisioning step?</div><div><br></div><div>Furthermore, on the undercloud I created one file:</div><div>/home/stack/templates/node-info.yaml with the following content</div><div><br></div><div>parameter_defaults:<br>  OvercloudControllerFlavor: control<br>  OvercloudComputeFlavor: compute<br>  ControllerCount: 1<br>  ComputeCount: 1<br></div><div> </div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div>Question: How can I specify that "node X with ip Y should be used as a controller and node Z with ip K should be used as a compute"?? </div></div></blockquote><div><br></div><div>With pre-provisioned nodes (DeployedServer), you would need to specify  HostnameMap and <span class="gmail-n">DeployedServerPortMap parameters that would map the pre-provisioned hosts and ctlplane ips.</span></div><div><br></div><div>Please check documentation[1] for more details.<br></div><div><br></div><div>[1] <a href="https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/features/deployed_server.html#deployed-server-with-config-download">https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/features/deployed_server.html#deployed-server-with-config-download</a></div><div><span class="gmail-n"></span><span class="gmail-p"></span></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Should I set the property with the following command?</div><div>openstack baremetal node set --property capabilities='profile:control' controller1<br></div><div><br></div><div>Thank you,</div><div>Marco</div><div><br></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Regards,</div>Rabi Mishra<div><br></div></div></div></div></div></div>