]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
VMware: Handle exceptions raised by image update
authorVipin Balachandran <vbala@vmware.com>
Thu, 14 Aug 2014 15:06:20 +0000 (20:36 +0530)
committerVipin Balachandran <vbala@vmware.com>
Mon, 18 Aug 2014 14:11:49 +0000 (19:41 +0530)
commit7ac4fc76f2d777fd4e0ec4245eaf989f99917be2
treea1cedbb5e364c30bac317e73e47309f973795a4e
parente1126d471f2c04ea6677d821fce84370f906be51
VMware: Handle exceptions raised by image update

Exceptions raised by glance image update are not handled while writing
to image. This results in volume being stuck in uploading state for
a long time even after image transfer failure. This patch fixes the
exception handling.

Change-Id: I7651c96968caa49c5421d68ee4dbe9e55f7f53b1
Closes-Bug: #1357239
Partial-Bug: #1269345
cinder/tests/test_vmware_io_util.py
cinder/volume/drivers/vmware/error_util.py
cinder/volume/drivers/vmware/io_util.py
cinder/volume/drivers/vmware/vmware_images.py