From: Liang Chen Date: Thu, 4 Apr 2013 15:39:54 +0000 (+0800) Subject: leave re-scheduled volume status to creating X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=b823de4370fb306de0416d8ec1c1a70ac224207c;p=openstack-build%2Fcinder-build.git leave re-scheduled volume status to creating A re-scheduled volume should not be exported and set to available Fixes bug #1159027 Change-Id: Ie61d9132ce1bd6461d5e4d9836424ebf14100389 --- diff --git a/cinder/volume/manager.py b/cinder/volume/manager.py index 8a90b0c25..0f7de446a 100644 --- a/cinder/volume/manager.py +++ b/cinder/volume/manager.py @@ -260,6 +260,7 @@ class VolumeManager(manager.SchedulerDependentManager): snapshot_id, image_id, request_spec, filter_properties, allow_reschedule) + return if model_update: volume_ref = self.db.volume_update(