Ask Your Question
0

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

Hello

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

Thanks

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

edit retag flag offensive close merge delete

Comments

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
1

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
0

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

Comments

Hi

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.

Thanks

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

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: 2016-09-15 06:26:42 -0500

Seen: 189 times

Last updated: Sep 24 '16