<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Thank you Julia and Mohammed,</p>
<p>I guess there may have something wrong with my network configuration. Because CI server is not directly connect with BM node.</p>
<p>As our physical network is designed like this:</p>
<p><img size="80094" id="x_img674334" tabindex="0" style="max-width:99.9%" src="cid:a7c29f59-740a-4fd7-8a84-c6a28a27a0c5"><br>
</p>
<p>So I use neutron to create "br-ens9" between ens9 and br-int when I deploy devstack. So that it can ping to ip I assigned to eno2 on BM node when deploying. However, I don't know whether ironic conductor can communiate to ironic python agent. Is that could
 be the root cause? I will take a look into it.</p>
<p>Thank you!</p>
<p><br>
</p>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p><span style="font-size:12pt">Best Regards,</span><br>
</p>
<p>Guannan</p>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>发件人:</b> Julia Kreger <juliaashleykreger@gmail.com><br>
<b>发送时间:</b> 2019年11月27日 4:05:31<br>
<b>收件人:</b> Mohammed Naser<br>
<b>抄送:</b> Guannan GN2 Sun; openstack-discuss@lists.openstack.org; Jay Bryant1<br>
<b>主题:</b> [External] Re: Communication problem between ironic-python-agent and CI server.</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Jay reached out to me and in some discussion it seems like the<br>
following is occurring:<br>
<br>
* Ramdisk is loading from tftp_server<br>
* Conductor is not able to reach the 10.0.0.0/24 subnet where the<br>
ironic-python-agent is running<br>
* There appears to be a lack of a route inside the CI host that the<br>
conductor is operating on telling the host kernel to direct packets<br>
for IPA to the neutron router. Ramdisk loading would still work if<br>
egress traffic is being NAT translated, but ingress traffic would<br>
appear like this, ironic being unable to send packets because the<br>
conductor is communicating from the context of the CI host, and any<br>
namespaces created by neutron may not be directly reachable.<br>
<br>
-Julia<br>
<br>
On Tue, Nov 26, 2019 at 1:48 AM Mohammed Naser <mnaser@vexxhost.com> wrote:<br>
><br>
><br>
><br>
> Sent from my iPhone<br>
><br>
> On Nov 26, 2019, at 4:34 AM, Guannan GN2 Sun <sungn2@lenovo.com> wrote:<br>
><br>
> <br>
><br>
> Hi team,<br>
><br>
><br>
> I'm now trying to use ironic deployed with devstack to manage baremetal machine.<br>
><br>
> However when it run into deploying stage, I open the BM server terminal and see it successfully load ramdisk and boot into it. It get the ip I assigned and I can ping it from CI server side. But it then deploy failed just about 2 minutes later.<br>
><br>
><br>
> When I check ironic-conductor log with command "sudo journalctl -a --unit devstack@ir-cond" and found error like this:<br>
><br>
> ERROR ironic.drivers.modules.agent_client [None req-de37bc21-8d62-41db-8983-c06789939818 None None] Failed to connect to the agent running on node ea88ba26-756d-4d32-89f4-7ff086fa8868 for invoking command iscsi.start_iscsi_target. Error: HTTPConnectionPool(host='10.0.0.25',
 port=9999): Max retries exceeded with url: /v1/commands?wait=true (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f5461027f10>, 'Connection to 10.0.0.25 timed out. (connect timeout=60)')): ConnectTimeout: HTTPConnectionPool(host='10.0.0.25',
 port=9999): Max retries exceeded with url: /v1/commands?wait=true (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f5461027f10>, 'Connection to 10.0.0.25 timed out. (connect timeout=60)'))<br>
><br>
> I can ping it from CI server side, so it is strange why the connection time out between ironic-python-agent and CI server. Does anyone meet similar problem or have idea about it?<br>
><br>
><br>
> You can ping it but can you make an HTTP request to port 9999 via something like curl?<br>
><br>
> Thank you!<br>
><br>
><br>
> Best Regards,<br>
><br>
> Guannan<br>
</div>
</span></font>
</body>
</html>