<div dir="ltr"><pre style="margin-top:1.5em;margin-bottom:1.5em;padding:0px;border:0px;font-size:12.00119972229px;font-family:'andale mono','lucida console',monospace;vertical-align:baseline;white-space:pre-wrap;font-stretch:normal;line-height:18.0018005371094px;color:rgb(83,83,83)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8000001907349px;line-height:normal;white-space:normal">Hi Deva,</span><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8000001907349px;line-height:normal;white-space:normal"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8000001907349px;line-height:normal;white-space:normal">Thanks for replying on my problem.Actually i am using devstack for deployment.For deployment also cirros kernel and ramdisk images are being used.I got issue resolved by using localrc from this link <a href="http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html" target="_blank">http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html</a></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8000001907349px;line-height:normal;white-space:normal">In older localrc i was using few time-outs also may be those were causing problem.</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8000001907349px;line-height:normal;white-space:normal"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8000001907349px;line-height:normal;white-space:normal"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8000001907349px;line-height:normal;white-space:normal">Thanks & Regards</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8000001907349px;line-height:normal;white-space:normal">Vikas</div></pre><pre style="margin-top:1.5em;margin-bottom:1.5em;padding:0px;border:0px;font-size:12.00119972229px;font-family:'andale mono','lucida console',monospace;vertical-align:baseline;white-space:pre-wrap;font-stretch:normal;line-height:18.0018005371094px;color:rgb(83,83,83)">___________________________________________________________________________</pre><pre style="margin-top:1.5em;margin-bottom:1.5em;padding:0px;border:0px;font-size:12.00119972229px;font-family:'andale mono','lucida console',monospace;vertical-align:baseline;white-space:pre-wrap;font-stretch:normal;line-height:18.0018005371094px;color:rgb(83,83,83)">Hi Vikas,
It looks like the iscsi deploy process wasn't able to attach to the node.
This could be a network issue.
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.
Regards,
-Deva
On Jul 29, 2015 5:56 PM, "Vikas Choudhary" <<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-size:12.00119972229px;font-family:inherit;vertical-align:baseline;color:rgb(188,21,24);text-decoration:none">choudharyvikas16 at gmail.com</a>>
wrote:
><i> Hi,
</i>><i> I am trying to boot an instance using pxe deployment process.I am using
</i>><i> cirros-0.3.4-x86_64-uec image to boot the baremetal server VM.ramdisk and
</i>><i> kernel images are being deployed successfully , but at kernel
</i>><i> initialization time its getting stuck there.In console logs I can see that
</i>><i> tgtd daemon is failing.
</i>><i>
</i>><i> CONSOLE LOGS:
</i>><i> Jul 29 23:17:18 (none) daemon.warn tgtd: tgtd logger started, pid:219
</i>><i> debug:0^M
</i>><i> waiting for tgtd socket...found^M
</i>><i> Jul 29 23:17:19 (none) daemon.err tgtd: iser_ib_init(3351) Failed to
</i>><i> initialize RDMA; load kernel modules?^M
</i>><i> Jul 29 23:17:19 (none) daemon.err tgtd: work_timer_start(150) use signal
</i>><i> based scheduler^M
</i>><i> Jul 29 23:17:19 (none) daemon.err tgtd: bs_init_signalfd(271) could not
</i>><i> open backing-store module directory /usr/lib/tgt/backing-store
</i>><i>
</i>><i> ir-cond logs:
</i>><i>
</i>><i> 2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base [-] vendor_passthru
</i>><i> failed with method pass_deploy_info
</i>><i> 2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base Traceback (most
</i>><i> recent call last):
</i>><i> 2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base File
</i>><i> "/opt/stack/ironic/ironic/drivers/base.py", line 614, in passthru_handler
</i>><i> 2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base return
</i>><i> func(*args, **kwargs)
</i>><i> 2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base File
</i>><i> "/opt/stack/ironic/ironic/conductor/task_manager.py", line 129, in wrapper
</i>><i> 2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base return f(*args,
</i>><i> **kwargs)
</i>><i> 2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base File
</i>><i> "/opt/stack/ironic/ironic/drivers/modules/iscsi_deploy.py", line 815, in
</i>><i> pass_deploy_info
</i>><i> 2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base
</i>><i> uuid_dict_returned = continue_deploy(task, **kwargs)
</i>><i> 2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base File
</i>><i> "/opt/stack/ironic/ironic/drivers/modules/iscsi_deploy.py", line 392, in
</i>><i> continue_deploy
</i>><i> 2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base
</i>><i> _fail_deploy(task, msg)
</i>><i> 2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base File
</i>><i> "/opt/stack/ironic/ironic/drivers/modules/iscsi_deploy.py", line 365, in
</i>><i> _fail_deploy
</i>><i> 2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base raise exception.
</i>><i> InstanceDeployFailure(msg)
</i>><i> 2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base
</i>><i> InstanceDeployFailure: Deploy failed for instance 42c3dea0-1f08-44f6-a38a-e6bd16d1212a.
</i>><i> Error: Unexpected error while running command.
</i>><i> 2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base Command: sudo
</i>><i> ironic-rootwrap /etc/ironic/rootwrap.conf iscsiadm -m discovery -t st -p
</i>><i> <a href="http://50.0.0.10:3260">50.0.0.10:3260</a>
</i>><i> 2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base Exit code: 4
</i>><i> 2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base Stdout: u''
</i>><i> 2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base Stderr: u'iscsiadm:
</i>><i> connect to 50.0.0.10 timed out\niscsiadm: connect to 50.0.0.10 timed
</i>><i> out\niscsiadm: connect to 50.0.0.10 timed out\niscsiadm: connect to
</i>><i> 50.0.0.10 timed out\niscsiadm: connect to 50.0.0.10 timed out\niscsiadm:
</i>><i> connect to 50.0.0.10 timed out\niscsiadm: connection login retries
</i>><i> (reopen_max) 5 exceeded\niscsiadm: Could not perform SendTargets discovery:
</i>><i> encountered connection failure\n'
</i>><i> 2015-07-30 04:55:47.095 355 ERROR ironic.drivers.base
</i>><i> 2015-07-30 04:55:47.217 355 DEBUG ironic.conductor.task_manager [-]
</i>><i> Successfully released exclusive lock for calling vendor passthru on node
</i>><i> ac0a1e31-2545-4d26-988a-56134584721e (lock was held 496.37 sec)
</i>><i> release_resources /opt/stack/ironic/ironic/conductor/task_manager.py:305
</i>><i>
</i>><i> I would really appreciate any help/discussion/pointers.Please suggest.
</i>><i>
</i>><i> __________________________________________________________________________
</i>><i> OpenStack Development Mailing List (not for usage questions)
</i>><i> Unsubscribe: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-size:12.00119972229px;font-family:inherit;vertical-align:baseline;color:rgb(188,21,24);text-decoration:none">OpenStack-dev-request at lists.openstack.org</a>?subject:unsubscribe
</i>><i> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-size:12.00119972229px;font-family:inherit;vertical-align:baseline;color:rgb(188,21,24);text-decoration:none">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</i>><i>
</i>></pre></div>