<div dir="ltr"><div><div><div><div><div>Thank you for your help and pointers Rob.<br></div>I followed instructions from the baremetal wiki and i am lost in the last step.<br><br></div>First:<br>I setup pxelinux.cfg/default to point to my-initrd and my-vmlinuz for pxe boot.<br>
My baremetal node goes into this prompt:<br></div>(initramfs)<br></div>I dont know if the above is correct.<br><br></div>Second:<br>Then i do nova boot, which gives me this:<br>root@os:/tftpboot# nova boot --flavor my-baremetal-flavor --image my-image my-baremetal-node<br>
+-------------------------------------+--------------------------------------+<br>| Property | Value |<br>+-------------------------------------+--------------------------------------+<br>
| status | BUILD |<br>| updated | 2013-10-14T18:08:50Z |<br>| OS-EXT-STS:task_state | scheduling |<br>
| OS-EXT-SRV-ATTR:host | None |<br>| key_name | None |<br>| image | my-image |<br>
| hostId | |<br>| OS-EXT-STS:vm_state | building |<br>| OS-EXT-SRV-ATTR:instance_name | instance-00000021 |<br>
| OS-EXT-SRV-ATTR:hypervisor_hostname | None |<br>| flavor | my-baremetal-flavor |<br>| id | c9fd52de-e93e-44dd-9009-9395e964829e |<br>
| security_groups | [{u'name': u'default'}] |<br>| user_id | 251bd0a9388a477b9c24c99b223e7b2a |<br>| name | my-baremetal-node |<br>
| adminPass | 5kHEX46xremR |<br>| tenant_id | 8a34123d83824f3ea52527c5a28ad81e |<br>| created | 2013-10-14T18:08:49Z |<br>
| OS-DCF:diskConfig | MANUAL |<br>| metadata | {} |<br>| accessIPv4 | |<br>
| accessIPv6 | |<br>| progress | 0 |<br>| OS-EXT-STS:power_state | 0 |<br>
| OS-EXT-AZ:availability_zone | nova |<br>| config_drive | |<br>+-------------------------------------+--------------------------------------+<br>
root@os:/tftpboot# <br><br><div><div><div><div>Before doing this, I have done the nova-baremetal-create and interface add, and this is what i get:<br>======================================================================<br>
<pre></pre>root@os:/tftpboot# nova baremetal-node-create os 1 1024 10 00:50:56:AA:20:54<br>+------------------+-------------------+<br>| Property | Value |<br>+------------------+-------------------+<br>
| instance_uuid | None |<br>| pm_address | None |<br>| interfaces | [] |<br>| prov_vlan_id | None |<br>| cpus | 1 |<br>| memory_mb | 1024 |<br>
| prov_mac_address | 00:50:56:AA:20:54 |<br>| service_host | os |<br>| local_gb | 10 |<br>| id | 2 |<br>| pm_user | None |<br>| terminal_port | None |<br>
+------------------+-------------------+<br>root@os:/tftpboot# nova baremetal-interface-add 2 00:50:56:AA:20:54<br>+-------------+-------------------+<br>| Property | Value |<br>+-------------+-------------------+<br>
| datapath_id | 0 |<br>| id | 2 |<br>| port_no | 0 |<br>| address | 00:50:56:AA:20:54 |<br>+-------------+-------------------+<br><br></div><div>The baremetal node is stuck at (initramfs) no auto powering and no auto booting happens.<br>
</div><div>I have not given --pm options , should i give that and if so what are the values?<br></div><div>What am i missing?<br></div><div>Thanks<br>ravi<br><br></div><div><div><div><br></div></div></div></div></div></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Oct 13, 2013 at 2:27 AM, Robert Collins <span dir="ltr"><<a href="mailto:robertc@robertcollins.net" target="_blank">robertc@robertcollins.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 13 October 2013 20:16, Ravikanth Samprathi <<a href="mailto:rsamprat@gmail.com">rsamprat@gmail.com</a>> wrote:<br>
> Hi Rob<br>
> The steps are well known, the devil is in the details. Following the<br>
> instructions in the wiki was not very straightforward, and led to many<br>
> issues down the line.<br>
> Now which images are deploy ramdisk and kernel?<br>
<br>
</div>The ones you create.<br>
<div class="im"><br>
> How is the nova agent downloaded to the baremetal node, in which step and<br>
> how?<br>
<br>
</div>What agent?<br>
<div class="im"><br>
> What does ''nova boot'' do?<br>
<br>
</div>It triggers the deployment process as normal for nova. For the pxe<br>
baremetal driver that means extracting the images from glance, writing<br>
them to tftp tthen powering on the machine.<br>
<div class="im"><br>
> I see that using any of the diskbuilder built images (ramdisk kernel) is not<br>
> booting up the system.<br>
<br>
</div>Can you give some more detail about what happens?<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
--<br>
Robert Collins <<a href="mailto:rbtcollins@hp.com">rbtcollins@hp.com</a>><br>
Distinguished Technologist<br>
HP Converged Cloud<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div>