Ask Your Question
0

Error: Failed to launch instance "": Please try again later [Error: No valid host was found. ] [closed]

asked 2014-07-04 05:12:33 -0500

sjmmone gravatar image

updated 2014-07-05 05:18:27 -0500

dachary gravatar image

Hello

i try to run an vm istance in horizon dashboard and i have this error in horizon Error: Failed to launch instance "io": Please try again later [Error: No valid host was found. ].

Then i see in nova-sheduler.log, and i find this:

2014-07-04 10:41:47.423 3073 ERROR nova.scheduler.filter_scheduler [req-06a4c4e6-59ae-4997-9ed8-533a04219425 32374ddd121e48e6928c9708887a032c 9b1bb0e96817489ea4c58576f892b628] [instance: a9ebddf4-fa0e-4ce6-8a9b-2684ef184606] Error from last host: pubops29041 (node pubops29041.dmz.local): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1311, in _build_instance\n    set_access_ip=set_access_ip)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 399, in decorated_function\n    return function(self, context, *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1723, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1720, in _spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2253, in spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3644, in _create_domain_and_network\n    power_on=power_on)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3538, in _create_domain\n    raise e\n', u"libvirtError: internal error: no supported architecture for os type 'hvm'\n"]
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sjmmone
close date 2014-07-04 08:39:38.637578

Comments

Hardware Virtualization is disabled on Compute Node. Reasons:-
1. kvm_intel or kvm_amd is not loaded
2. Virtualization is disabled in BIOS.

dbaxps gravatar imagedbaxps ( 2014-07-04 05:53:32 -0500 )edit

Make sure, that on Compute Node /etc/nova/nova.conf contains line :-
libvirt_type=qemu

dbaxps gravatar imagedbaxps ( 2014-07-04 06:04:46 -0500 )edit

Is package nova-compute-qemu installed on Compute Node ?

dbaxps gravatar imagedbaxps ( 2014-07-04 06:14:27 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-07-04 06:33:00 -0500

dbaxps gravatar image
Verify several things :-
1. kvm_intel or kvm_amd are  loaded
2. Virtualization is enabled in BIOS.
3. Make sure, that on Compute Node /etc/nova/nova.conf contains line :-
libvirt_type=qemu
4.Package nova-compute-qemu is installed on Compute Node
edit flag offensive delete link more

Comments

Hi,

I am facing similar issue .I get the error for few instances but not for all ( I can launch test instances ). How can I figure out what is going wrong ?

Can anyone help me ?

Gowri gravatar imageGowri ( 2014-08-22 05:35:41 -0500 )edit

Login as admin to dashboard and system-panel->hypervisors. It will show you wrong picture. Restart openstack-nova-compute on suspected nodes

dbaxps gravatar imagedbaxps ( 2014-08-22 06:39:53 -0500 )edit

dbaxps can you tell me how to restart openstack-nova-compute on suspected nodes

Valeri gravatar imageValeri ( 2014-10-18 09:02:23 -0500 )edit

Please, open the new question "how to restart openstack-nova-compute on compute nodes ?". I will respond. Current thread is closed.

dbaxps gravatar imagedbaxps ( 2014-10-18 10:40:52 -0500 )edit
0

answered 2014-07-04 08:38:47 -0500

sjmmone gravatar image

updated 2014-07-04 08:40:55 -0500

thanks a lot dbaxps i solve the problem

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-07-04 05:12:33 -0500

Seen: 4,413 times

Last updated: Jul 04 '14