用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 |
upupup
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。