[rhos-list] Problem creating an instance using nova boot

Kevin spam4kev at gmail.com
Tue Sep 4 01:26:50 UTC 2012


I was able to replicate this Essex issue today using a rhel 6.3 x86_64 guest within Oracle VirtualBox v4.1.20 running on a Windows 7 host on a PC with an Intel i3 processor. Both the PC bios and virtualbox guest had processor virtualization enabled.

To build the Essex single VM, I followed the Red_Hat_OpenStack_Preview-1-Getting_Started_Guide-en-US.pdf completely except for one "extra" command. After completing the commands on page 20 and getting this:

[root@ rhel63-test1 ~]$ for srv in api cert network objectstore scheduler volume compute ; do \
> sudo service openstack-nova-$srv start ; \
> done
Starting openstack-nova-api:                               [  OK  ]
Starting openstack-nova-cert:                              [  OK  ]
Starting openstack-nova-network:                           [  OK  ]
Starting openstack-nova-objectstore:                       [  OK  ]
Starting openstack-nova-scheduler:                         [  OK  ]
Starting openstack-nova-volume:                            [  OK  ]
Starting openstack-nova-compute:                           [  OK  ]
[root@ rhel63-test1 ~]$ [root@ rhel63-test1 ~]$ grep -i ERROR /var/log/nova/*
/var/log/nova/compute.log:2012-09-03 17:38:26 CRITICAL nova [-] internal error Cannot find suitable emulator for x86_64
[root@ rhel63-test1 ~]$



I then ran only one of commands suggest from the webpage http://fedoraproject.org/wiki/Getting_started_with_OpenStack_EPEL#Installing_within_a_VM as shown below:

[root at rhel63-test1 libexec]# ln -s /usr/libexec/qemu-kvm /usr/bin/qemu-system-x86_64
[root@ rhel63-test1 ~]$ for srv in api cert network objectstore scheduler volume compute ; do \
> sudo service openstack-nova-$srv stop ; \
> done
[root@ rhel63-test1 ~]$ for srv in api cert network objectstore scheduler volume compute ; do \
> sudo service openstack-nova-$srv start ; \
> done

No more error in the logs!!!!! Hope this helps you Regis.

Kevin F.

-----Original Message-----
From: rhos-list-bounces at redhat.com [mailto:rhos-list-bounces at redhat.com] On Behalf Of Regis Mazur
Sent: Monday, September 03, 2012 8:54 AM
To: Yaniv Kaul; Jaroslav Henner; pbrady at redhat.com; rhos-list at redhat.com
Cc: rh-openstack-dev at redhat.com
Subject: Re: [rhos-list] Problem creating an instance using nova boot

Hello,

I set my all SELinux to permissive mode and still nova-compute doesn't start happily.

compute.log

CRITICAL nova [-] internal error Cannot find suitable emulator for
x86_64

I also checked the installed qemu-kvm package and it's:
qemu-kvm-0.12.1.2-2.295

Did someone manage to setup and run OpenStack Essex Preview on a VM with RHEL 6.3?

Thanks.
Regards.
Regis

On 03/09/12 14:57, Regis Mazur wrote:
> with command (SELinux to Permissive mode for libvirt):
>
> setsebool -P virt_use_execmem on
>
> I get the following error:
> ----------
>
> libsemanage.dbase_llist_set: record not found in the database (No such file or directory).
>
> libsemanage.dbase_llist_set: could not set record value (No such file or directory).
>
> Could not change boolean virt_use_execmem
>
> Could not change policy booleans
>
> ----------
>
> Regis
>
> On 03/09/12 14:46, Yaniv Kaul wrote:
>> [moving internally]
>>
>> On 09/03/2012 04:36 PM, Regis Mazur wrote:
>>> Thanks.
>>>
>>> libvirt is running and sockets are created. But kvm is not loaded!
>>>
>>> As I'm running it on VM, I'm going to apply those extra steps:
>>>
>>> https://fedoraproject.org/wiki/Getting_started_with_OpenStack_EPEL#I
>>> nstalling_within_a_VM
>>>
>>>
>>> Regis
>> I don't think we should support QEMU without KVM.  I'm not sure Red 
>> Hat supports it, tests it, etc.
>> Y.
>>
>>> On 03/09/12 14:20, Jaroslav Henner wrote:
>>>> On Po 3. září 2012, 15:12:31 CEST, Regis Mazur wrote:
>>>>> In compute.log file, I have this error:
>>>>> CRITICAL nova [-] internal error Cannot find suitable emulator for
>>>>> x86_64
>>>>>
>>>>> On 03/09/12 13:48, Jaroslav Henner wrote:
>>>>>> On Po 3. září 2012, 14:14:03 CEST, Regis Mazur wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I have followed the instructions from "Getting Started with 
>>>>>>> OpenStack Essex Preview" document, but when I'm trying to create 
>>>>>>> an instance of my Fedora image using nova boot command the 
>>>>>>> "OS-EXT-STS:vm_state"
>>>>>>> property
>>>>>>> always has "error" value instead of "building".
>>>>>> I would check the logs. Especially /var/log/nova/*
>>>>>>
>>>>>>> Do you have any idea what could be the problem?
>>>>>>>
>>>>>>> Thanks.
>>>>>>> Regards.
>>>>>>> Regis
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> rhos-list mailing list
>>>>>>> rhos-list at redhat.com
>>>>>>> https://www.redhat.com/mailman/listinfo/rhos-list
>>>> Check
>>>> * you have loaded kvm:
>>>> lsmod  | grep kvm
>>>> kvm_intel              52570  0
>>>> kvm                   314739  1 kvm_intel
>>>>
>>>> * your libvirt is running,
>>>>
>>>> * it has created sockets:
>>>> ll /var/run/libvirt/libvirt-sock*
>>>> srwxrwxrwx. 1 root root 0 23. srp 08.17 
>>>> /var/run/libvirt/libvirt-sock srwxrwxrwx. 1 root root 0 23. srp 
>>>> 08.17 /var/run/libvirt/libvirt-sock-ro
>>>>
>>>> * Try reboot. I've seen this several times. AFAIK I didn't find the 
>>>> root cause, but AFAIK reboot helped and then it was OK.
>>>>

--
Best regards.
Régis Mazur
Senior Middleware Consultant
M: +44 (0)782 6870 265

_______________________________________________
rhos-list mailing list
rhos-list at redhat.com
https://www.redhat.com/mailman/listinfo/rhos-list





More information about the rhos-list mailing list