HWCloudEngine / hybrid_cloud

6 stars 12 forks source link

[CI]用heat命令加云未完成时强行退出,heat stack-list的状态为error,heat stack-delete后出现error-deleting,加云失败此问题概率性出现 #61

Open liulongzhu opened 8 years ago

liulongzhu commented 8 years ago

通过断点调试发现,当加云过程中异常退出时,没有将失败的云加入列表中,处理删除时是从当前列表中查找并删除,因不在列表无法删除,需要注释掉下面删除的语句才可以删除 vi /usr/lib64/python2.6/site-packages/heat/engine/resources/instance.py def handle_delete(self) ........... return service.CloudManager().delete_aws_access_cloud( region_name=region_name, az=az, az_alias=az_alias, access_key=access_key_id, secret_key=secret_key)