<div dir="auto"><div>Hi Dmitry</div><div dir="auto"><br></div><div dir="auto">Thanks for your time.</div><div dir="auto"><br></div><div dir="auto">My system is getting IP 20.20.20.10 which is in the range defined in ironic_dnsmasq_dhcp_range field under globals.yml file.</div><div dir="auto"><br></div><div dir="auto">ironic_dnsmasq_dhcp_range: "20.20.20.10,20.20.20.100"</div><div dir="auto"><br></div><div dir="auto">And in the cleaning network (public1), the range defined is 20.20.20.150-20.20.20.200</div><div dir="auto"><br></div><div dir="auto">As per my understanding, these 2 ranges should be mutually exclusive.</div><div dir="auto"><br></div><div dir="auto">Please suggest if my understanding is not correct.</div><div dir="auto"><br></div><div dir="auto">Any suggestions what should I do to resolve this issue?</div><div dir="auto"><br></div><div dir="auto">Regards</div><div dir="auto">Anirudh Gupta</div><div dir="auto"><br></div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Sat, 31 Jul, 2021, 12:06 am Dmitry Tantsur, <<a href="mailto:dtantsur@redhat.com">dtantsur@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 29, 2021 at 6:05 PM Anirudh Gupta <<a href="mailto:anyrude10@gmail.com" target="_blank" rel="noreferrer">anyrude10@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"><div dir="ltr">Hi Team,<br></div><div dir="ltr"><br></div><div>In to the email below, I have some updated information:-</div><div><br></div><div>Earlier the allocation range mentioned in "<b>ironic_dnsmasq_dhcp_range</b>" in globals.yml had an overlapping range with the cleaning network, due to which there was some issue in receiving the DHCP request </div><div><br></div><div>After creating a cleaning network with a separate allocation range, I am successfully getting IP allocated to my Baremetal Node</div><div><ul><li>openstack subnet create subnet1 --network public1 --subnet-range <a href="http://20.20.20.0/24" target="_blank" rel="noreferrer">20.20.20.0/24</a> --allocation-pool start=20.20.20.150,end=20.20.20.200 --ip-version=4 --gateway=20.20.20.1 --dhcp</li></ul></div><div><br></div><div><img src="cid:ii_kroym2be0" alt="image.png" width="541" height="213"><br></div><div><br></div><div>After getting the IP, there is no further action on the node. From "<b>clean_wait</b>", it goes into "<b>clean_failed</b>" state after around half an hour.</div></div></blockquote><div><br></div><div>The IP address is not from the cleaning range, it may come from inspection. You probably need to investigate your network topology, maybe use tcpdump.</div><div><br></div><div>Unfortunately, I'm not fluent in Kolla to say if it can be a bug or not.</div><div><br></div><div>Dmitry<br></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><br></div><div>On verifying the logs, I could see the below error messages</div><div><br></div><div><ul><li>In <b>/var/log/kolla/ironic/ironic-conductor.log</b>, we observed the following error:</li></ul></div><blockquote style="margin:0px 0px 0px 40px;border:medium none;padding:0px"><div>ERROR ironic.conductor.utils [-] Cleaning for node 3a56748e-a8ca-4dec-a332-ace18e6d494e failed. <b>Timeout reached while cleaning the node. Please check if the ramdisk responsible for the cleaning is running on the node. Failed on step {}.</b></div></blockquote><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:medium none;padding:0px"><div>Note : For Cleaning the node, we have used the below images</div></blockquote><br><blockquote style="margin:0px 0px 0px 40px;border:medium none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:medium none;padding:0px"> <a href="https://tarballs.openstack.org/ironic-python-agent/dib/files/ipa-centos8-master.kernel" target="_blank" rel="noreferrer">https://tarballs.openstack.org/ironic-python-agent/dib/files/ipa-centos8-master.kernel</a></blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:medium none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:medium none;padding:0px"> <a href="https://tarballs.openstack.org/ironic-python-agent/dib/files/ipa-centos8-master.initramfs" target="_blank" rel="noreferrer">https://tarballs.openstack.org/ironic-python-agent/dib/files/ipa-centos8-master.initramfs</a></blockquote></blockquote><div><ul><li>In /var/log/kolla/nova/nova-compute-ironic.log, we observed the error</li></ul></div><blockquote style="margin:0px 0px 0px 40px;border:medium none;padding:0px"><div>ERROR nova.compute.manager [req-810ffedf-3343-471c-94db-85411984e6cc - - - - -] No compute node record for host controller-ironic: nova.exception_Remote.ComputeHostNotFound_Remote: Compute host controller-ironic could not be found.</div></blockquote><div><br></div><div>Can someone please help in this regard?</div><div><br></div><div>Regards</div><div>Anirudh Gupta</div><div><br></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 27, 2021 at 12:52 PM Anirudh Gupta <<a href="mailto:anyrude10@gmail.com" target="_blank" rel="noreferrer">anyrude10@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 Team,<br><br>We have deployed 2 node kolla ansible <b>12.0.0</b> in order to deploy openstack <b>wallaby</b> release. We have also enabled ironic in order to provision the bare metal nodes.<br><br><div>On each server we have 3 nics <br><ul><li><b>eno1</b> - OAM for external connectivity and endpoint's publicURL</li><li><b>eno2</b> - Mgmt for internal communication between various openstack services.</li><li><b>ens2f0</b> - Data Interface</li></ul></div><div><br>Corresponding to this we have defined the following fields in globals.yml<br><br><ul><li>kolla_base_distro: "centos"</li><li>kolla_install_type: "source"</li><li>openstack_release: "wallaby"</li><li>network_interface: "eno2" # MGMT interface</li><li>kolla_external_vip_interface: "eno1" # OAM Interface</li><li>kolla_internal_vip_address: "192.168.10.3" # MGMT Subnet free ip</li><li>kolla_external_vip_address: "10.0.1.136" # OAM subnet free IP</li><li>neutron_external_interface: "ens2f0" # Data Interface</li><li>enable_neutron_provider_networks: "yes"</li></ul>Note: Only relevant fields are being shown in this query</div><div><br>Also, for ironic following fields have been defined in globals.yml<br><ul><li>enable_ironic: "yes"</li><li>enable_ironic_neutron_agent: "{{ enable_neutron | bool and enable_ironic | bool }}"</li><li>enable_horizon_ironic: "{{ enable_ironic | bool }}"</li><li>ironic_dnsmasq_interface: "<b>ens2f0</b>" # Data interface</li><li>ironic_dnsmasq_dhcp_range: "20.20.20.10,20.20.20.100" </li><li>ironic_dnsmasq_boot_file: "pxelinux.0"</li><li>ironic_cleaning_network: "public1"</li><li>ironic_dnsmasq_default_gateway: "20.20.20.1"</li></ul><br>After successful deployment, a flat provider network with the name public1 is being created in openstack using the below commands:<br><br><ul><li>openstack network create public1 --provider-network-type flat --provider-physical-network physnet1</li><li>openstack subnet create subnet1 --network public1 --subnet-range <a href="http://20.20.20.0/24" target="_blank" rel="noreferrer">20.20.20.0/24</a> --allocation-pool start=20.20.20.10,end=20.20.20.100 --ip-version=4 --gateway=20.20.20.1 --dhcp</li></ul><br>Issue/Queries:<br><br><ul><li>Is the configuration done in globals.yml correct or is there anything else that needs to be done in order to separate control and data plane traffic?</li></ul><ul><li>Also I have set automated_cleaning as "true" in ironic-conductor conatiner settings.But after creating the baremetal node, we run "node manage" command which runs successfully. Running "<b>openstack baremetal node provide <node id>"</b> command powers on the machine, sets the boot mode on Network Boot but no DHCP request for that particular mac is obtained on the controller. Is there anything I am missing that needs to be done in order to make ironic work?</li></ul>Note: I have also verified that the nic is PXE enabled in system configuration setting</div><div><br></div><div>Regards</div><div>Anirudh Gupta<br><br><br></div></div>
</blockquote></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><div dir="ltr">Red Hat GmbH, <a href="https://de.redhat.com/" target="_blank" rel="noreferrer">https://de.redhat.com/</a> , Registered seat: Grasbrunn, <br>Commercial register: Amtsgericht Muenchen, HRB 153243,<br>Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill <br></div></div></div>
</blockquote></div></div></div>