Ask Your Question
0

After creating an VM No valid host was found.

asked 2017-03-05 02:16:14 -0600

minimike gravatar image

updated 2017-03-05 04:52:59 -0600

Bernd Bausch gravatar image

Hi there

I get these mesage by starting my first VM.. Seems I am not alone in the dark, but I havn't found an suitable solution.

XEON D-1541 32 GB Memory Ubuntu 16.04 Installed on an ZFS Root OpenStack Mitaka with Keystone, Cinder, Neutron, Nova and Glance All in ONE but a smaller BOX is planed to be a pure Compute-Node.

I've tried it with XEN and KVM. By creating an mashiene ( cirros ) the box would been created but not started. Stopped by down described message. The Services are running. Anyone has an idea how I could debug and resolve this issue?

No valid host was found. There are not enough hosts available. 500

File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 392, in build_instances context, request_spec, filter_properties) 
File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 436, in _schedule_instances hosts = self.scheduler_client.select_destinations(context, spec_obj) 
File "/usr/lib/python2.7/dist-
    packages/nova/scheduler/utils.py", line 372, in wrapped return func(*args, **kwargs) 
File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 51, in select_destinations return self.queryclient.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) 
File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/query.py", line 32, in select_destinations return self.scheduler_rpcapi.select_destinations(context, spec_obj) File "/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py", line 121, in select_destinations return cctxt.call(ctxt, 'select_destinations', **msg_args) 
File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 158, in call retry=self.retry) File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 90, in _send timeout=timeout, retry=retry) 
File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 470, in send retry=retry)
File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 461, in _send raise result
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2017-03-05 04:56:46 -0600

Bernd Bausch gravatar image

To debug and eventually resolve the issue, you need to check the scheduler log file, usually /var/log/nova/nova-scheduler.log. I suggest you enable debug logging in nova.conf, restart the scheduler service and try to launch another instance.

Then, in the scheduler log, you should find DEBUG messages that show you which filter rejected the compute host. That gives you a clue what might be wrong.

edit flag offensive delete link more

Comments

As of ~ Liberty I think it gives you enough info in the scheduler logging even if you don't have DEBUG logging enabled thanks to https://blueprints.launchpad.net/nova...

sgordon gravatar imagesgordon ( 2017-03-06 08:39:26 -0600 )edit
0

answered 2017-03-20 04:08:30 -0600

minimike gravatar image

After a week I dived deeper into neutron and get them running now. And I've learned to debug something. Thank you guys.

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

Stats

Asked: 2017-03-05 02:16:14 -0600

Seen: 130 times

Last updated: Mar 20