Enabling KVM on Openstack Inbox

Sean Mooney smooney at redhat.com
Wed Jan 13 19:18:44 UTC 2021


On Thu, 2021-01-14 at 00:02 +0530, open infra wrote:
> 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.
no that is expected
enableing kvm does not change the hypervior type
its still qemu its just using the kvm accleartion instead of the tsc backend.
so that wont change but your vms should not change tehre domain type and be using kvm.





More information about the openstack-discuss mailing list