Ask Your Question

Openstack Havana instance creation error-->code: 500 instance raise exception NoValidHost

asked 2014-07-02 08:52:02 -0500

Genevieve gravatar image

Hi, I am installing Openstack Havana All-in-One using this guide: .

Problem: When I create a new instance it is always in an error state and I get the following message: {u'message': u'No valid host was found. ', u 'code': 500, u'details': u' File "/usr/lib/python2.7/dist-packages/nova/scheduler/fi", line 107, in schedule_run_instance|||raise exception.NoValidHost(reason="")

The instance I created was from a fedora image and I tried with both a small and tiny flavour.

I know there are similar questions on this board but no one seems to have resolved or have not shared their resolution steps. I am new to this and do not know where to start troubleshooting. I thought this might be an error with neutron or Mysql ? I have deleted VMs and restarted from scratch but still get the same problem.

Thank you very much

edit retag flag offensive close merge delete


Check Admin->System Panel->Hypervisors
Reboot the box.

dbaxps gravatar imagedbaxps ( 2014-07-02 09:34:32 -0500 )edit

2 answers

Sort by » oldest newest most voted

answered 2014-07-03 09:08:12 -0500

Genevieve gravatar image

I made some changes in my VM's networking, I was only using NAT but now I use NAT and a Host-Only network for the private network and everything seems to work fine now. Thank you !

edit flag offensive delete link more

answered 2014-07-02 09:40:38 -0500

Eric Xie gravatar image

“No valid host was found” stands for that scheduler can not choise any host which can run the instance. I suggest you follow several step below: 1. Check nova-compute service running OK or not. Use CLI command nova service-list to check nova-compute service if smile or not. 2. Check compute node if has enough resources. Use CLI commands nova hypervisor-list and nova hypervisor-show HYPERVISOR. 3. If already get the same problem, you can get detail info from scheduler log(/var/log/nova/nova-scheduler.log).

Wish helps you!

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-07-02 08:52:02 -0500

Seen: 1,098 times

Last updated: Jul 03 '14