Ask Your Question

Create machine on devstack with ubuntu image faild on No valid host was found. There are not enough hosts available.

asked 2016-09-15 06:26:42 -0500

Eitan Elmalam gravatar image


This is the detaild of the faild. I create machine with ubuntu image with large disk and get the error.


No valid host was found. There are not enough hosts available. Code 500 Details File "/opt/stack/nova/nova/conductor/", line 392, in build_instances context, request_spec, filter_properties) File "/opt/stack/nova/nova/conductor/", line 436, in _schedule_instances hosts = self.scheduler_client.select_destinations(context, spec_obj) File "/opt/stack/nova/nova/scheduler/", line 372, in wrapped return func(args, *kwargs) File "/opt/stack/nova/nova/scheduler/client/", line 51, in select_destinations return self.queryclient.select_destinations(context, spec_obj) File "/opt/stack/nova/nova/scheduler/client/", line 37, in __run_method return getattr(self.instance, __name)(args, *kwargs) File "/opt/stack/nova/nova/scheduler/client/", line 32, in select_destinations return self.scheduler_rpcapi.select_destinations(context, spec_obj) File "/opt/stack/nova/nova/scheduler/", line 121, in select_destinations return, 'select_destinations', **msg_args) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/", line 158, in call retry=self.retry) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/", line 90, in _send timeout=timeout, retry=retry) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/", line 470, in send retry=retry) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/", line 461, in _send raise result

edit retag flag offensive close merge delete


Hi Eitan, Make sure that you have enough space under the root partition to the launch the VM instances because devstack uses root partition space.

praveen gravatar imagepraveen ( 2016-09-26 07:22:28 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2016-09-24 05:14:53 -0500

SGPJ gravatar image

Try with Ubuntu cloud images link to create instances.

edit flag offensive delete link more

answered 2016-09-15 07:05:37 -0500

Tamil gravatar image

Hi Eitan,

While creating instance , If choose m1.large flavor, it takes 8GB RAM and 80 GB disk ,make sure you have enough resource available in compute node to create the instance .

edit flag offensive delete link more



There is enough disk in the compute note ( 20 CPUs, 127 GB) and still same error. With cirros image it's work fine , the erro only with ubuntu image.


Eitan Elmalam gravatar imageEitan Elmalam ( 2016-09-15 07:29:59 -0500 )edit

@Eltan, First ensure your ubuntu image has architecture property x86_64 and then give a try to launch instance

Praveen N gravatar imagePraveen N ( 2016-09-15 07:43:47 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-09-15 06:26:42 -0500

Seen: 323 times

Last updated: Sep 24 '16