本机使用Ubuntu16.04虚拟机搭建ocata
以下是错误日志
root@controller:/var/log/nova# tail -100 nova-conductor.log
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager [req-bc808c42-0f87-426e-9035-6a8b39049d4f a4ab79f4583f4934acccd52f5f965f4c 3ae4e0d8b2814b1fbe599834e661eaef - - -] Failed to schedule instances
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager Traceback (most recent call last):
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 866, in schedule_and_build_instances
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager request_specs[0].to_legacy_filter_properties_dict())
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 597, in _schedule_instances
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager hosts = self.scheduler_client.select_destinations(context, spec_obj)
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/utils.py", line 371, in wrapped
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager return func(*args, **kwargs)
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 51, in select_destinations
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager return self.queryclient.select_destinations(context, spec_obj)
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager return getattr(self.instance, __name)(*args, **kwargs)
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/client/query.py", line 32, in select_destinations
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager return self.scheduler_rpcapi.select_destinations(context, spec_obj)
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py", line 129, in select_destinations
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager return cctxt.call(ctxt, 'select_destinations', **msg_args)
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 169, in call
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager retry=self.retry)
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 97, in _send
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager timeout=timeout, retry=retry)
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 458, in send
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager retry=retry)
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 449, in _send
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager raise result
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager NoValidHost_Remote: No valid host was found. There are not enough hosts available.
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager Traceback (most recent call last):
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 218, in inner
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager return func(*args, **kwargs)
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line 98, in select_destinations
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager dests = self.driver.select_destinations(ctxt, spec_obj)
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager File "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line 79, in select_destinations
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager raise exception.NoValidHost(reason=reason)
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager NoValidHost: No valid host was found. There are not enough hosts available.
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager
2017-04-24 14:34:53.332 2680 ERROR nova.conductor.manager
2017-04-24 14:34:55.470 2680 WARNING nova.scheduler.utils [req-bc808c42-0f87-426e-9035-6a8b39049d4f a4ab79f4583f4934acccd52f5f965f4c 3ae4e0d8b2814b1fbe599834e661eaef - - -] 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/dist-packages/oslo_messaging/rpc/server.py", line 218, in inner
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line 98, in select_destinations
dests = self.driver.select_destinations(ctxt, spec_obj)
File "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line 79, in select_destinations
raise exception.NoValidHost(reason=reason)
NoValidHost: No valid host was found. There are not enough hosts available.
2017-04-24 14:34:55.507 2680 WARNING nova.scheduler.utils [req-bc808c42-0f87-426e-9035-6a8b39049d4f a4ab79f4583f4934acccd52f5f965f4c 3ae4e0d8b2814b1fbe599834e661eaef - - -] [instance: 592c1d3f-fbe9-45d2-b92d-4b1cc5ca5c9a] Setting instance to ERROR state.
计算节点的nova-compute.log显示:nova-schuduler.client.report[...]Unable to refresh my resource provider record.
ERROR nova-schuduler.client.report[...] Failed to create resource provider record in placement API for UUID ...
<title> 404 Not Found
<p>The request URL /placement/resource_providers was not found on this server.
|