Enabling KVM on Openstack Inbox

open infra openinfradn at gmail.com
Wed Jan 13 18:32:16 UTC 2021


Hi

(This mail has been sent to the community mailing list already, and I was
suggested to reach out to this mailing list.)

I have enabled KVM after deploying openstack single node setup.
Following entries has been added to /etc/nova/nova.conf and then restart
libvirtd.service  and openstack-nova-compute.servic.

compute_driver = libvirt.LibvirtDriver [libvirt] virt_type=kvm
#virt_type=qemu

# lsmod | grep kvm
kvm_intel             188740  0
kvm                   637289  1 kvm_intel
irqbypass              13503  1 kvm


I have disabled qemu in nova config and restarted the entire box (including
the base OS and the VM where I deployed Openstack.
But still no luck.


$ openstack hypervisor list
+----+------------------------+-----------------+----------------+-------+
| ID | Hypervisor Hostname    | Hypervisor Type | Host IP        | State |
+----+------------------------+-----------------+----------------+-------+
|  1 | openstack.centos.local | QEMU            | 192.168.122.63 | up    |
+----+------------------------+-----------------+----------------+-------+

I still can see Hypervisor Type as QEMU, when I issue openstack hypervisor
list command.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210114/8aab0563/attachment.html>


More information about the openstack-discuss mailing list