From 59f11c9969200aada1fdcedb763c95fa8085181a Mon Sep 17 00:00:00 2001 From: Liang Chen Date: Thu, 4 Apr 2013 23:39:54 +0800 Subject: [PATCH] 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 (cherry picked from commit b823de4370fb306de0416d8ec1c1a70ac224207c) --- cinder/volume/manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cinder/volume/manager.py b/cinder/volume/manager.py index fa7e23bd7..b7a0e8431 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( -- 2.45.2