<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi team,</p>
<p><br>
</p>
<p>I met some problem when u<span>sing ironic in a devstack environment to deploy OS on bare-metal host.</span></p>
<p><span>By now I can successfully boot into the tiny os and set ip, also I can ping the ip from my devstack server. However, when the tiny os running some configuration, it will failed after about 5 minutes.</span></p>
<p><span>I found some log information in "/var/log/<span>ironic-python-agent.log</span>" in the tiny os that may relate to the problem:</span></p>
<p><span><br>
</span></p>
<p><span><span>"DEBUG oslo_concurrency.processutils [-] u'iscsistart -f' failed. Not Retrying. execute /usr/local/lib/python2.7/site-packages/oslo_concurrency/processutils.py:457"</span><br>
</span></p>
<p><span><span><span>"DEBUG root [-] No iscsi connection detected. Skipping iscsi. Error: [Errno 2] No such file or directory _check_for_iscsi /usr/local/lib/python2.7/site-packages/ironic_python_agent/hardware.py:107"</span><br>
</span></span></p>
<p><span><span><span>"<span>WARNING root [-] The root device was not detected in 27 seconds: DeviceNotFound: Error finding the disk or partition device to deploy the image onto: No suitable device was found for deployment - root device hints were not provided
 and all found block devices are smaller than 4294967296B.</span>"</span></span></span></p>
<p><span><span><span>"<span>WARNING root [-] Can't find field vendor for device usb0 in device class net: IOError: [Errno 2] No such file or directory: '/sys/class/net/usb0/device/vendor'</span>"</span></span></span></p>
<p><span><span><span>"<span>WARNING root [-] Can't find field vendor for device tunl0 in device class net: IOError: [Errno 2] No such file or directory: '/sys/class/net/tunl0/device/vendor'</span>"</span></span></span></p>
<p><span><span><span>"<span>DEBUG root [-] No Mellanox devices found evaluate_hardware_support /usr/local/lib/python2.7/site-packages/ironic_python_agent/hardware_managers/mlnx.py:84</span>"</span></span></span></p>
<p><span><span><span><br>
</span></span></span></p>
<p><span><span><span>And when it deploy faild and I run command "<span>openstack baremetal node show server-51</span>", it will show following information on 'last_error' field:</span></span></span></p>
<p><span><span><span><br>
</span></span></span></p>
<p><span><span><span><span>"Asynchronous exception: Node failed to deploy. Exception: Connection to agent failed: Failed to connect to the agent running on node f8794658-bc69-40cb-9673-be75f78ced21 for invoking command iscsi.start_iscsi_target. Error: ('Connection
 aborted.', BadStatusLine("''",)) for node"</span><br>
</span></span></span></p>
<p><span><span><span><span><br>
</span></span></span></span></p>
<p><span><span><span><span>I'm trying to debug, but have not find the root cause, please give me your advice if someone have </span></span></span></span><span style="font-size: 12pt;">experience on it. Thank you!</span></p>
<p><br>
</p>
<div id="Signature">
<div id="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>
</body>
</html>