]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Handle errors raised by extend_volume
authorMathieu Gagné <mgagne@iweb.com>
Tue, 9 Jul 2013 17:59:43 +0000 (13:59 -0400)
committerMathieu Gagné <mgagne@iweb.com>
Fri, 12 Jul 2013 03:05:04 +0000 (23:05 -0400)
commitcfb849d4a9edc08395de4bb224aae1115eaa9a55
tree27e6b2a192e527526fb8e7fd7d0eba8392e8e26c
parent811d5145cdc4117eb072b355c5022fea4a735aa8
Handle errors raised by extend_volume

Errors raised by extend_volume aren't handled by the manager.
This means the volume status will not be updated to 'error_extending'
when an error is raised during the process.

* Handle such errors and update volume status accordingly
* Add logging for the extend volume process

Fixes: bug #1199471
Change-Id: I06a037af0344d1eaf4115f0af5a85ceeab1ffd37
cinder/volume/manager.py