<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto">Normally yes but I am having the PXE added to NON provision ports as well.<br />
<br />
I tore down the dnsmasq and inspector containers, rediscovered the hosts and it hasn’t came back.. but that still doesn’t answer how that could happen.</div>
</div>
<div name="messageReplySection">On Sep 16, 2020, 3:53 AM -0400, Mark Goddard <mark@stackhpc.com>, wrote:<br />
<blockquote type="cite" style="border-left-color: grey; border-left-width: thin; border-left-style: solid; margin: 5px 5px;padding-left: 10px;">On Tue, 15 Sep 2020 at 20:13, Tyler Bishop <tbishop@liquidweb.com> wrote:<br />
<blockquote type="cite"><br />
Hi,<br />
<br />
My issue is i have a neutron network (not discovery or cleaning) that is adding the PXE entries for the ironic pxe server and my baremetal host are rebooting into discovery upon successful deployment.<br />
<br />
I am curious how the driver implementation works for adding the PXE options to neutron-dhcp-agent configuration and if that is being done to help non flat networks where no SDN is being used? I have several environments using Kolla-Ansible and this one seems to be the only behaving like this. My neutron-dhcp-agent dnsmasq opt file looks like this after a host is deployed.<br />
<br />
dhcp/7d0b7e78-6506-4f4a-b524-d5c03e4ca4a8/opts cat /var/lib/neutron/dhcp/ffdf5f9b-b4ad-4a53-b154-69eb3b4a81c5/opts<br />
tag:subnet-57b772c1-7878-4458-8c60-cf21eac99ac2,option:dns-server,10.60.3.240,10.60.10.240,10.60.1.240<br />
tag:subnet-57b772c1-7878-4458-8c60-cf21eac99ac2,option:classless-static-route,169.254.169.254/32,10.60.66.2,0.0.0.0/0,10.60.66.1<br />
tag:subnet-57b772c1-7878-4458-8c60-cf21eac99ac2,249,169.254.169.254/32,10.60.66.2,0.0.0.0/0,10.60.66.1<br />
tag:subnet-57b772c1-7878-4458-8c60-cf21eac99ac2,option:router,10.60.66.1<br />
tag:port-08908db1-360b-4973-87c7-15049a484ac6,150,10.60.66.11<br />
tag:port-08908db1-360b-4973-87c7-15049a484ac6,210,/tftpboot/<br />
tag:port-08908db1-360b-4973-87c7-15049a484ac6,66,10.60.66.11<br />
tag:port-08908db1-360b-4973-87c7-15049a484ac6,67,pxelinux.0<br />
tag:port-08908db1-360b-4973-87c7-15049a484ac6,option:server-ip-address,10.60.66.11<br /></blockquote>
<br />
Hi Tyler, Ironic adds DHCP options to the neutron port on the<br />
provisioning network. Specifically, the boot interface in ironic is<br />
responsible for adding DHCP options. See the PXEBaseMixin class.<br /></blockquote>
</div>
</body>
</html>