<font size=2 face="sans-serif">Hi,</font><font size=3> </font><font size=2 face="sans-serif"><br>
I have installed openstack Grizzly release and trying to set up
to deploy baremetal nodes. I am following the instructions from </font><a href=https://wiki.openstack.org/wiki/Baremetal><font size=3 color=blue><u>https://wiki.openstack.org/wiki/Baremetal</u></font></a><font size=3>
</font><font size=2>The controller and the compute hosts are two
separate nodes. </font><font size=3><br>
</font><font size=2 face="sans-serif"><br>
The last step failed. <br>
~#nova boot --flavor my-baremetal-flavor --image my-image my-baremetal-node</font><font size=3>
</font><font size=2 face="sans-serif"><br>
~#nova show my-baremetal-node</font><font size=3> </font><font size=2 face="sans-serif"><br>
...</font><font size=3> </font><font size=2 face="sans-serif"><br>
| fault
| {u'message': u'NoValidHost',
u'code': 500, u'details': u'No valid host was found. |</font><font size=3>
<br>
<br>
<br>
</font><font size=2 face="sans-serif"><br>
Here are some related date, I have substituted the ip/password and and
mac with fake ones. <br>
~# nova baremetal-node-list</font><font size=3> </font><font size=2 face="sans-serif"><br>
+----+--------------+------+-----------+---------+-------------------+------------+-------------+-------------+---------------+</font><font size=3>
</font><font size=2 face="sans-serif"><br>
| ID | Host | CPUs | Memory_MB | Disk_GB |
MAC Address | PM Address | PM Username | PM Password
| Terminal Port |</font><font size=3> </font><font size=2 face="sans-serif"><br>
+----+--------------+------+-----------+---------+-------------------+------------+-------------+-------------+---------------+</font><font size=3>
</font><font size=2 face="sans-serif"><br>
| 5 | node1 | 2 | 4096 |
286 | 00:11:22:33:44:55:66 | 70.0.0.16 | USERID
| | None
|</font><font size=3> </font><font size=2 face="sans-serif"><br>
+----+--------------+------+-----------+---------+-------------------+------------+-------------+-------------+---------------+</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
~# nova baremetal-interface-list 5</font><font size=3> </font><font size=2 face="sans-serif"><br>
+----+-------------+---------+-------------------+</font><font size=3>
</font><font size=2 face="sans-serif"><br>
| ID | Datapath_ID | Port_No | Address
|</font><font size=3> </font><font size=2 face="sans-serif"><br>
+----+-------------+---------+-------------------+</font><font size=3>
</font><font size=2 face="sans-serif"><br>
| 7 | 0 | 0
| 00:11:22:33:44:55:66 |</font><font size=3> </font><font size=2 face="sans-serif"><br>
| 8 | 0 | 0
| 00:11:22:33:44:55:67 |</font><font size=3> </font><font size=2 face="sans-serif"><br>
+----+-------------+---------+-------------------+</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
On compute host node1, the /etc/nova/nova.conf looks like this</font><font size=3>
</font><font size=2 face="sans-serif"><br>
# cat /etc/nova/nova.conf</font><font size=3> </font><font size=2 face="sans-serif"><br>
[DEFAULT]</font><font size=3> </font><font size=2 face="sans-serif"><br>
dhcpbridge_flagfile=/etc/nova/nova.conf</font><font size=3> </font><font size=2 face="sans-serif"><br>
dhcpbridge=/usr/bin/nova-dhcpbridge</font><font size=3> </font><font size=2 face="sans-serif"><br>
logdir=/var/log/nova</font><font size=3> </font><font size=2 face="sans-serif"><br>
state_path=/var/lib/nova</font><font size=3> </font><font size=2 face="sans-serif"><br>
lock_path=/var/lock/nova</font><font size=3> </font><font size=2 face="sans-serif"><br>
force_dhcp_release=true</font><font size=3> </font><font size=2 face="sans-serif"><br>
iscsi_helper=tgtadm</font><font size=3> </font><font size=2 face="sans-serif"><br>
libvirt_use_virtio_for_bridges=True</font><font size=3> </font><font size=2 face="sans-serif"><br>
connection_type=libvirt</font><font size=3> </font><font size=2 face="sans-serif"><br>
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf</font><font size=3>
</font><font size=2 face="sans-serif"><br>
verbose=True</font><font size=3> </font><font size=2 face="sans-serif"><br>
ec2_private_dns_show_ip=True</font><font size=3> </font><font size=2 face="sans-serif"><br>
api_paste_config=/etc/nova/api-paste.ini</font><font size=3> </font><font size=2 face="sans-serif"><br>
volumes_path=/var/lib/nova/volumes</font><font size=3> </font><font size=2 face="sans-serif"><br>
enabled_apis=ec2,osapi_compute,metadata</font><font size=3> </font><font size=2 face="sans-serif"><br>
flat_interface=eth1</font><font size=3> </font><font size=2 face="sans-serif"><br>
network_manager=nova.network.manager.FlatDHCPManager</font><font size=3>
</font><font size=2 face="sans-serif"><br>
vncserver_proxyclient_address=127.0.0.1</font><font size=3> </font><font size=2 face="sans-serif"><br>
rabbit_hosts=10.1.0.166:5672</font><font size=3> </font><font size=2 face="sans-serif"><br>
flat_network_bridge=br100</font><font size=3> </font><font size=2 face="sans-serif"><br>
glance_api_servers=10.1.0.166:9292</font><font size=3> </font><font size=2 face="sans-serif"><br>
rabbit_userid=nova</font><font size=3> </font><font size=2 face="sans-serif"><br>
rabbit_ha_queues=false</font><font size=3> </font><font size=2 face="sans-serif"><br>
rabbit_password=passw0rd</font><font size=3> </font><font size=2 face="sans-serif"><br>
rabbit_host=10.1.0.166</font><font size=3> </font><font size=2 face="sans-serif"><br>
sql_connection=mysql://nova:passw0rd@10.0.1.166/nova</font><font size=3>
</font><font size=2 face="sans-serif"><br>
vnc_enabled=true</font><font size=3> </font><font size=2 face="sans-serif"><br>
rabbit_virtual_host=/</font><font size=3> </font><font size=2 face="sans-serif"><br>
image_service=nova.image.glance.GlanceImageService</font><font size=3>
</font><font size=2 face="sans-serif"><br>
rabbit_port=5672</font><font size=3> </font><font size=2 face="sans-serif"><br>
novncproxy_base_url=http://10.1.0.166:6080/vnc_auto.html</font><font size=3>
</font><font size=2 face="sans-serif"><br>
public_interface=eth0</font><font size=3> </font><font size=2 face="sans-serif"><br>
service_down_time=60</font><font size=3> </font><font size=2 face="sans-serif"><br>
vncserver_listen=127.0.0.1</font><font size=3> </font><font size=2 face="sans-serif"><br>
osapi_compute_listen=0.0.0.0</font><font size=3> </font><font size=2 face="sans-serif"><br>
ec2_listen=0.0.0.0</font><font size=3> </font><font size=2 face="sans-serif"><br>
volume_api_class=nova.volume.cinder.API</font><font size=3> </font><font size=2 face="sans-serif"><br>
osapi_volume_listen=0.0.0.0</font><font size=3> </font><font size=2 face="sans-serif"><br>
metadata_listen=0.0.0.0</font><font size=3> </font><font size=2 face="sans-serif"><br>
auth_strategy=keystone</font><font size=3> </font><font size=2 face="sans-serif"><br>
#compute_driver=libvirt.LibvirtDriver</font><font size=3> </font><font size=2 face="sans-serif"><br>
osapi_compute_workers=12</font><font size=3> </font><font size=2 face="sans-serif"><br>
rootwrap_config=/etc/nova/rootwrap.conf</font><font size=3> </font><font size=2 face="sans-serif"><br>
rpc_backend=nova.openstack.common.rpc.impl_kombu</font><font size=3> </font><font size=2 face="sans-serif"><br>
fixed_range=192.168.201.0/24</font><font size=3> </font><font size=2 face="sans-serif"><br>
dhcp_domain=novalocal</font><font size=3> </font><font size=2 face="sans-serif"><br>
send_arp_for_ha=True</font><font size=3> </font><font size=2 face="sans-serif"><br>
multi_host=True</font><font size=3> </font><font size=2 face="sans-serif"><br>
libvirt_type=kvm</font><font size=3> </font><font size=2 face="sans-serif"><br>
flat_injected=false</font><font size=3> </font><font size=2 face="sans-serif"><br>
scheduler_host_manager = nova.scheduler.baremetal_host_manager.BaremetalHostManager</font><font size=3>
</font><font size=2 face="sans-serif"><br>
firewall_driver = nova.virt.firewall.NoopFirewallDriver</font><font size=3>
</font><font size=2 face="sans-serif"><br>
compute_driver = nova.virt.baremetal.driver.BareMetalDriver</font><font size=3>
</font><font size=2 face="sans-serif"><br>
ram_allocation_ratio = 1.0</font><font size=3> </font><font size=2 face="sans-serif"><br>
reserved_host_memory_mb = 0</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
[baremetal]</font><font size=3> </font><font size=2 face="sans-serif"><br>
net_config_template = /opt/stack/nova/nova/virt/baremetal/net-static.ubuntu.template</font><font size=3>
</font><font size=2 face="sans-serif"><br>
tftp_root = /tftpboot</font><font size=3> </font><font size=2 face="sans-serif"><br>
power_manager = nova.virt.baremetal.ipmi.IPMI</font><font size=3> </font><font size=2 face="sans-serif"><br>
driver = nova.virt.baremetal.pxe.PXE</font><font size=3> </font><font size=2 face="sans-serif"><br>
instance_type_extra_specs = cpu_arch:x86_64</font><font size=3> </font><font size=2 face="sans-serif"><br>
sql_connection = mysql://nova:passw0rd@10.1.0.166/nova_bm</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
What else should I check? I do not see obvious errors from /var/log/nova/nova-api.log
and /var/log/nova/nova-compute.log</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Thanks,</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Ling</font><font size=3> </font><font size=2 face="sans-serif"><br>
<br>
Ling Gao<br>
Poughkeepsie Unix Development Lab<br>
IBM Systems and Technology Group</font><tt><font size=2><br>
</font></tt>
<br>