我的实验室:
1 IBM System x3650 M4 - U18.04 with MAAS
1 IBM System x3650 M4 - U18.04 with KVM (1Vm JUJU and 4Vm for OPENSTACK)
我已经使用 Maas 和 Juju 在 4 KVM 节点上部署了 Openstack,所有任务都进展顺利,但如果我尝试启动新实例,则会收到此错误
Error: Failed to perform requested operation on instance "u1804Ins", the instance has an error status: Please try again later [Error: Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instance cca778d5-a1e4-4f53-a31b-52797d97e9ce. Last exception: invalid argument: could not find capabilities for domaintype=kvm ].
如图所示
这意味着什么?
could not find capabilities for domaintype=kvm
有人可以帮助我,谢谢
答案1
正如这篇文章所述,我已经通过 virsh 实用程序编辑了我的 KVM 节点:
$: sudo virsh edit compute-node01-vm
将以下几行从:
<cpu mode='custom' match='exact' check='full'>
<model fallback='allow'>.......</model>
......
......
</cpu>
到
<cpu mode='host-passthrough' match='exact' check='full'>
<model fallback='allow'>.......</model>
......
......
</cpu>
然后,我重启了 MAAS 中的所有节点以使更改生效。现在我可以在 Openstack 上添加一个新实例