]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Allow volume create from source unless in error status
authorAlan Jiang <ajiang@us.ibm.com>
Tue, 20 Aug 2013 05:22:44 +0000 (00:22 -0500)
committerAlan Jiang <ajiang@us.ibm.com>
Tue, 20 Aug 2013 08:57:38 +0000 (03:57 -0500)
commitab29496714296161ce60b3cd59b85289c3f8889e
treebe9c77d2e49146b9ff5bb79b6d7fb799e4ef15b9
parent34f532cc4c94e1ebb796e60ff5e3a7cc2eda9231
Allow volume create from source unless in error status

This patch restores the source volume status checking behavior
to allow create_volume function to proceed unless it is in
error status. In FibreChannel attached environment, it is typical
to have a volume attached before the volume clone starts. The
operating system owns the volume will ensure the consistency.

Fixes: bug #1214235
Change-Id: Ie639f2f36e2939399303ca0658c169124801e86b
cinder/volume/flows/create_volume.py