Openstack O版本 集群 添加计算节点报错 但是compute1可以正常使用 我吧compute1 关闭了 然后重computer报错 所有服务全部起来了
日志:
2017-08-03 23:36:36.655 13554 ERROR nova.image.glance [req-082aac9b-8459-4d16-982b-1ea6111505ba ecb2cf2892584129a6ba71124697d7b7 55f1e02d910f41c0b5ac35c272c188d8 - - -] Error writing to /var/lib/nova/instances/_base/71551aaa668942247422acde9efeb8f0cca9255b.part: 'NoneType' object is not iterable
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [req-082aac9b-8459-4d16-982b-1ea6111505ba ecb2cf2892584129a6ba71124697d7b7 55f1e02d910f41c0b5ac35c272c188d8 - - -] [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] Instance failed to spawn
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] Traceback (most recent call last):
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2124, in _build_resources
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] yield resources
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1930, in _build_and_run_instance
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] block_device_info=block_device_info)
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2702, in spawn
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] block_device_info=block_device_info)
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 3109, in _create_image
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 3109, in _create_image
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] fallback_from_host)
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 3225, in _create_and_inject_local_root
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] instance, size, fallback_from_host)
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 6787, in _try_fetch_image_cache
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] size=size)
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/imagebackend.py", line 227, in cache
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] *args, **kwargs)
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/imagebackend.py", line 569, in create_image
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] prepare_template(target=base, *args, **kwargs)
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 271, in inner
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] return f(*args, **kwargs)
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/imagebackend.py", line 223, in fetch_func_sync
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] fetch_func(target=target, *args, **kwargs)
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/utils.py", line 458, in fetch_image
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] images.fetch_to_raw(context, image_id, target)
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] File "/usr/lib/python2.7/site-packages/nova/virt/images.py", line 127, in fetch_to_raw
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] fetch(context, image_href, path_tmp)
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] File "/usr/lib/python2.7/site-packages/nova/virt/images.py", line 118, in fetch
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] IMAGE_API.download(context, image_href, dest_path=path)
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 184, in download
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] dst_path=dest_path)
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 602, in download
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] {'path': dst_path, 'exception': ex})
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] self.force_reraise()
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] six.reraise(self.type_, self.value, self.tb)
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 586, in download
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] for chunk in image_chunks:
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] TypeError: 'NoneType' object is not iterable
2017-08-03 23:36:36.656 13554 ERROR nova.compute.manager [instance: fad644a2-baf3-4652-a1a0-18b186032b6b]
2017-08-03 23:36:39.952 13554 INFO nova.compute.manager [req-082aac9b-8459-4d16-982b-1ea6111505ba ecb2cf2892584129a6ba71124697d7b7 55f1e02d910f41c0b5ac35c272c188d8 - - -] [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] Terminating instance
2017-08-03 23:36:39.962 13554 INFO nova.virt.libvirt.driver [-] [instance: fad644a2-baf3-4652-a1a0-18b186032b6b] Instan
ce destroyed successfully.
@pig2 @bioger_hit @嘻哈王子 @tntzbzc @pig2
|
|