![在单节点上完成 OpenStack 安装后无法部署实例](https://linux22.com/image/871555/%E5%9C%A8%E5%8D%95%E8%8A%82%E7%82%B9%E4%B8%8A%E5%AE%8C%E6%88%90%20OpenStack%20%E5%AE%89%E8%A3%85%E5%90%8E%E6%97%A0%E6%B3%95%E9%83%A8%E7%BD%B2%E5%AE%9E%E4%BE%8B.png)
我按照说明在单台服务器上完成了 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。
高血压