<div dir="ltr"><div>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. <br></div>Please let me know.<br>
Thanks<br>Ravi<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 14, 2013 at 11:30 AM, Clint Byrum <span dir="ltr"><<a href="mailto:clint@fewbar.com" target="_blank">clint@fewbar.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Excerpts from Ravikanth Samprathi's message of 2013-10-14 11:15:15 -0700:<br>
<div><div class="h5">> Thank you for your help and pointers Rob.<br>
> I followed instructions from the baremetal wiki and i am lost in the last<br>
> step.<br>
><br>
> First:<br>
> I setup pxelinux.cfg/default to point to my-initrd and my-vmlinuz for pxe<br>
> boot.<br>
> My baremetal node goes into this prompt:<br>
> (initramfs)<br>
> I dont know if the above is correct.<br>
><br>
> Second:<br>
> Then i do nova boot, which gives me this:<br>
> root@os:/tftpboot# nova boot --flavor my-baremetal-flavor --image my-image<br>
> my-baremetal-node<br>
> +-------------------------------------+--------------------------------------+<br>
> | Property |<br>
> Value |<br>
> +-------------------------------------+--------------------------------------+<br>
> | status |<br>
> BUILD |<br>
> | updated |<br>
> 2013-10-14T18:08:50Z |<br>
> | OS-EXT-STS:task_state |<br>
> scheduling |<br>
> | OS-EXT-SRV-ATTR:host |<br>
> None |<br>
> | key_name |<br>
> None |<br>
> | image |<br>
> my-image |<br>
> | hostId<br>
> | |<br>
> | OS-EXT-STS:vm_state |<br>
> building |<br>
> | OS-EXT-SRV-ATTR:instance_name |<br>
> instance-00000021 |<br>
> | OS-EXT-SRV-ATTR:hypervisor_hostname |<br>
> None |<br>
> | flavor |<br>
> my-baremetal-flavor |<br>
> | id |<br>
> c9fd52de-e93e-44dd-9009-9395e964829e |<br>
> | security_groups | [{u'name':<br>
> u'default'}] |<br>
> | user_id |<br>
> 251bd0a9388a477b9c24c99b223e7b2a |<br>
> | name |<br>
> my-baremetal-node |<br>
> | adminPass |<br>
> 5kHEX46xremR |<br>
> | tenant_id |<br>
> 8a34123d83824f3ea52527c5a28ad81e |<br>
> | created |<br>
> 2013-10-14T18:08:49Z |<br>
> | OS-DCF:diskConfig |<br>
> MANUAL |<br>
> | metadata |<br>
> {} |<br>
> | accessIPv4<br>
> | |<br>
> | accessIPv6<br>
> | |<br>
> | progress |<br>
> 0 |<br>
> | OS-EXT-STS:power_state |<br>
> 0 |<br>
> | OS-EXT-AZ:availability_zone |<br>
> nova |<br>
> | config_drive<br>
> | |<br>
> +-------------------------------------+--------------------------------------+<br>
> root@os:/tftpboot#<br>
><br>
> Before doing this, I have done the nova-baremetal-create and interface add,<br>
> and this is what i get:<br>
> ======================================================================<br>
><br>
> 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>
> The baremetal node is stuck at (initramfs) no auto powering and no auto<br>
> booting happens.<br>
> I have not given --pm options , should i give that and if so what are the<br>
> values?<br>
> What am i missing?<br>
<br>
</div></div>If you don't give the power driver an address and credentials to turn<br>
the machine on and off, you can't expect automatic deployment to work.<br>
You will need IPMI credentials and an IP that the compute node can reach<br>
to turn the machine on/off using the IPMI protocol.<br>
<br>
If your machines do not have IPMI, and they are not Tilera based, you<br>
will need to write a power driver to turn them on and off.<br>
<div class="HOEnZb"><div class="h5"><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>