[openstack-dev] baremetal nova boot issue
Ravikanth Samprathi
rsamprat at gmail.com
Mon Oct 14 18:42:31 UTC 2013
You mean there is no power driver for anything other than tilera? I am
using supermicro intel based baremetal nodes. And for testing am simulating
using VMs are baremetals as well.
Please let me know.
Thanks
Ravi
On Mon, Oct 14, 2013 at 11:30 AM, Clint Byrum <clint at fewbar.com> wrote:
> 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.
>
> _______________________________________________
> 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/8c2d20f8/attachment.html>
More information about the OpenStack-dev
mailing list