[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
Fri Jul 24 02:53:43 UTC 2015


Hi, Guys

error message from the /var/log/messages in ironic server.
How to solve it, any ideas?

--------------
Jul 24 06:12:29 ironic ironic-conductor: 2015-07-24 06:12:29.042 1178 
ERROR ironic.drivers.base [-] vendor_passthru failed with method 
pass_deploy_info
Jul 24 06:12:29 ironic ironic-conductor: 2015-07-24 06:12:29.042 1178 
TRACE ironic.drivers.base Traceback (most recent call last):
Jul 24 06:12:29 ironic ironic-conductor: 2015-07-24 06:12:29.042 1178 
TRACE ironic.drivers.base   File 
"/usr/lib/python2.7/site-packages/ironic/drivers/base.py", line 516, in 
passthru_handler
Jul 24 06:12:29 ironic ironic-conductor: 2015-07-24 06:12:29.042 1178 
TRACE ironic.drivers.base     return func(*args, **kwargs)
Jul 24 06:12:29 ironic ironic-conductor: 2015-07-24 06:12:29.042 1178 
TRACE ironic.drivers.base   File 
"/usr/lib/python2.7/site-packages/ironic/conductor/task_manager.py", 
line 128, in wrapper
Jul 24 06:12:29 ironic ironic-conductor: 2015-07-24 06:12:29.042 1178 
TRACE ironic.drivers.base     return f(*args, **kwargs)
Jul 24 06:12:29 ironic ironic-conductor: 2015-07-24 06:12:29.042 1178 
TRACE ironic.drivers.base   File 
"/usr/lib/python2.7/site-packages/ironic/drivers/modules/pxe.py", line 
598, in pass_deploy_info
Jul 24 06:12:29 ironic ironic-conductor: 2015-07-24 06:12:29.042 1178 
TRACE ironic.drivers.base     uuid_dict = 
iscsi_deploy.continue_deploy(task, **kwargs)
Jul 24 06:12:29 ironic ironic-conductor: 2015-07-24 06:12:29.042 1178 
TRACE ironic.drivers.base   File 
"/usr/lib/python2.7/site-packages/ironic/drivers/modules/iscsi_deploy.py", 
line 336, in continue_deploy
Jul 24 06:12:29 ironic ironic-conductor: 2015-07-24 06:12:29.042 1178 
TRACE ironic.drivers.base     _fail_deploy(task, msg)
Jul 24 06:12:29 ironic ironic-conductor: 2015-07-24 06:12:29.042 1178 
TRACE ironic.drivers.base   File 
"/usr/lib/python2.7/site-packages/ironic/drivers/modules/iscsi_deploy.py", 
line 301, in _fail_deploy
Jul 24 06:12:29 ironic ironic-conductor: 2015-07-24 06:12:29.042 1178 
TRACE ironic.drivers.base     raise exception.InstanceDeployFailure(msg)
Jul 24 06:12:29 ironic ironic-conductor: 2015-07-24 06:12:29.042 1178 
TRACE ironic.drivers.base InstanceDeployFailure: Couldn't determine the 
UUID of the root partition or the disk identifier after deploying node 
94684b56-13bc-47fa-9235-4aa6b802d712
Jul 24 06:12:29 ironic ironic-conductor: 2015-07-24 06:12:29.042 1178 
TRACE ironic.drivers.base
Jul 24 06:12:29 ironic ironic-conductor: Traceback (most recent call last):
Jul 24 06:12:29 ironic ironic-conductor: File 
"/usr/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 457, in 
fire_timers
Jul 24 06:12:29 ironic ironic-conductor: timer()
Jul 24 06:12:29 ironic ironic-conductor: File 
"/usr/lib/python2.7/site-packages/eventlet/hubs/timer.py", line 58, in 
__call__
Jul 24 06:12:29 ironic ironic-conductor: cb(*args, **kw)
Jul 24 06:12:29 ironic ironic-conductor: File 
"/usr/lib/python2.7/site-packages/eventlet/greenthread.py", line 214, in 
main
Jul 24 06:12:29 ironic ironic-conductor: result = function(*args, **kwargs)
Jul 24 06:12:29 ironic ironic-conductor: File 
"/usr/lib/python2.7/site-packages/ironic/drivers/base.py", line 519, in 
passthru_handler
Jul 24 06:12:29 ironic ironic-conductor: 
LOG.exception(passthru_logmessage, api_method)
Jul 24 06:12:29 ironic ironic-conductor: File 
"/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 85, in 
__exit__
Jul 24 06:12:29 ironic ironic-conductor: six.reraise(self.type_, 
self.value, self.tb)
Jul 24 06:12:29 ironic ironic-conductor: File 
"/usr/lib/python2.7/site-packages/ironic/drivers/base.py", line 516, in 
passthru_handler
Jul 24 06:12:29 ironic ironic-conductor: return func(*args, **kwargs)
Jul 24 06:12:29 ironic ironic-conductor: File 
"/usr/lib/python2.7/site-packages/ironic/conductor/task_manager.py", 
line 128, in wrapper
Jul 24 06:12:29 ironic ironic-conductor: return f(*args, **kwargs)
Jul 24 06:12:29 ironic ironic-conductor: File 
"/usr/lib/python2.7/site-packages/ironic/drivers/modules/pxe.py", line 
598, in pass_deploy_info
Jul 24 06:12:29 ironic ironic-conductor: uuid_dict = 
iscsi_deploy.continue_deploy(task, **kwargs)
Jul 24 06:12:29 ironic ironic-conductor: File 
"/usr/lib/python2.7/site-packages/ironic/drivers/modules/iscsi_deploy.py", 
line 336, in continue_deploy
Jul 24 06:12:29 ironic ironic-conductor: _fail_deploy(task, msg)
Jul 24 06:12:29 ironic ironic-conductor: File 
"/usr/lib/python2.7/site-packages/ironic/drivers/modules/iscsi_deploy.py", 
line 301, in _fail_deploy
Jul 24 06:12:29 ironic ironic-conductor: raise 
exception.InstanceDeployFailure(msg)
Jul 24 06:12:29 ironic ironic-conductor: InstanceDeployFailure: Couldn't 
determine the UUID of the root partition or the disk identifier after 
deploying node 94684b56-13bc-47fa-9235-4aa6b802d712
---------------

Regards,
Jian

On 07/23/2015 09:13 PM, zhangjian2011 wrote:
> 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
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>




More information about the OpenStack-operators mailing list