[openstack-dev] baremetal nova boot issue

Ravikanth Samprathi rsamprat at gmail.com
Mon Oct 14 18:15:15 UTC 2013


Thank you for your help and pointers Rob.
I followed instructions from the baremetal wiki and i am lost in the last
step.

First:
I setup pxelinux.cfg/default to point to my-initrd and my-vmlinuz for pxe
boot.
My baremetal node goes into this prompt:
(initramfs)
I dont know if the above is correct.

Second:
Then i do nova boot, which gives me this:
root at os:/tftpboot# nova boot --flavor my-baremetal-flavor --image my-image
my-baremetal-node
+-------------------------------------+--------------------------------------+
| Property                            |
Value                                |
+-------------------------------------+--------------------------------------+
| status                              |
BUILD                                |
| updated                             |
2013-10-14T18:08:50Z                 |
| OS-EXT-STS:task_state               |
scheduling                           |
| OS-EXT-SRV-ATTR:host                |
None                                 |
| key_name                            |
None                                 |
| image                               |
my-image                             |
| hostId
|                                      |
| OS-EXT-STS:vm_state                 |
building                             |
| OS-EXT-SRV-ATTR:instance_name       |
instance-00000021                    |
| OS-EXT-SRV-ATTR:hypervisor_hostname |
None                                 |
| flavor                              |
my-baremetal-flavor                  |
| id                                  |
c9fd52de-e93e-44dd-9009-9395e964829e |
| security_groups                     | [{u'name':
u'default'}]              |
| user_id                             |
251bd0a9388a477b9c24c99b223e7b2a     |
| name                                |
my-baremetal-node                    |
| adminPass                           |
5kHEX46xremR                         |
| tenant_id                           |
8a34123d83824f3ea52527c5a28ad81e     |
| created                             |
2013-10-14T18:08:49Z                 |
| OS-DCF:diskConfig                   |
MANUAL                               |
| metadata                            |
{}                                   |
| accessIPv4
|                                      |
| accessIPv6
|                                      |
| progress                            |
0                                    |
| OS-EXT-STS:power_state              |
0                                    |
| OS-EXT-AZ:availability_zone         |
nova                                 |
| config_drive
|                                      |
+-------------------------------------+--------------------------------------+
root at os:/tftpboot#

Before doing this, I have done the nova-baremetal-create and interface add,
and this is what i get:
======================================================================

root at os:/tftpboot# nova baremetal-node-create os 1 1024 10 00:50:56:AA:20:54
+------------------+-------------------+
| Property         | Value             |
+------------------+-------------------+
| instance_uuid    | None              |
| pm_address       | None              |
| interfaces       | []                |
| prov_vlan_id     | None              |
| cpus             | 1                 |
| memory_mb        | 1024              |
| prov_mac_address | 00:50:56:AA:20:54 |
| service_host     | os                |
| local_gb         | 10                |
| id               | 2                 |
| pm_user          | None              |
| terminal_port    | None              |
+------------------+-------------------+
root at os:/tftpboot# nova baremetal-interface-add 2 00:50:56:AA:20:54
+-------------+-------------------+
| Property    | Value             |
+-------------+-------------------+
| datapath_id | 0                 |
| id          | 2                 |
| port_no     | 0                 |
| address     | 00:50:56:AA:20:54 |
+-------------+-------------------+

The baremetal node is stuck at (initramfs) no auto powering and no auto
booting happens.
I have not given --pm options , should i give that and if so what are the
values?
What am i missing?
Thanks
ravi




On Sun, Oct 13, 2013 at 2:27 AM, Robert Collins
<robertc at robertcollins.net>wrote:

> On 13 October 2013 20:16, Ravikanth Samprathi <rsamprat at gmail.com> wrote:
> > Hi Rob
> > The steps are well known, the devil is in the details. Following the
> > instructions in the wiki was not very straightforward, and led to many
> > issues down the line.
> > Now which images are deploy ramdisk and kernel?
>
> The ones you create.
>
> > How is the nova agent downloaded to the baremetal node, in which step and
> > how?
>
> What agent?
>
> > What does ''nova boot'' do?
>
> It triggers the deployment process as normal for nova. For the pxe
> baremetal driver that means extracting the images from glance, writing
> them to tftp tthen powering on the machine.
>
> > I see that using any of the diskbuilder built images (ramdisk kernel) is
> not
> > booting up the system.
>
> Can you give some more detail about what happens?
>
>
>
>
> --
> Robert Collins <rbtcollins at hp.com>
> Distinguished Technologist
> HP Converged Cloud
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131014/eb7c91db/attachment.html>


More information about the OpenStack-dev mailing list