nova-docker - Issue in launching the container
First of all I am facing the issue with the nova-docker setup. After certain R&D can be able to fix the issue.
Thread reference: https://ask.openstack.org/en/question...
Now I am facing the Issue in launching the Instance. When I am trying to launch the container I am getting the error in instance overview of horizon as follows:
Message
No valid host was found. There are not enough hosts available.
Code
500
Details
File "/home/infics/stack/nova/nova/conductor/manager.py", line 392, in build_instances context, request_spec, filter_properties) File "/home/infics/stack/nova/nova/conductor/manager.py", line 436, in _schedule_instances hosts = self.scheduler_client.select_destinations(context, spec_obj) File "/home/infics/stack/nova/nova/scheduler/utils.py", line 372, in wrapped return func(*args, **kwargs) File "/home/infics/stack/nova/nova/scheduler/client/__init__.py", line 51, in select_destinations return self.queryclient.select_destinations(context, spec_obj) File "/home/infics/stack/nova/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/home/infics/stack/nova/nova/scheduler/client/query.py", line 32, in select_destinations return self.scheduler_rpcapi.select_destinations(context, spec_obj) File "/home/infics/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
While I was checking regarding this issue I can be able to see the nova scheduler log is showing the details as follows:
2016-09-02 16:08:01.384 WARNING nova.scheduler.utils [req-a4c0701d-04b4-433d-ad64-db09bed4c107 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/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 150, in inner
return func(*args, **kwargs)
File "/home/infics/stack/nova/nova/scheduler/manager.py", line 104, in select_destinations
dests = self.driver.select_destinations(ctxt, spec_obj)
File "/home/infics/stack/nova/nova/scheduler/filter_scheduler.py", line 74, in select_destinations
raise exception.NoValidHost(reason=reason)
NoValidHost: No valid host was found. There are not enough hosts available.
Update:
Now getting a error as follows: nova-conductor
2016-09-06 11:37:10.789 ERROR nova.scheduler.utils [req-e23b1052-4d6d-47e8-8041-fd66f8413ce8 demo demo] [instance: 2f79ac6b-56fb-4a2a-b97c-9a6612794875] Error from last host: infics-devstack (node infics-devstack): [u'Traceback (most recent call last):\n', u' File "/home/infics/stack/nova/nova/compute/manager.py", line 1926, in _do_build_and_run_instance\n filter_properties)\n', u' File "/home/infics/stack/nova/nova/compute/manager.py", line 2116, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=six.text_type(e))\n', u"RescheduledException: Build of instance 2f79ac6b-56fb-4a2a-b97c-9a6612794875 was re-scheduled: Cannot setup network: Unexpected error while running command.\nCommand: sudo nova-rootwrap /etc/nova/rootwrap.conf ln ...
Is it the same problem you were facing here?
No that is different, That error was due to the name of the created image and box name didn't matched, But this one is different.