<p dir="ltr">Hi Vikas,</p>
<p dir="ltr">It looks like the iscsi deploy process wasn't able to attach to the node. This could be a network issue.</p>
<p dir="ltr">Also, what kernel and ramdisk are you using for the deploy step? Did you download one, or build it with disk-image-builder? cirros is only suitable for the instance image, not the deploy.</p>
<p dir="ltr">Regards,<br>
-Deva<br>
</p>
<div class="gmail_quote">On Jul 29, 2015 5:56 PM, "Vikas Choudhary" <<a href="mailto:choudharyvikas16@gmail.com">choudharyvikas16@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8000001907349px">Hi,</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">I am trying to boot an instance using pxe deployment process.I am using cirros-0.3.4-x86_64-uec image to boot the baremetal server VM.ramdisk and kernel images are being deployed successfully , but at kernel initialization time its getting stuck there.In console logs I can see that tgtd daemon is failing.</span><br style="font-size:12.8000001907349px"><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">CONSOLE LOGS:</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Jul 29 23:17:18 (none) daemon.warn tgtd: tgtd logger started, pid:219 debug:0^M</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">waiting for tgtd socket...found^M</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Jul 29 23:17:19 (none) daemon.err tgtd: iser_ib_init(3351) Failed to initialize RDMA; load kernel modules?^M</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Jul 29 23:17:19 (none) daemon.err tgtd: work_timer_start(150) use signal based scheduler^M</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Jul 29 23:17:19 (none) daemon.err tgtd: bs_init_signalfd(271) could not open backing-store module directory /usr/lib/tgt/backing-store</span><br style="font-size:12.8000001907349px"><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">ir-cond logs:</span><br style="font-size:12.8000001907349px"><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base [-] vendor_passthru failed with method pass_deploy_info</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base Traceback (most recent call last):</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base   File "/opt/stack/ironic/ironic/</span><span style="font-size:12.8000001907349px">drivers/base.py", line 614, in passthru_handler</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base     return func(*args, **kwargs)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base   File "/opt/stack/ironic/ironic/</span><span style="font-size:12.8000001907349px">conductor/task_manager.py", line 129, in wrapper</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base     return f(*args, **kwargs)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base   File "/opt/stack/ironic/ironic/</span><span style="font-size:12.8000001907349px">drivers/modules/iscsi_deploy.</span><span style="font-size:12.8000001907349px">py", line 815, in pass_deploy_info</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base     uuid_dict_returned = continue_deploy(task, **kwargs)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base   File "/opt/stack/ironic/ironic/</span><span style="font-size:12.8000001907349px">drivers/modules/iscsi_deploy.</span><span style="font-size:12.8000001907349px">py", line 392, in continue_deploy</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base     _fail_deploy(task, msg)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base   File "/opt/stack/ironic/ironic/</span><span style="font-size:12.8000001907349px">drivers/modules/iscsi_deploy.</span><span style="font-size:12.8000001907349px">py", line 365, in _fail_deploy</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base     raise exception.</span><span style="font-size:12.8000001907349px">InstanceDeployFailure(msg)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base InstanceDeployFailure: Deploy failed for instance 42c3dea0-1f08-44f6-a38a-</span><span style="font-size:12.8000001907349px">e6bd16d1212a. Error: Unexpected error while running command.</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base Command: sudo ironic-rootwrap /etc/ironic/rootwrap.conf iscsiadm -m discovery -t st -p </span><a href="http://50.0.0.10:3260/" style="font-size:12.8000001907349px" target="_blank">50.0.0.10:3260</a><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base Exit code: 4</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base Stdout: u''</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base Stderr: u'iscsiadm: connect to 50.0.0.10 timed out\niscsiadm: connect to 50.0.0.10 timed out\niscsiadm: connect to 50.0.0.10 timed out\niscsiadm: connect to 50.0.0.10 timed out\niscsiadm: connect to 50.0.0.10 timed out\niscsiadm: connect to 50.0.0.10 timed out\niscsiadm: connection login retries (reopen_max) 5 exceeded\niscsiadm: Could not perform SendTargets discovery: encountered connection failure\n'</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">2015-07-30 04:55:47.217 355 DEBUG ironic.conductor.task_manager [-] Successfully released exclusive lock for calling vendor passthru on node ac0a1e31-2545-4d26-988a-</span><span style="font-size:12.8000001907349px">56134584721e (lock was held 496.37 sec) release_resources /opt/stack/ironic/ironic/</span><span style="font-size:12.8000001907349px">conductor/task_manager.py:305</span><br style="font-size:12.8000001907349px"><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">I would really appreciate any help/discussion/pointers.</span><span style="font-size:12.8000001907349px">Please suggest.</span><br></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div>