<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">hi Huan, <br><br>thanks for your suggest, I'll try again, do I need to add physical port to br-int at compute node (dom-U) ?<br><br>I'll paste the dhcp logs later.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 23, 2017 at 10:46 AM, Huan Xie <span dir="ltr"><<a href="mailto:huan.xie@citrix.com" target="_blank">huan.xie@citrix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div class="m_-5590005876106566334WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Adhi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">As the link
</span><span lang="EN-GB" style="font-family:"Verdana",sans-serif"><a href="https://docs.openstack.org/ocata/networking-guide/config-dhcp-ha.html" target="_blank">https://docs.openstack.org/<wbr>ocata/networking-guide/config-<wbr>dhcp-ha.html</a></span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">
described, we can add DHCP agent in compute node (DomU) and it make sense as VMs just get internal fixed IP, so locating the DHCP in compute node should work.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">If the VM cannot get IP, I suspect maybe the VM’s DHCP request isn’t arrived to that DHCP agent, maybe
the so here are some questions:<u></u><u></u></span></p>
<p class="m_-5590005876106566334MsoListParagraph">
<u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><span>1.<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">The
</span><span style="font-size:9.5pt;font-family:Consolas;color:#e74c3c;background:#f9f2f4">agent_scheduler
</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">isn’t work for the DHCP agent in Nova compute node? Could you give some logs of DHCP agent.<u></u><u></u></span></p>
<p class="m_-5590005876106566334MsoListParagraph">
<u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><span>2.<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">The VM isn’t get correct internal vlan tag? Could you double check about the VM’s VIF information in Dom0.<u></u><u></u></span></p>
<p class="m_-5590005876106566334MsoListParagraph" style="margin-left:1.0in">
<u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><span>a.<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">ovs-vsctl show<u></u><u></u></span></p>
<p class="m_-5590005876106566334MsoListParagraph" style="margin-left:1.0in">
<u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><span>b.<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">ovs-ofctl show br-int<u></u><u></u></span></p>
<p class="m_-5590005876106566334MsoListParagraph" style="margin-left:1.0in">
<u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><span>c.<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">ovs-ofctl dump-flows br-int<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks,
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Huan<u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Adhi Priharmanto [mailto:<a href="mailto:adhi.pri@gmail.com" target="_blank">adhi.pri@gmail.com</a>]
<br>
<b>Sent:</b> Wednesday, August 23, 2017 9:32 AM<br>
<b>To:</b> Bob Ball<br>
<b>Cc:</b> openstack; #OpenStack External Email<br>
<b>Subject:</b> Re: [Openstack] [xenserver-ocata] neutron-dhcp/metadata agent on XenServer<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif">hi bob,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif">yep, yesterday I try to install </span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">neutron-dhcp/metadata agent along with nova-compute inside of compute node (domU) , the neutron-dhcp/metadata
agent was working, I see from the log. but instance can't get the IP address from dhcp server.</span><span style="font-family:"Verdana",sans-serif"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">the working scenario now, I made 2 network node, on each network node contain L3-Agent, DHCP-agent, and metadata-agent.</span><span style="font-family:"Verdana",sans-serif"><u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Tue, Aug 22, 2017 at 9:25 PM, Bob Ball <<a href="mailto:bob.ball@citrix.com" target="_blank">bob.ball@citrix.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Adhi,</span><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">If the Neutron agents would normally run with the nova compute services, then they would
need to run in the compute VM when deploying with XenServer, not in domain 0.</span><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I would assume that the DHCP agents should also run in the compute VM.</span><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Also added
<a href="mailto:openstack@citrix.com" target="_blank">openstack@citrix.com</a> to include others.</span><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Bob</span><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Adhi Priharmanto [mailto:<a href="mailto:adhi.pri@gmail.com" target="_blank">adhi.pri@gmail.com</a>]
<br>
<b>Sent:</b> 22 August 2017 06:58<br>
<b>To:</b> openstack <<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><wbr>><br>
<b>Subject:</b> [Openstack] [xenserver-ocata] neutron-dhcp/metadata agent on XenServer</span><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> <u></u><u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Verdana",sans-serif">Hi, <br>
According to this guide:</span><span lang="EN-GB"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Verdana",sans-serif"><a href="https://docs.openstack.org/ocata/networking-guide/config-dhcp-ha.html" target="_blank">https://docs.openstack.org/<wbr>ocata/networking-guide/config-<wbr>dhcp-ha.html</a></span><span lang="EN-GB"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Verdana",sans-serif"><br>
If I want to add HA on my openstack-xenserver environment , is it possible to include neutron-dhcp/metadata agent on Compute-node ?</span><span lang="EN-GB"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-GB" style="font-family:"Verdana",sans-serif">or I have to add neutron-dhcp/metadata agent on xenserver dom0 ?</span><span lang="EN-GB"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Verdana",sans-serif">or I have to create more neutron-dhcp/metadata agent on separate node ?</span><span lang="EN-GB"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> <u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span lang="EN-GB">--
<u></u><u></u></span></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif">Cheers,</span><span lang="EN-GB"><u></u><u></u></span></p>
<table class="m_-5590005876106566334MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="outline:0px">
<tbody>
<tr style="height:22.5pt;outline:0px;font-weight:inherit;font-style:inherit">
<td width="0" valign="bottom" style="width:.3pt;padding:0in 0in 0in 0in;height:22.5pt;outline:0px;font-style:inherit">
<p class="MsoNormal" style="line-height:13.65pt">
<span style="font-size:1.0pt;font-family:inherit;color:#333333"> </span><u></u><u></u></p>
</td>
</tr>
<tr style="outline:0px;font-weight:inherit;font-style:inherit">
<td width="0" valign="bottom" style="width:.3pt;padding:0in 0in 0in 0in;outline:0px;font-style:inherit">
<table class="m_-5590005876106566334MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="outline:0px;font-weight:inherit;font-style:inherit">
<tbody>
<tr style="outline:0px;font-style:inherit">
<td width="0" valign="top" style="width:.3pt;padding:0in 0in 0in 0in;outline:0px;font-weight:inherit;font-style:inherit">
<div>
<p class="MsoNormal" style="vertical-align:baseline">
<b><span style="font-size:13.5pt;font-family:"Helvetica",sans-serif;color:#333333">Adhi Priharmanto</span></b><u></u><u></u></p>
</div>
<div style="margin-top:2.25pt;outline:0px;font-weight:inherit;font-style:inherit">
<p class="MsoNormal" style="vertical-align:baseline">
<span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#2b82ad"><a href="http://about.me/a_dhi" target="_blank">about.me/a_dhi</a></span><u></u><u></u></p>
</div>
</td>
</tr>
<tr style="outline:0px;font-weight:inherit;font-style:inherit">
<td width="0" valign="top" style="width:.3pt;padding:6.0pt 0in 0in 0in;outline:0px;font-style:inherit">
<p class="MsoNormal" align="right" style="text-align:right;background:#c5d0e0;vertical-align:baseline">
<span style="font-family:inherit"><img border="0" width="88" height="4" id="m_-5590005876106566334_x0000_i1053" src="http://d13pix9kaak6wt.cloudfront.net/signature/colorbar.png"></span><u></u><u></u></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="line-height:0%;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:inherit;color:#333333"> </span><u></u><u></u></p>
</td>
</tr>
<tr style="height:15.0pt;outline:0px;font-weight:inherit;font-style:inherit">
<td width="0" valign="bottom" style="width:.3pt;padding:0in 0in 0in 0in;height:15.0pt;outline:0px;font-style:inherit">
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif"><a href="tel:+62%20812-8212-1584" target="_blank">+62-812-82121584</a></span><span lang="EN-GB"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> <u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif">Cheers,</span><u></u><u></u></p>
<table class="m_-5590005876106566334MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="outline:0px;border-spacing:0px">
<tbody>
<tr style="height:22.5pt;outline:0px;font-weight:inherit;font-style:inherit">
<td width="0" valign="bottom" style="width:.3pt;padding:0in 0in 0in 0in;height:22.5pt;outline:0px;font-style:inherit">
<p class="MsoNormal" style="line-height:13.65pt"><span style="font-size:1.0pt;font-family:inherit;color:#333333"> <u></u><u></u></span></p>
</td>
</tr>
<tr style="outline:0px;font-weight:inherit;font-style:inherit">
<td width="0" valign="bottom" style="width:.3pt;padding:0in 0in 0in 0in;outline:0px;font-style:inherit">
<table class="m_-5590005876106566334MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="outline:0px;font-weight:inherit;font-style:inherit;border-spacing:0px">
<tbody>
<tr style="outline:0px;font-style:inherit">
<td width="0" valign="top" style="width:.3pt;padding:0in 0in 0in 0in;outline:0px;font-weight:inherit;font-style:inherit;display:inline-block">
<p class="MsoNormal"><span style="font-family:inherit"><u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><b><span style="font-size:13.5pt;font-family:"Helvetica",sans-serif;color:#333333">Adhi Priharmanto<u></u><u></u></span></b></p>
</div>
<div style="margin-top:2.25pt;outline:0px;font-weight:inherit;font-style:inherit">
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#2b82ad"><a href="http://about.me/a_dhi" target="_blank">about.me/a_dhi</a><u></u><u></u></span></p>
</div>
</td>
</tr>
<tr style="outline:0px;font-weight:inherit;font-style:inherit">
<td width="0" valign="top" style="width:.3pt;padding:6.0pt 0in 0in 0in;outline:0px;font-style:inherit">
<p class="MsoNormal" align="right" style="text-align:right;background:#c5d0e0;vertical-align:baseline">
<span style="font-family:inherit"><img border="0" width="88" height="4" id="m_-5590005876106566334_x0000_i1054" src="http://d13pix9kaak6wt.cloudfront.net/signature/colorbar.png"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="line-height:0%;vertical-align:baseline"><span style="font-size:10.5pt;font-family:inherit;color:#333333">
<u></u><u></u></span></p>
</td>
</tr>
<tr style="height:15.0pt;outline:0px;font-weight:inherit;font-style:inherit">
<td width="0" valign="bottom" style="width:.3pt;padding:0in 0in 0in 0in;height:15.0pt;outline:0px;font-style:inherit">
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif"><a href="tel:+62%20812-8212-1584" value="+6281282121584" target="_blank">+62-812-82121584</a></span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><font size="2"><span style="font-family:trebuchet ms,sans-serif">Cheers,</span><br style="font-family:trebuchet ms,sans-serif"><br></font><table border="0" cellpadding="0" cellspacing="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-size:14px;font-family:proxima-nova-1,proxima-nova-2,Tahoma,Helvetica,Verdana,sans-serif;vertical-align:baseline;border-spacing:0px;color:rgb(51,51,51);line-height:18.2000007629395px"><tbody style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;width:auto;height:30px"> </td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:baseline;width:auto"><div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;line-height:0"><a href="http://about.me/a_dhi?promo=email_sig" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(58,169,233);text-decoration:none;display:inline-block" target="_blank"><table border="0" cellpadding="0" cellspacing="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;border-spacing:0px"><tbody style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td align="left" valign="top" style="padding:0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:top;width:auto;line-height:1"><img alt="--" width="0" height="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;display:block;width:0px;height:0px;overflow:hidden"><div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:bold;font-style:inherit;font-size:18px;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif;vertical-align:baseline;line-height:1;color:rgb(51,51,51)">Adhi Priharmanto</div><div style="margin:3px 0px 0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:12px;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif;vertical-align:baseline;color:rgb(43,130,173)"><img alt="http://" width="0" height="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;display:block;width:0px;height:0px;overflow:hidden">about.me/a_dhi</div></td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td align="left" valign="top" style="padding:8px 0px 0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:top;width:auto;line-height:1"><div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;text-align:right;height:4px;background-color:rgb(197,208,224)"><img src="http://d13pix9kaak6wt.cloudfront.net/signature/colorbar.png" alt="" width="88" height="4" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;float:right;display:block"></div></td></tr></tbody></table></a> </div></td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;width:auto;height:20px"></td></tr></tbody></table><font size="2"><span style="font-family:trebuchet ms,sans-serif">+62-812-82121584<br></span></font></div><div><font size="2"><span style="font-family:trebuchet ms,sans-serif"><br></span></font></div></div></div></div></div>
</div>