我按照说明在单台服务器上完成了 OpenStack 的安装这里,但是在启动实例时出现错误。
Failed to launch instance "test1": Please try again later [Error: No valid host was found. ].
细节:
Fault
Message
No valid host was found.
Code
500
Details
File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 616, in build_instances request_spec, filter_properties) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 49, in select_destinations context, request_spec, filter_properties) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 35, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/query.py", line 34, in select_destinations context, request_spec, filter_properties) File "/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py", line 108, in select_destinations request_spec=request_spec, filter_properties=filter_properties) File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 152, in call retry=self.retry) File "/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 90, in _send timeout=timeout, retry=retry) File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 408, in send retry=retry) File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 399, in _send raise result
Created
May 7, 2015, 4:07 p.m.
我对此还很陌生,所以我才刚刚开始了解情况。我该如何进一步调试发生了什么?
答案1
我已通过连接计算模块解决了该问题:
在 /etc/nova/nova.conf 添加以下行:
libvirt_type=qemu
并重新启动 Nova VM。
高血压