Enabling KVM on Openstack Inbox

open infra openinfradn at gmail.com
Thu Jan 14 11:44:07 UTC 2021


Thank you Sean.

On Thu, Jan 14, 2021 at 12:54 AM Sean Mooney <smooney at redhat.com> wrote:

> 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.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210114/549a0beb/attachment.html>


More information about the openstack-discuss mailing list