[openstack-dev] baremetal nova boot issue

Clint Byrum clint at fewbar.com
Mon Oct 14 18:30:45 UTC 2013


Excerpts from Ravikanth Samprathi's message of 2013-10-14 11:15:15 -0700:
> 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?

If you don't give the power driver an address and credentials to turn
the machine on and off, you can't expect automatic deployment to work.
You will need IPMI credentials and an IP that the compute node can reach
to turn the machine on/off using the IPMI protocol.

If your machines do not have IPMI, and they are not Tilera based, you
will need to write a power driver to turn them on and off.



More information about the OpenStack-dev mailing list