<div dir="ltr"><div><font size="4">Hi, everyone :<br></font></div><font size="4">        I've got an error when I boot a baremetal using "nova boot baremetal flavor". What is wrong with this ? It is nova baremetal bug or my device got wrong ?</font><br>
<br>(undercloud)chaoya@ironic001:~/tripleo$ nova show overcloud-NovaCompute0-e6yscjqpiaap<br clear="none">+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+<br clear="none">
|
 Property                             | 
Value                                                                                                                                                               
 |<br clear="none">+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+<br clear="none">
|
 OS-DCF:diskConfig                    | 
MANUAL                                                                                                                                                              
 |<br clear="none">| OS-EXT-AZ:availability_zone          | 
nova                                                                                                                                                                
 |<br clear="none">| OS-EXT-SRV-ATTR:host                 | 
undercloud                                                                                                                                                          
 |<br clear="none">| OS-EXT-SRV-ATTR:hypervisor_hostname  | 
a3c33301-4b53-47d1-a056-d1c147a4efa2                                                                                                                                
 |<br clear="none">| OS-EXT-SRV-ATTR:instance_name        | 
instance-0000000c                                                                                                                                                   
 |<br clear="none">| OS-EXT-STS:power_state               | 
4                                                                                                                                                                   
 |<br clear="none">| OS-EXT-STS:task_state                | 
-                                                                                                                                                                   
 |<br clear="none">| OS-EXT-STS:vm_state                  | 
error                                                                                                                                                               
 |<br clear="none">| OS-SRV-USG:launched_at               | 
-                                                                                                                                                                   
 |<br clear="none">| OS-SRV-USG:terminated_at             | 
-                                                                                                                                                                   
 |<br clear="none">| accessIPv4                           
|                                                                                                                                                                     
 |<br clear="none">| accessIPv6                           
|                                                                                                                                                                     
 |<br clear="none">| config_drive                         
|                                                                                                                                                                     
 |<br clear="none">| created                              | 
2014-07-04T02:32:23Z                                                                                                                                                
 |<br clear="none">| fault                                | {"message": 
"Unexpected error while running 
command.                                                                                                                
 |<br clear="none">|                                      | Command: 
ipmitool -I lanplus -H 10.79.53.69 -U admin -f /tmp/tmp1UNW8P power 
status                                                                                 
 |<br clear="none">|                                      | Exit code: 
1                                                                                                                                                        
 |<br clear="none">|                                      | Stdout: 
''                                                                                                                                                          
 |<br clear="none">|                                      | Stderr: 
'Error in open session response message : insufficient resources for 
session\                                                                               
 |<br clear="none">|                                      | 
\                                                                                                                                                                   
 |<br clear="none">|                                      | Error: 
Unable to es", "code": 500, "details": "  File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/compute/manager.py\",
 line 259, in decorated_function |<br clear="none">|                                     
 |     return function(self, context, *args, 
**kwargs)                                                                                                                 
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/compute/manager.py\",
 line 1848, in 
run_instance                                                     |<br clear="none">|                                     
 |     
do_run_instance()                                                                                                                                               
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/openstack/common/lockutils.py\",
 line 249, in inner                                                  |<br clear="none">|                                     
 |     return f(*args, 
**kwargs)                                                                                                                                       
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/compute/manager.py\",
 line 1847, in 
do_run_instance                                                  |<br clear="none">|                                     
 |     
legacy_bdm_in_spec)                                                                                                                                             
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/compute/manager.py\",
 line 977, in 
_run_instance                                                     |<br clear="none">|                                     
 |     notify(\"error\", msg=unicode(e))  # notify that build 
failed                                                                                                   
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/openstack/common/excutils.py\",
 line 68, in __exit__                                                 |<br clear="none">|                                     
 |     six.reraise(self.type_, self.value, 
self.tb)                                                                                                                    
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/compute/manager.py\",
 line 961, in 
_run_instance                                                     |<br clear="none">|                                     
 |     instance, image_meta, 
legacy_bdm_in_spec)                                                                                                                       
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/compute/manager.py\",
 line 1087, in 
_build_instance                                                  |<br clear="none">|                                     
 |     filter_properties, bdms, 
legacy_bdm_in_spec)                                                                                                                    
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/compute/manager.py\",
 line 1131, in 
_reschedule_or_error                                             |<br clear="none">|                                     
 |     self._log_original_error(exc_info, 
instance_uuid)                                                                                                               
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/openstack/common/excutils.py\",
 line 68, in __exit__                                                 |<br clear="none">|                                     
 |     six.reraise(self.type_, self.value, 
self.tb)                                                                                                                    
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/compute/manager.py\",
 line 1126, in 
_reschedule_or_error                                             |<br clear="none">|                                     
 |     bdms, 
requested_networks)                                                                                                                                       
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/compute/manager.py\",
 line 1897, in 
_shutdown_instance                                               |<br clear="none">|                                     
 |     
requested_networks)                                                                                                                                             
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/openstack/common/excutils.py\",
 line 68, in __exit__                                                 |<br clear="none">|                                     
 |     six.reraise(self.type_, self.value, 
self.tb)                                                                                                                    
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/compute/manager.py\",
 line 1887, in 
_shutdown_instance                                               |<br clear="none">|                                     
 |     
block_device_info)                                                                                                                                              
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/virt/baremetal/driver.py\",
 line 328, in 
destroy                                                     |<br clear="none">|                                     
 |     \"baremetal database: %s\") % 
e)                                                                                                                                
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/openstack/common/excutils.py\",
 line 68, in __exit__                                                 |<br clear="none">|                                     
 |     six.reraise(self.type_, self.value, 
self.tb)                                                                                                                    
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/virt/baremetal/driver.py\",
 line 310, in 
destroy                                                     |<br clear="none">|                                     
 |     self.power_off(instance, 
node)                                                                                                                                  
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/virt/baremetal/driver.py\",
 line 340, in 
power_off                                                   |<br clear="none">|                                     
 |     
pm.deactivate_node()                                                                                                                                            
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/virt/baremetal/ipmi.py\",
 line 242, in 
deactivate_node                                               |<br clear="none">|                                     
 |     
self._power_off()                                                                                                                                               
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/virt/baremetal/ipmi.py\",
 line 196, in 
_power_off                                                    |<br clear="none">|                                     
 |     
timer.start(interval=1.0).wait()                                                                                                                                
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/eventlet/event.py\",
 line 116, in 
wait                                                                    |<br clear="none">|                                     
 |     return 
hubs.get_hub().switch()                                                                                                                                  
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/eventlet/hubs/hub.py\",
 line 187, in 
switch                                                               |<br clear="none">|                                     
 |     return 
self.greenlet.switch()                                                                                                                                   
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/openstack/common/loopingcall.py\",
 line 78, in _inner                                                |<br clear="none">|                                     
 |     self.f(*self.args, 
**<a href="http://self.kw">self.kw</a>)                                                                                                                                   
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/virt/baremetal/ipmi.py\",
 line 177, in 
_wait_for_power_off                                           |<br clear="none">|                                     
 |     if self.is_power_on() is 
False:                                                                                                                                 
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/virt/baremetal/ipmi.py\",
 line 253, in 
is_power_on                                                   |<br clear="none">|                                     
 |     res = self._exec_ipmitool(\"power 
status\")[0]                                                                                                                  
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/virt/baremetal/ipmi.py\",
 line 137, in 
_exec_ipmitool                                                |<br clear="none">|                                     
 |     out, err = utils.execute(*args, 
attempts=3)                                                                                                                     
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/utils.py\", 
line 166, in 
execute                                                                    
 |<br clear="none">|                                      |     return 
processutils.execute(*cmd, 
**kwargs)                                                                                                                     
 |<br clear="none">|                                      |   File 
\"/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/openstack/common/processutils.py\",
 line 178, in execute                                             |<br clear="none">|                                     
 |     cmd=' 
'.join(cmd))                                                                                                                                              
 |<br clear="none">|                                      | ", 
"created": 
"2014-07-04T02:52:40Z"}                                                                                                                               
 |<br clear="none">| flavor                               | baremetal 
(c6679951-272f-4ec7-9d78-710e734812e3)                                                                                                                    
 |<br clear="none">| hostId                               | 
f217a693b567a1c505e7ec77d64d2d9bfcd183c296c7599c82ae507e                                                                                                            
 |<br clear="none">| id                                   | 
6ef68598-c190-49de-8e26-f00cc0162b9d                                                                                                                                
 |<br clear="none">| image                                | 
overcloud-compute 
(2e024da3-ccd8-4167-b807-e24babaa5ea2)                                                                                                            
 |<br clear="none">| key_name                             | 
default                                                                                                                                                             
 |<br clear="none">| metadata                             | 
{}                                                                                                                                                                  
 |<br clear="none">| name                                 | 
overcloud-NovaCompute0-e6yscjqpiaap                                                                                                                                 
 |<br clear="none">| os-extended-volumes:volumes_attached | 
[]                                                                                                                                                                  
 |<br clear="none">| status                               | 
ERROR                                                                                                                                                               
 |<br clear="none">| tenant_id                            | 
fd33317cc3a147aaa94f7b84c53d205b                                                                                                                                    
 |<br clear="none">| updated                              | 
2014-07-04T02:54:06Z                                                                                                                                                
 |<br clear="none">| user_id                              | 
fda3b46d266b491880f8aeac193839b9                                                                                                                                    
 |<br clear="none">+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+<br>
<div> <br><div><br clear="all"><div><div dir="ltr"><div><font face="comic sans ms, sans-serif" size="4"><b><i>Best Regards!</i></b></font></div><font face="comic sans ms, sans-serif" size="4"><b><i>Chao Yan<br><font>--------------<br>
</font></i></b></font><font face="comic sans ms, sans-serif" size="4"><b><i><font>My twitter:Andy Yan <a href="https://twitter.com/yanchao727" target="_blank">@yanchao727</a></font></i></b></font><br><font face="comic sans ms, sans-serif" size="4"><b><i><font>My Weibo:<a href="http://weibo.com/herewearenow" target="_blank">http://weibo.com/herewearenow</a><br>
--------------</font><br></i></b></font></div></div>
</div></div></div>