分享

Openstack O版本 集群 添加计算节点报错

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


%GT`]65]JH$A_5FG4NPJMEJ.jpg
3T$S@BPMQWMJZ9S$$ZDO2[Y.png
91V7MS6R(4(K@3I50)PDS%6.png
UE24V2EM~YJ({)UHQ2A}G~E.jpg

已有(3)人评论

跳转到指定楼层
desehawk 发表于 2017-8-4 12:17:20
首先这个问题比较复杂了。首先but知道计算结点是否安装成功。这里面涉及到网络和控制结点。而且看到控制结点楼主有多个。是否有失败的。添加计算结点又是按照什么文档操作的
回复

使用道具 举报

langke93 发表于 2017-8-4 15:25:57
问题挺大的,需要具体某一个问题。否则根本看不过来。
也可以把相关具体问题都列出来。
比如进程看不到,服务没起来。添加失败,看看到底哪里导致的,先定位基本的问题,或则分析出来导致这个原因的进程。比如网络原因,cinder,或则控制节点的原因等.这样才有个方向。
回复

使用道具 举报

langke93 发表于 2017-8-4 15:29:05
根据提供的错误,初步判断
1.确定租户的资源是充足的,每个租户默认应该只能创建10个实例
2.ERROR nova.compute.manager这个错误,只能说明计算节点的问题,具体是什么原因,还需查看详细日志。比如因为网络或则其它原因
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条