[Openstack-operators] How to deploy a bare-node with the kernel and ramdisk file from an existing OS using ironic

zhangjian2011 zhangjian2011 at cn.fujitsu.com
Thu Jul 23 13:13:14 UTC 2015


Hi Guys,

I am using ironic to deploy bare node.
And I wanted to deploy it with the kernel and ramdisk from an existing 
OS(vmlinuz and initramfs in /boot ).
But failed, I am not sure it works or not by doing so.

I got the following error message from the nova-conductor.log
------
2015-07-23 16:45:22.301 2684 ERROR nova.scheduler.utils 
[req-c88443b1-df80-402d-a030-50d70f6aaa3c 
a9e9b92963934eeebf3e731240757e54 6c5fe0f608e94f2b82cc610b028da45d - - -] 
[instance: a4b0e52f-5732-445d-b817-10fbe9f2d214] Error from last host: 
ironic.fnst.com (node 94684b56-13bc-47fa-9235-4aa6b802d712): 
[u'Traceback (most recent call last):\n', u'  File 
"/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2219, 
in _do_build_and_run_instance\n    filter_properties)\n', u' File 
"/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2362, 
in _build_and_run_instance\n instance_uuid=instance.uuid, 
reason=six.text_type(e))\n', u'RescheduledException: Build of instance 
a4b0e52f-5732-445d-b817-10fbe9f2d214 was re-scheduled: Failed to 
provision instance a4b0e52f-5732-445d-b817-10fbe9f2d214: None\n']
2015-07-23 16:45:22.314 2684 WARNING nova.scheduler.utils 
[req-c88443b1-df80-402d-a030-50d70f6aaa3c 
a9e9b92963934eeebf3e731240757e54 6c5fe0f608e94f2b82cc610b028da45d - - -] 
Failed to compute_task_build_instances: No valid host was found. There 
are not enough hosts available.
Traceback (most recent call last):

   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", 
line 142, in inner
     return func(*args, **kwargs)

   File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", 
line 86, in select_destinations
     filter_properties)
  got
   File 
"/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py", 
line 80, in select_destinations
     raise exception.NoValidHost(reason=reason)

NoValidHost: No valid host was found. There are not enough hosts available.

2015-07-23 16:45:22.314 2684 WARNING nova.scheduler.utils 
[req-c88443b1-df80-402d-a030-50d70f6aaa3c 
a9e9b92963934eeebf3e731240757e54 6c5fe0f608e94f2b82cc610b028da45d - - -] 
[instance: a4b0e52f-5732-445d-b817-10fbe9f2d214] Setting instance to 
ERROR state.
-------


Can anyone help me?


Regards,
Jian



More information about the OpenStack-operators mailing list