no valid host - dianaclarke/openstack-notes GitHub Wiki

Nevermind: it's magically working again. When it happens again, log notes here.

  • Why the heck do I keep running into this error?!
    • Often starting from scratch with a new VM and devstack fixes it, but that's really time consuming.
  • This time I'm seeing it on the devstack stable/liberty branch when I try to create a non-cirros instance
  • That error comes from the scheduler, what's in those logs?
2016-04-20 11:21:26.371 ERROR nova.scheduler.utils [req-660ad237-9257-4485-9c87-
cccd60631127 admin admin] [instance: cb18a4fe-4288-4dbc-8b6c-f98793680a18] Error
 from last host: localhost.localdomain (node localhost.localdomain): [u'Tracebac
k (most recent call last):\n', u'  File "/opt/stack/nova/nova/compute/manager.py
", line 1905, in _do_build_and_run_instance\n    filter_properties)\n', u'  File
 "/opt/stack/nova/nova/compute/manager.py", line 2058, in _build_and_run_instanc
e\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledEx
ception: Build of instance cb18a4fe-4288-4dbc-8b6c-f98793680a18 was re-scheduled
: Timed out waiting for a reply to message ID 78726f6ee9944f53aebedf127ac8f06d\n
']

2016-04-20 11:21:27.957 WARNING nova.scheduler.utils [req-660ad237-9257-4485-9c87-cccd60631127 admin admin] Failed to compute_task_build_instances: No valid host was found. There are not enough hosts available.
Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 142, in inner
    return func(*args, **kwargs)

  File "/opt/stack/nova/nova/scheduler/manager.py", line 84, in select_destinations
    filter_properties)

  File "/opt/stack/nova/nova/scheduler/filter_scheduler.py", line 90, in select_destinations
    raise exception.NoValidHost(reason=reason)

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