<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1486611566719_51054" dir="ltr"><span>Hey,</span></div><div id="yui_3_16_0_ym19_1_1486611566719_51054" dir="ltr"><span><br></span></div><div id="yui_3_16_0_ym19_1_1486611566719_51054" dir="ltr"><span id="yui_3_16_0_ym19_1_1486611566719_51423">I don't have any </span><span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1486611566719_51062">/var/lib/maas/dhcpd.conf .</span></div><div id="yui_3_16_0_ym19_1_1486611566719_51054" dir="ltr"><span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1486611566719_51464">The only dhcp conf file I can find is:</span></div><div id="yui_3_16_0_ym19_1_1486611566719_51054" dir="ltr"><span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif; font-size: 13px;"><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51352"><font face="Helvetica Neue, Segoe UI, Helvetica, Arial, Lucida Grande, sans-serif" id="yui_3_16_0_ym19_1_1486611566719_51353"><span style="font-size: 13px;" id="yui_3_16_0_ym19_1_1486611566719_51354">root@dl-360-143:~# grep -v "^#\|^$" /etc/dhcp/dhcpd.conf</span></font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51355"><font face="Helvetica Neue, Segoe UI, Helvetica, Arial, Lucida Grande, sans-serif" id="yui_3_16_0_ym19_1_1486611566719_51356"><span style="font-size: 13px;" id="yui_3_16_0_ym19_1_1486611566719_51357">ddns-update-style none;</span></font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51358"><font face="Helvetica Neue, Segoe UI, Helvetica, Arial, Lucida Grande, sans-serif" id="yui_3_16_0_ym19_1_1486611566719_51359"><span style="font-size: 13px;" id="yui_3_16_0_ym19_1_1486611566719_51360">option domain-name "example.org";</span></font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51361"><font face="Helvetica Neue, Segoe UI, Helvetica, Arial, Lucida Grande, sans-serif" id="yui_3_16_0_ym19_1_1486611566719_51362"><span style="font-size: 13px;" id="yui_3_16_0_ym19_1_1486611566719_51363">option domain-name-servers ns1.example.org, ns2.example.org;</span></font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51364"><font face="Helvetica Neue, Segoe UI, Helvetica, Arial, Lucida Grande, sans-serif" id="yui_3_16_0_ym19_1_1486611566719_51365"><span style="font-size: 13px;" id="yui_3_16_0_ym19_1_1486611566719_51366">default-lease-time 600;</span></font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51367"><font face="Helvetica Neue, Segoe UI, Helvetica, Arial, Lucida Grande, sans-serif" id="yui_3_16_0_ym19_1_1486611566719_51368"><span style="font-size: 13px;" id="yui_3_16_0_ym19_1_1486611566719_51369">max-lease-time 7200;</span></font></div><div id="yui_3_16_0_ym19_1_1486611566719_51054" dir="ltr"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51370"><font face="Helvetica Neue, Segoe UI, Helvetica, Arial, Lucida Grande, sans-serif" id="yui_3_16_0_ym19_1_1486611566719_51371"><span style="font-size: 13px;" id="yui_3_16_0_ym19_1_1486611566719_51372">log-facility local7;</span></font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51373"><br id="yui_3_16_0_ym19_1_1486611566719_51374"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51373">no conf files in /var/lib/dhcp:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51373"><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51608">root@dl-360-143:~# find /var/lib/dhcp</div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51609">/var/lib/dhcp</div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51610">/var/lib/dhcp/dhcpd.leases~</div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51611">/var/lib/dhcp/dhcpd.leases</div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51612">/var/lib/dhcp/dhclient.leases</div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51613"><br id="yui_3_16_0_ym19_1_1486611566719_51614"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51613"><br></div></div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51373"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51373">Any other files I can share?</div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51373"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51373">Thanks,</div><div dir="ltr" id="yui_3_16_0_ym19_1_1486611566719_51373">Yinon</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Thursday, February 9, 2017 1:12 AM, Lloyd Parkes <lloyd@must-have-coffee.gen.nz> wrote:<br></font></div>  <br><br> <div class="y_msg_container"><div id="yiv3444267817"><div>Hi Yinon,<div class="yiv3444267817">What is in /var/lib/maas/dhcpd.conf? The directory /var/lib/dhcp doesn’t contain MAAS related stuff, instead it’s all under /var/lib/maas, even for DHCP.</div><div class="yiv3444267817"><br clear="none" class="yiv3444267817"></div><div class="yiv3444267817">Cheers,</div><div class="yiv3444267817">Lloyd</div><div class="yiv3444267817"><br clear="none" class="yiv3444267817"></div><div class="yiv3444267817"><br clear="none" class="yiv3444267817"><div><blockquote class="yiv3444267817" type="cite"><div class="yiv3444267817yqt8006404561" id="yiv3444267817yqt88107"><div class="yiv3444267817">On 9/02/2017, at 8:04 PM, Yinon <<a rel="nofollow" shape="rect" class="yiv3444267817" ymailto="mailto:yinonby.hpe@yahoo.com" target="_blank" href="mailto:yinonby.hpe@yahoo.com">yinonby.hpe@yahoo.com</a>> wrote:</div><br clear="none" class="yiv3444267817Apple-interchange-newline"><div class="yiv3444267817"><div class="yiv3444267817"><div class="yiv3444267817" style="background-color:rgb(255, 255, 255);font-family:'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:16px;"><div class="yiv3444267817" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40460"><span class="yiv3444267817" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40461">Hey and thank you for your reply,</span></div><div class="yiv3444267817" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40462"><br clear="none" class="yiv3444267817" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40463"></div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40464"><span class="yiv3444267817" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40465">(1) </span>I am specifying the IP address of the BMC (HPE iLO4). The BMC IP is not on a subnet directly connected, but it is routable (I can ping it). There is only 1 MAAS server (region controller and rack controller on the same server).</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40466"><br clear="none" class="yiv3444267817" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40467"></div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40468">(2) I enabled DHCP on the correct interface with untagged vlan (see snapshot <a rel="nofollow" shape="rect" class="yiv3444267817" target="_blank" href="https://docs.google.com/document/d/1lDVHBWlPMWEZmtiKfR2fwhCJo_W8vNfPSkIU7TVJoGc/edit?usp=sharing">https://docs.google.com/document/d/1lDVHBWlPMWEZmtiKfR2fwhCJo_W8vNfPSkIU7TVJoGc/edit?usp=sharing</a>), and specified a range. As I mentioned, I can see the incoming dhcp requests on the interface, on untagged packets.</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40469"><br clear="none" class="yiv3444267817" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40470"></div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40471">(3) Version: 2.1.3+bzr5573-0ubuntu1~16.04.1 .</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40472"><br clear="none" class="yiv3444267817" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40473"></div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40474">(4) syslog at: <a rel="nofollow" shape="rect" class="yiv3444267817" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40475" target="_blank" href="https://drive.google.com/file/d/0ByOMZZhJpZKCUGYtRWNQeWtHeEU/view?usp=sharing" style="color:rgb(25, 106, 212);">https://drive.google.com/file/d/0ByOMZZhJpZKCUGYtRWNQeWtHeEU/view?usp=sharing</a> . I saw mostly messages from the MAAS server dhclient, which seems to send dhcp discover on all ports periodically, which I don't believe should conflict with anything.</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40476"><br clear="none" class="yiv3444267817" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40477"></div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40478">In /var/lib/maas:</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40479">---------------------------------------------------------------------------------------</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40480">root@dl-360-143:~# cat /var/lib/maas/dhcpd-interfaces; echo</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40481">eno49</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40482">root@dl-360-143:~# cat /var/lib/maas/dhcp/dhcpd.leases</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40483"># The format of this file is documented in the dhcpd.leases(5) manual page.</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40484"># This lease file was written by isc-dhcp-4.3.3</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40485"><br clear="none" class="yiv3444267817" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40486"></div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40487">server-duid "\000\001\000\001 .\312\375<\250*\374\347p";</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40488">----------------------------------------------------------------------------------------<br clear="none" class="yiv3444267817" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40489"></div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40490"><br clear="none" class="yiv3444267817" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40491"></div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40492"><br clear="none" class="yiv3444267817" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40493"></div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40494"><br clear="none" class="yiv3444267817" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40495"></div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40496">I also don't see any listener on port 67, but since it's udp, I'm not sure I'm supposed to see it:</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40497">---------------------------------------------------------------------------------------</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40498">root@dl-360-143:~# netstat -tulpn | grep -w 67 | wc -l<br clear="none" class="yiv3444267817" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40499"></div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40500">0</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40501"><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40502" style="margin-top:0.1em;margin-bottom:0.1em;">---------------------------------------------------------------------------------------</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40503"><br clear="none" class="yiv3444267817" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40504"></div></div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40505">How can I get the status of MAAS dhcp server?</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40506"><br clear="none" class="yiv3444267817" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40507"></div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40508">Thanks,</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817yui_3_16_0_ym19_1_1486611566719_40509">Yinon</div> <div class="yiv3444267817qtdSeparateBR"><br clear="none" class="yiv3444267817"><br clear="none" class="yiv3444267817"></div><div class="yiv3444267817yahoo_quoted" style="display:block;"> <div class="yiv3444267817" style="font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div class="yiv3444267817" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div class="yiv3444267817" dir="ltr"><font class="yiv3444267817" size="2" face="Arial"> On Wednesday, February 8, 2017 10:59 PM, Mike Pontillo <<a rel="nofollow" shape="rect" class="yiv3444267817" ymailto="mailto:mike.pontillo@canonical.com" target="_blank" href="mailto:mike.pontillo@canonical.com">mike.pontillo@canonical.com</a>> wrote:<br clear="none" class="yiv3444267817"></font></div>  <br clear="none" class="yiv3444267817"><br clear="none" class="yiv3444267817"> <div class="yiv3444267817y_msg_container"><div class="yiv3444267817" id="yiv3444267817"><div class="yiv3444267817"><div class="yiv3444267817" dir="ltr"><div class="yiv3444267817gmail_extra"><div class="yiv3444267817yqt3796627793" id="yiv3444267817yqtfd71283"><div class="yiv3444267817gmail_quote">On Wed, Feb 8, 2017 at 3:04 PM, Yinon <span class="yiv3444267817" dir="ltr"><<a rel="nofollow" shape="rect" class="yiv3444267817" ymailto="mailto:yinonby.hpe@yahoo.com" target="_blank" href="mailto:yinonby.hpe@yahoo.com">yinonby.hpe@yahoo.com</a>></span> wrote:<br clear="none" class="yiv3444267817"><blockquote class="yiv3444267817gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv3444267817" dir="ltr" id="yiv3444267817m_2410262003086406690yui_3_16_0_ym19_1_1486586833694_22965"><span class="yiv3444267817" id="yiv3444267817m_2410262003086406690yui_3_16_0_ym19_1_1486586833694_22966">Regarding the pxe boot - I can see the incoming dhcp discover to port 67, and there is no response from the pxe server (MAAS server).</span></div><div class="yiv3444267817" dir="ltr" id="yiv3444267817m_2410262003086406690yui_3_16_0_ym19_1_1486586833694_22967">So no IP, and no pxe boot is successful.</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817m_2410262003086406690yui_3_16_0_ym19_1_1486586833694_22968"><br clear="none" class="yiv3444267817" id="yiv3444267817m_2410262003086406690yui_3_16_0_ym19_1_1486586833694_22969"></div><div class="yiv3444267817" dir="ltr" id="yiv3444267817m_2410262003086406690yui_3_16_0_ym19_1_1486586833694_22970">Regarding BMC - I can ping the iLO address from the MAAS server.</div><div class="yiv3444267817" dir="ltr" id="yiv3444267817m_2410262003086406690yui_3_16_0_ym19_1_1486586833694_22971"></div></blockquote></div></div><div class="yiv3444267817gmail_extra"><br clear="none" class="yiv3444267817"></div><div class="yiv3444267817gmail_extra">   Thanks for your feedback, and for giving MAAS a try. I looked through the logs; I have a few comments/questions that might be relevant.</div></div><div class="yiv3444267817gmail_extra"><br clear="none" class="yiv3444267817"></div><div class="yiv3444267817gmail_extra">(1) MAAS works best when you use IP addresses rather than hostnames to address BMCs, /and/ those IP addresses are on subnets directly connected to the MAAS server. This is recommended both to help to ensure that network or DNS failures cannot impact MAAS management of servers, and for HA; if you run multiple rack controllers, MAAS will need to select which one to communicate with the BMC on, and can do that more reliably if it is on a directly-attached IP subnet, specified by an IP address. If MAAS cannot make that determination, if should attempt to fall back to trying to determine if the BMC is routable from a rack controller. (It sounds like that fallback might be happening in your case; if that's true, we could have a bug.)</div><div class="yiv3444267817gmail_extra"> - Are you specifying a hostname or IP address for your BMC?</div><div class="yiv3444267817gmail_extra"> - Is the BMC connected directly to a subnet configured on the MAAS server, or is it only available via routing? (You can use "ip route get <bmc-ip-address>" to determine that.)</div><div class="yiv3444267817gmail_extra"><br clear="none" class="yiv3444267817"></div><div class="yiv3444267817gmail_extra">(2) In order for DHCP (and, thus, PXE booting) to operate, the appropriate VLAN must be enabled for DHCP management in MAAS, and a dynamic IP range must be set up for [a] subnet(s) on that VLAN. If MAAS is nether responding to DHCP nor TFTP requests for PXE booting, check that DHCP is enabled on the appropriate VLAN. (Usually to do this, you browse to it under the Subnets tab and click on the 'untagged' VLAN that is displayed next to the subnet(s) you wish to manage.) If the network model in MAAS does not match your physical topology, MAAS might not enable DHCP on the correct interface. So it would be good to double-check that.</div><div class="yiv3444267817gmail_extra"><br clear="none" class="yiv3444267817"></div><div class="yiv3444267817gmail_extra">(3) What specific version of MAAS you're using. (We should really print that out in the logs, to be honest.) From the logs, it looks like at least 2.1. (Is it 2.1.3 -- the latest in xenial-updates -- I hope?)</div><div class="yiv3444267817gmail_extra"><br clear="none" class="yiv3444267817"></div><div class="yiv3444267817gmail_extra">(4) You might want to take a look at /var/log/syslog (check for messages from dhcp) and in /var/lib/maas (check for DHCP configuration files to see if they are correct).</div><div class="yiv3444267817gmail_extra"><br clear="none" class="yiv3444267817"></div><div class="yiv3444267817gmail_extra">   Hope that helps.</div><div class="yiv3444267817gmail_extra"><br clear="none" class="yiv3444267817"></div><div class="yiv3444267817gmail_extra">Regards,</div><div class="yiv3444267817gmail_extra">Mike</div></div></div></div><br clear="none" class="yiv3444267817"><br clear="none" class="yiv3444267817"></div>  </div> </div>  </div></div></div>-- <br clear="none" class="yiv3444267817">Maas-devel mailing list<br clear="none" class="yiv3444267817"><a rel="nofollow" shape="rect" class="yiv3444267817" ymailto="mailto:Maas-devel@lists.ubuntu.com" target="_blank" href="mailto:Maas-devel@lists.ubuntu.com">Maas-devel@lists.ubuntu.com</a><br clear="none" class="yiv3444267817">Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/maas-devel<br clear="none" class="yiv3444267817"></div></div></blockquote></div><br clear="none" class="yiv3444267817"></div></div></div><br><br></div>  </div> </div>  </div></div></body></html>