Good Morning,
when I create a nova instance with a flavor a get an Error :
No valid host was found. There are not enough hosts available
Code 500
Détails: <<
File "/opt/stack/nova/nova/conductor/manager.py", line 1113, in schedule_and_build_instances instance_uuids, return_alternates=True) File "/opt/stack/nova/nova/conductor/manager.py", line 715, in _schedule_instances return_alternates=return_alternates) File "/opt/stack/nova/nova/scheduler/utils.py", line 840, in wrapped return func(args, *kwargs) File "/opt/stack/nova/nova/scheduler/client/__init__.py", line 53, in select_destinations instance_uuids, return_objects, return_alternates) 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 42, in select_destinations instance_uuids, return_objects, return_alternates) File "/opt/stack/nova/nova/scheduler/rpcapi.py", line 158, 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 179, in call retry=self.retry) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 133, in _send retry=retry) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 584, in send call_monitor_timeout, retry=retry) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 575, in _send raise result>>
Any help, will be very appreciated.
Thanks in advance
Francesco
Wow, someone else who uses the "wit's end" trope. That's my thoughts exactly. Useless errors in logfiles. "no valid host" yet the developer(s) thought it cute to not say what criteria is failing because this has to be as difficult as possible, it seems..
Although this question is old (why does it turn up in my feed today?), let me counter tiger's comment. The failing criteria are logged in the scheduler's log file.
Users are not supposed to know the underlying infrastructure, which might explain why they are not given any more details.