openstack中resize更改虚拟机内存、cpu大小后虚拟机状态显示VERIFY_RESIZE

今天测试openstack 对建好的虚拟机更改内存、cpu等大小时  虚拟机的状态值一直显示 VERIFY_RESIZE
查看nova-compute.log 日志发现周期性的报错:

2012-05-30 15:46:01 ERROR nova.manager [-] Error during ComputeManager._run_image_cache_manager_pass: 'NoneType' object has no attribute 'startswith'
2012-05-30 15:46:01 TRACE nova.manager Traceback (most recent call last):
2012-05-30 15:46:01 TRACE nova.manager File "/usr/lib/python2.7/site-packages/nova/manager.py", line 167, in periodic_tasks
2012-05-30 15:46:01 TRACE nova.manager task(self, context)
2012-05-30 15:46:01 TRACE nova.manager File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2679, in _run_image_cache_manager_pass
2012-05-30 15:46:01 TRACE nova.manager self.driver.manage_image_cache(context)
2012-05-30 15:46:01 TRACE nova.manager File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/connection.py", line 2476, in manage_image_cache
2012-05-30 15:46:01 TRACE nova.manager self.image_cache_manager.verify_base_images(context)
2012-05-30 15:46:01 TRACE nova.manager File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/imagecache.py", line 389, in verify_base_images
2012-05-30 15:46:01 TRACE nova.manager inuse_backing_images = self._list_backing_images()
2012-05-30 15:46:01 TRACE nova.manager File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/imagecache.py", line 171, in _list_backing_images
2012-05-30 15:46:01 TRACE nova.manager backing_file)
2012-05-30 15:46:01 TRACE nova.manager File "/usr/lib64/python2.7/posixpath.py", line 66, in join
2012-05-30 15:46:01 TRACE nova.manager if b.startswith('/'):
2012-05-30 15:46:01 TRACE nova.manager AttributeError: 'NoneType' object has no attribute 'startswith'
2012-05-30 15:46:01 TRACE nova.manager

 
VERIFY_RESIZE    这个状态就是 resize 之后的状态,在运行 nova  resize-confirm  <server id>  如果不运行 resize-confirm 24小时之后自动resize-confirm ,在这个状态下可以把 resize撤销, 也可以把resize 确认
 

你可能感兴趣的:(openstack,resize,StartsWith,NoneType,resize-confirm)