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
  • Loading branch information
LiangChen77 committed Apr 4, 2013
1 parent 7437175 commit b823de4
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 b823de4

Please sign in to comment.