From b823de4370fb306de0416d8ec1c1a70ac224207c 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 --- cinder/volume/manager.py | 1 + 1 file changed, 1 insertion(+) 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( -- 2.45.2