<div dir="ltr"><div dir="ltr"><div><div>Hi Chen,<br><br></div>I think I had exactly the
 same problem like you [1]. My problem was that the dnsmasq process of 
neutron did not assign an ip to the nested baremetal instance. You can 
check with tcpdump if there are DHCP Boot Requests and if they are 
replied. I have not solved the issue but did a workaround. I was using 
Ubuntu 14.04 as controller VM. I configured the dhcp server by myself 
using isc-dhcp-server [2]. The booting baremetal VM received DHCP offers
 and everything worked fine. I did not configure PXE or tftp (this was 
done by ironic).<br>
<br>[1] <a href="https://ask.openstack.org/en/question/31253/ironic-node-stuck-in-provisioning-state-wait-call-back/" target="_blank">https://ask.openstack.org/en/question/31253/ironic-node-stuck-in-provisioning-state-wait-call-back/</a><br>


[2]
<a href="http://wiki.ubuntuusers.de/ISC-DHCPD" target="_blank">http://wiki.ubuntuusers.de/ISC-DHCPD</a><br></div><br>Kai<br><div><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

2014-06-27 8:21 GMT+02:00 Li, Chen <span dir="ltr"><<a href="mailto:chen.li@intel.com" target="_blank">chen.li@intel.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">Hi list,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I'm trying to install/using ironic. <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have followed steps here :<u></u><u></u></p>
<p class="MsoNormal"><a href="http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html#deploying-ironic-with-devstack" target="_blank">http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html#deploying-ironic-with-devstack</a><u></u><u></u></p>


<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">While, after I run command "nova boot --flavor baremetal --image cirros-0.3.2-x86_64-uec  test1"<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">My instance stays in BUILD and spawning for a really long time, and become ERROR at end.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:.5in">nova list<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">+--------------------------------------+-------+--------+------------+-------------+----------+<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| ID                                   | Name  | Status | Task State | Power State | Networks |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">+--------------------------------------+-------+--------+------------+-------------+----------+<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| bd10abaa-7cb4-492e-9afd-5027303631f1 | test1  | ERROR  | -          | Running     |          |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| c3e4fccb-dc2b-41dc-8270-2cce5e8fe404 | test2 | BUILD  | spawning   | NOSTATE     |          |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| 3dcfabba-ca32-44ad-988a-c22f7308ed7a | test3 | BUILD  | spawning   | NOSTATE     |          |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">+--------------------------------------+-------+--------+------------+-------------+----------+<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">This is my log for compute.log:<u></u><u></u></p>
<p class="MsoNormal"><a href="http://paste.openstack.org/" target="_blank">http://paste.openstack.org/</a><u></u><u></u></p>
<p class="MsoNormal">Looks like it is waiting ironic node to become ACTIVE.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">This is my ironic-conductor service log:<u></u><u></u></p>
<p class="MsoNormal"><a href="http://paste.openstack.org/show/85043/" target="_blank">http://paste.openstack.org/show/85043/</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">No obvious error message can be find, but there is a warning:<u></u><u></u></p>
<p class="MsoNormal" style="text-indent:.5in">WARNING ironic.common.neutron [-] No VIFs found for node c9caca46-64a7-44d5-b6db-554077b2473a when attempting to update Neutron DHCP BOOT options.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is this warning caused instance can't start ??<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I also check neutron-server, no IP has been allocated at all.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Anyone know why this is happened ???<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks.<u></u><u></u></p>
<p class="MsoNormal">-chen<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Other commands output:<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">ironic node-list<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">+--------------------------------------+--------------------------------------+-------------+-----------------+-------------+<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| uuid                                 | instance_uuid                        | power_state | provision_state | maintenance |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">+--------------------------------------+--------------------------------------+-------------+-----------------+-------------+<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| c9caca46-64a7-44d5-b6db-554077b2473a | 3dcfabba-ca32-44ad-988a-c22f7308ed7a | power on    | wait call-back  | False       |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| 6d6c29e0-b81d-4ed9-9e2a-675b5221aba9 | bd10abaa-7cb4-492e-9afd-5027303631f1 | power on    | wait call-back  | False       |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| 9604af4b-a61a-4157-8431-e61235de7b92 | c3e4fccb-dc2b-41dc-8270-2cce5e8fe404 | power on    | wait call-back  | False       |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">+--------------------------------------+--------------------------------------+-------------+-----------------+-------------+<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:.5in">ironic node-show c9caca46-64a7-44d5-b6db-554077b2473a<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:.5in">+------------------------+--------------------------------------------------------------------------+<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| Property               | Value                                                                    |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">+------------------------+--------------------------------------------------------------------------+<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| instance_uuid          | 3dcfabba-ca32-44ad-988a-c22f7308ed7a                                     |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| target_power_state     | None                                                                     |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| properties             | {u'memory_mb': u'512', u'cpu_arch': u'x86_64', u'local_gb': u'10',       |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">|                        | u'cpus': u'1'}                                                           |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| maintenance            | False                                                                    |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| driver_info            | {u'pxe_deploy_ramdisk': u'cfdbb01b-fa26-4583-a29f-f2f0111499a5',         |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">|                        | u'ssh_port': u'22', u'ssh_username': u'stack', u'pxe_deploy_kernel':     |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">|                        | u'c5920355-e4ea-4c09-b774-98b85474e24f', u'ssh_virt_type': u'virsh',     |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">|                        | u'ssh_address': u'192.168.50.1', u'ssh_key_filename':                    |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">|                        | u'/opt/stack/data/ironic/ssh_keys/ironic_key'}                           |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| extra                  | {}                                                                       |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| last_error             | None                                                                     |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| created_at             | 2014-06-27T05:47:27+00:00                                                |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| target_provision_state | deploy complete                                                          |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| driver                 | pxe_ssh                                                                  |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| updated_at             | 2014-06-27T06:03:20+00:00                                                |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| instance_info          | {u'ramdisk': u'9ea0ac76-a07c-44db-a9b7-328839d0d358', u'kernel':         |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">|                        | u'cecfc044-6fd5-49af-b91c-8ac90b4e7976', u'root_gb': u'10',              |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">|                        | u'image_source': u'94ba7f9a-4de0-4b00-b07a-85c5647b11de', u'deploy_key': |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">|                        | u'8GV962GHNSIDQYX30N0SVB94MCSAG4GE', u'swap_mb': u'0'}                   |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| chassis_uuid           | 3183c4f1-b7d6-49a7-8214-1c850d468a7e                                     |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| <span style="color:red">provision_state        | wait call-back                                                          
</span>|<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| reservation            | None                                                                     |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| power_state            | power on                                                                 |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| console_enabled        | False                                                                    |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| uuid                   | c9caca46-64a7-44d5-b6db-554077b2473a                                     |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">+------------------------+--------------------------------------------------------------------------+<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:.5in">nova image-list<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">+--------------------------------------+---------------------------------+--------+--------+<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| ID                                   | Name                            | Status | Server |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">+--------------------------------------+---------------------------------+--------+--------+<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| 94ba7f9a-4de0-4b00-b07a-85c5647b11de | cirros-0.3.2-x86_64-uec         | ACTIVE |        |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| cecfc044-6fd5-49af-b91c-8ac90b4e7976 | cirros-0.3.2-x86_64-uec-kernel  | ACTIVE |        |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| 9ea0ac76-a07c-44db-a9b7-328839d0d358 | cirros-0.3.2-x86_64-uec-ramdisk | ACTIVE |        |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| cfdbb01b-fa26-4583-a29f-f2f0111499a5 | ir-deploy.initramfs             | ACTIVE |        |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">| c5920355-e4ea-4c09-b774-98b85474e24f | ir-deploy.kernel                | ACTIVE |        |<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">+--------------------------------------+---------------------------------+--------+--------+<u></u><u></u></p>
</div>
</div>

<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>