]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Rollback for resources during volume creation failure
authorRongze Zhu <zrzhit@gmail.com>
Tue, 23 Oct 2012 12:12:30 +0000 (12:12 +0000)
committerRongze Zhu <zrzhit@gmail.com>
Thu, 25 Oct 2012 15:13:24 +0000 (15:13 +0000)
commit628adc99b41c097b0c071087a274ded850ff7df5
tree7b27e124fc000c3d15172336c7e410f1c08f563d
parentdf2f070604dad61738ccd3113016f76f2af20cae
Rollback for resources during volume creation failure

Fixes bug #1070258

Add a single QUOTAS.rollback for all exceptions. Ensure that no stale
"reservations" are left in place after a failed volume creation.

Change-Id: Iedb193b213b8ee700a5765278ac4d00dac66d53a
cinder/volume/api.py