Ask Your Question
0

Unable to launch cirros instance

asked 2017-06-19 08:37:46 -0500

Hallowen gravatar image

I am trying to launch a cirros instance and it's giving me the below error

Error: Failed to perform requested operation on instance "green", the instance has an error status: Please try again later [Error: No valid host was found. There are not enough hosts available.].

edit retag flag offensive close merge delete

Comments

1

It means that none of the compute nodes in your cloud is able to run the Cirros VM, e.g. they do n't have enough capacity, or not the appropriate CPU, or many other reasons. Find more information in the Nova scheduler log file on the controller node, and the Nova compute logs on compute nodes.

Bernd Bausch gravatar imageBernd Bausch ( 2017-06-19 18:54:42 -0500 )edit

Also check /var/log/libvirt/libxl/libxl-driver.log, this can help if nova-compute.log is not clear enough. This way I found out that xen VMs need a special kernel, or that my hypervisor was out of memory.

eblock gravatar imageeblock ( 2017-06-20 03:38:19 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2017-06-20 10:10:06 -0500

updated 2017-06-20 10:29:23 -0500

[Error: No valid host was found. There are not enough hosts available.]

This error means your instance does not find a host on which it can run. This is possibly due to the following two reasons --

1) If the compute node does have enough availabe resources like memory or vcpu's.

2) Nova compute service is not running or malfunctioning. This problems also arises when you shutdown your system. Use the command on compute node it worked for me

$ sudo service nova-compute restart.

edit flag offensive delete link more
0

answered 2017-06-19 19:18:18 -0500

tkokok gravatar image

and if the compute node does have enough vcpu/memory , please check whether it cannot connect to AMQP which is typically built on the controller node

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-06-19 08:37:46 -0500

Seen: 635 times

Last updated: Jun 20 '17