本帖最后由 445433045 于 2016-6-11 18:09 编辑
错误日志在compute节点nova日志中:
2016-06-09 04:08:46.906 31998 ERROR nova.compute.manager [req-1e45e950-14ab-45f1-a365-c00cc718e7aa 91499da80bf5422d87e3f02471ff6dae feef24c739224dc89bd25b0cd443b5eb - - -] [instance: 38180533-03ec-4063-9dc8-38ca1656698e] Failed to deallocate network for instance.
2016-06-09 04:08:47.080 31998 WARNING nova.compute.manager [req-1e45e950-14ab-45f1-a365-c00cc718e7aa 91499da80bf5422d87e3f02471ff6dae feef24c739224dc89bd25b0cd443b5eb - - -] Could not clean up failed build, not rescheduling. Error: Unable to establish connection to http://127.0.0.1:9696/v2.0/ports ... 3-9dc8-38ca1656698e
2016-06-09 04:08:47.325 31998 ERROR nova.compute.manager [req-1e45e950-14ab-45f1-a365-c00cc718e7aa 91499da80bf5422d87e3f02471ff6dae feef24c739224dc89bd25b0cd443b5eb - - -] [instance: 38180533-03ec-4063-9dc8-38ca1656698e] Build of instance 38180533-03ec-4063-9dc8-38ca1656698e aborted: Unable to establish connection to http://127.0.0.1:9696/v2.0/extensions.json
2016-06-09 04:08:47.325 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] Traceback (most recent call last):
2016-06-09 04:08:47.325 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1926, in _do_build_and_run_instance
2016-06-09 04:08:47.325 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] filter_properties)
2016-06-09 04:08:47.325 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2083, in _build_and_run_instance
2016-06-09 04:08:47.325 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] 'create.error', fault=e)
2016-06-09 04:08:47.325 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-06-09 04:08:47.325 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] self.force_reraise()
2016-06-09 04:08:47.325 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2016-06-09 04:08:47.325 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] six.reraise(self.type_, self.value, self.tb)
2016-06-09 04:08:47.325 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2067, in _build_and_run_instance
2016-06-09 04:08:47.325 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] instance=instance)
2016-06-09 04:08:47.325 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
2016-06-09 04:08:47.325 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] self.gen.throw(type, value, traceback)
2016-06-09 04:08:47.325 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2244, in _build_resources
2016-06-09 04:08:47.325 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] reason=six.text_type(exc))
2016-06-09 04:08:47.325 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] BuildAbortException: Build of instance 38180533-03ec-4063-9dc8-38ca1656698e aborted: Unable to establish connection to http://127.0.0.1:9696/v2.0/extensions.json
2016-06-09 04:08:47.325 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e]
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [req-1e45e950-14ab-45f1-a365-c00cc718e7aa 91499da80bf5422d87e3f02471ff6dae feef24c739224dc89bd25b0cd443b5eb - - -] [instance: 38180533-03ec-4063-9dc8-38ca1656698e] Failed to deallocate networks
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] Traceback (most recent call last):
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2249, in _cleanup_allocated_networks
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] self._deallocate_network(context, instance, requested_networks)
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1827, in _deallocate_network
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] context, instance, requested_networks=requested_networks)
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 802, in deallocate_for_instance
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] data = neutron.list_ports(**search_opts)
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 97, in with_params
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] ret = self.function(instance, *args, **kwargs)
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 644, in list_ports
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] **_params)
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 373, in list
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] for r in self._pagination(collection, path, **params):
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 388, in _pagination
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] res = self.get(path, params=params)
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 358, in get
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] headers=headers, params=params)
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 335, in retry_request
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] headers=headers, params=params)
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 286, in do_request
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] resp, replybody = self.httpclient.do_request(action, method, body=body)
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/neutronclient/client.py", line 306, in do_request
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] return self.request(url, method, **kwargs)
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/neutronclient/client.py", line 294, in request
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] resp = super(SessionClient, self).request(*args, **kwargs)
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 98, in request
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] return self.session.request(url, method, **kwargs)
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 94, in inner
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] return func(*args, **kwargs)
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 452, in request
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] resp = send(**kwargs)
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 496, in _send_request
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] raise exceptions.ConnectFailure(msg)
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e] ConnectFailure: Unable to establish connection to http://127.0.0.1:9696/v2.0/ports ... 3-9dc8-38ca1656698e
2016-06-09 04:08:47.327 31998 ERROR nova.compute.manager [instance: 38180533-03ec-4063-9dc8-38ca1656698e]
2016-06-09 04:08:49.538 31998 INFO nova.compute.resource_tracker [req-85d9dc8b-aa77-4ebf-ab09-23ffa4168954 - - - - -] Auditing locally available compute resources for node compute
2016-06-09 04:08:49.689 31998 INFO nova.compute.resource_tracker [req-85d9dc8b-aa77-4ebf-ab09-23ffa4168954 - - - - -] Total usable vcpus: 1, total allocated vcpus: 0
2016-06-09 04:08:49.690 31998 INFO nova.compute.resource_tracker [req-85d9dc8b-aa77-4ebf-ab09-23ffa4168954 - - - - -] Final resource view: name=compute phys_ram=1826MB used_ram=512MB phys_disk=17GB used_disk=0GB total_vcpus=1 used_vcpus=0 pci_stats=[]
2016-06-09 04:08:49.742 31998 INFO nova.compute.resource_tracker [req-85d9dc8b-aa77-4ebf-ab09-23ffa4168954 - - - - -] Compute_service record updated for compute:compute
2016-06-09 04:09:54.544 31998 INFO nova.compute.resource_tracker [req-85d9dc8b-aa77-4ebf-ab09-23ffa4168954 - - - - -] Auditing locally available compute resources for node compute
2016-06-09 04:09:54.656 31998 INFO nova.compute.resource_tracker [req-85d9dc8b-aa77-4ebf-ab09-23ffa4168954 - - - - -] Total usable vcpus: 1, total allocated vcpus: 0
2016-06-09 04:09:54.657 31998 INFO nova.compute.resource_tracker [req-85d9dc8b-aa77-4ebf-ab09-23ffa4168954 - - - - -] Final resource view: name=compute phys_ram=1826MB used_ram=512MB phys_disk=17GB used_disk=0GB total_vcpus=1 used_vcpus=0 pci_stats=[]
2016-06-09 04:09:54.681 31998 INFO nova.compute.resource_tracker [req-85d9dc8b-aa77-4ebf-ab09-23ffa4168954 - - - - -] Compute_service record updated for compute:compute
[root@compute nova]#
|