[Openstack] Kolla Deployment QEMU instead of KVM

Georgios Dimitrakakis giorgis at acmac.uoc.gr
Tue Feb 28 22:14:04 UTC 2017


 I did a reboot on the physical host and the image is now spawned...

 Any ideas why this is happening??

 G.

 On Tue, 28 Feb 2017 23:52:55 +0200, Georgios Dimitrakakis wrote:
> OK! I see...
>
> Unfortunately I cannot spawn an image and the error in dashboard is :
> Error: Failed to perform requested operation on instance "test", the
> instance has an error status: Please try again later [Error: No valid
> host was found. There are not enough hosts available.].
>
> If I login to the nova-compute docker container as : docker exec -u 0
> -it nova_compute bash
>
> and check the logs at /var/log/kolla/nova/nova-compute.log I see 
> this:
>
> 2017-02-28 22:40:20.351 7 ERROR nova.compute.manager [instance:
> dec9d97a-3c27-42cb-ad75-f45dc2e58154] libvirtError: internal error:
> process exited while connecting to monitor: Could not access KVM
> kernel module: Permission denied
> 2017-02-28 22:40:20.351 7 ERROR nova.compute.manager [instance:
> dec9d97a-3c27-42cb-ad75-f45dc2e58154] failed to initialize KVM:
> Permission denied
>
>
> On the physical host I have disabled SELINUX but without any further 
> impact.
>
>
> Any ideas?
>
>
> Best,
>
> G.
>
> On Tue, 28 Feb 2017 15:25:45 -0600, Chris Friesen wrote:
>> On 02/28/2017 02:39 PM, Georgios Dimitrakakis wrote:
>>> Hello community,
>>>
>>> I am deploying OpenStack using Kolla initially on an all-in-one 
>>> physical
>>> dedicated server.
>>>
>>> My server supports KVM since I can get this for the CPUs:
>>>
>>> [root]# egrep -c '(vmx|svm)' /proc/cpuinfo
>>> 16
>>> [root]#
>>>
>>>
>>> But when I login to dashboard I see that the hypervisor type is 
>>> "QEMU" under the
>>> "Admin->Hypervisors".
>>>
>>> I was expecting to see KVM here...Why is that? Any ideas on what 
>>> can I do to
>>> solve it?
>>
>> This is expected, and is not a problem.  It still uses qemu, just
>> with KVM support enabled.
>>
>> To double-check, I think you should be able to boot an instance and
>> look for "accel=kvm" in the "-machine" portion of the qemu 
>> commandline
>> args.
>>
>> Chris
>>
>> _______________________________________________
>> Mailing list: 
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe : 
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
> _______________________________________________
> Mailing list: 
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : 
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-- 




More information about the Openstack mailing list