Skip to content

Commit

Permalink
leave re-scheduled volume status to creating
Browse files Browse the repository at this point in the history
A re-scheduled volume should not be exported and set to available

Fixes bug #1159027

Change-Id: Ie61d9132ce1bd6461d5e4d9836424ebf14100389
(cherry picked from commit b823de4)
  • Loading branch information
LiangChen77 authored and Chuck Short committed Apr 10, 2013
1 parent e592135 commit 59f11c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cinder/volume/manager.py
Expand Up @@ -260,6 +260,7 @@ def create_volume(self, context, volume_id, request_spec=None,
snapshot_id, image_id,
request_spec, filter_properties,
allow_reschedule)
return

if model_update:
volume_ref = self.db.volume_update(
Expand Down

0 comments on commit 59f11c9

Please sign in to comment.