CanonicalLtd / microstack

Snap for installing an all-in-one OpenStack
46 stars 15 forks source link

Not using KVM even on a KVM host #88

Open ghost opened 3 years ago

ghost commented 3 years ago

Hi, I just tried to launch an instance with an Ubuntu 20.04.2 ISO, and it defaulted to TCG instead of KVM.

My current workaround was to edit /var/snap/microstack/common/etc/nova/nova-snap.conf so that libvirt config looks like this:

[libvirt]
virt_type = qemu
cpu_mode = host-model
virt_type = kvm <-- added this

And restarting the service:

systemctl restart snap.microstack.nova-compute.service

Host specs (bare metal): Server: Dell PowerEdge R630 CPU: 2 x Intel(R) Xeon(R) CPU X5650 (with VT-x enabled) OS: Ubuntu 20.04.2 (with all updates, clean installation)