开发者社区> 问答> 正文

Openstack Ironic装物理机报错,请各位帮忙看看,求指导?报错

用fuel安装openstack和ironic服务成功。


使用ironic对物理机进行装机的时候DHCP可以获取IP,也能下载并加装bootloader,但到安装镜像的时候就报错。下面的是nova-compute的报错信息。



2016-12-20 07:39:14 ERR nova.compute.manager [req-15bf15dc-9278-4db1-a3d2-06d1c1032dff 3dab0b7f4b1c41ada0c4e1416c871162 24f0c4500faf45cb94ac6d9397e71e37 - - -] [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] Instance failed to spawn 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] Traceback (most recent call last): 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2158, in _build_resources 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] yield resources 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2011, in _build_and_run_instance 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] block_device_info=block_device_info) 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] File "/usr/lib/python2.7/dist-packages/nova/virt/ironic/driver.py", line 836, in spawn 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] self.destroy(context, instance, network_info) 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 195, in __exit__ 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] six.reraise(self.type_, self.value, self.tb) 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] File "/usr/lib/python2.7/dist-packages/nova/virt/ironic/driver.py", line 827, in spawn 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] timer.start(interval=CONF.ironic.api_retry_interval).wait() 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 121, in wait 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] return hubs.get_hub().switch() 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 294, in switch 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] return self.greenlet.switch() 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] File "/usr/lib/python2.7/dist-packages/oslo_service/loopingcall.py", line 113, in _run_loop 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] result = func(*self.args, **self.kw) 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] File "/usr/lib/python2.7/dist-packages/nova/virt/ironic/driver.py", line 460, in _wait_for_active 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] raise exception.InstanceDeployFailure(msg) 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1] InstanceDeployFailure: Failed to provision instance 4baf963c-4f54-4eff-b004-2a323c40d0c1: Timeout reached while waiting for callback for node 0822a49e-ab40-4069-9252-354b9c8c1dd6 2016-12-20 07:39:14.508 13727 ERROR nova.compute.manager [instance: 4baf963c-4f54-4eff-b004-2a323c40d0c1]
2016-12-20 07:39:02 ERR nova.virt.ironic.driver [req-15bf15dc-9278-4db1-a3d2-06d1c1032dff 3dab0b7f4b1c41ada0c4e1416c871162 24f0c4500faf45cb94ac6d9397e71e37 - - -] Error deploying instance 4baf963c-4f54-4eff-b004-2a323c40d0c1 on baremetal node 0822a49e-ab40-4069-9252-354b9c8c1dd6.
2016-12-20 07:39:02 ERR oslo.service.loopingcall [-] Fixed interval looping call 'nova.virt.ironic.driver.IronicDriver._wait_for_active' failed 2016-12-20 07:39:02.051 13727 ERROR oslo.service.loopingcall Traceback (most recent call last): 2016-12-20 07:39:02.051 13727 ERROR oslo.service.loopingcall File "/usr/lib/python2.7/dist-packages/oslo_service/loopingcall.py", line 113, in _run_loop 2016-12-20 07:39:02.051 13727 ERROR oslo.service.loopingcall result = func(*self.args, **self.kw) 2016-12-20 07:39:02.051 13727 ERROR oslo.service.loopingcall File "/usr/lib/python2.7/dist-packages/nova/virt/ironic/driver.py", line 460, in _wait_for_active 2016-12-20 07:39:02.051 13727 ERROR oslo.service.loopingcall raise exception.InstanceDeployFailure(msg) 2016-12-20 07:39:02.051 13727 ERROR oslo.service.loopingcall InstanceDeployFailure: Failed to provision instance 4baf963c-4f54-4eff-b004-2a323c40d0c1: Timeout reached while waiting for callback for node 0822a49e-ab40-4069-9252-354b9c8c1dd6 2016-12-20 07:39:02.051 13727 ERROR oslo.service.loopingcall










展开
收起
爱吃鱼的程序员 2020-06-08 19:54:23 746 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    upupup

    2020-06-08 19:54:39
    赞同 展开评论 打赏
问答地址:
问答排行榜
最热
最新

相关电子书

更多
OpenStack Swift 海量小文件性能优化之路 立即下载
基于 Mesos 搭建 PaaS 平台你可能需要修的路 立即下载
基于Mesos搭建PaaS平台你可能需要修的路 立即下载