Create volume from volume snapshot does not work if volume type is specified

Bug #1365596 reported by Amogh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Sam Betts

Bug Description

Login to DevStack as Admin :
1. Create the volume type
2. Create the volume "test" ( No Volume Type)
3. Create the volume snapshot "test" from volume "test" (No Volume Type)
4. Go to snapshots and Create the volume from volume snapshot "test", this time select the volume type
5. Observe that unable to Create volume is displayed.

Screenshot attached for reference.
Bug also occurs when creating a volume from a existing volume.

Tags: volume
Revision history for this message
Amogh (amogh-r-mavinagidad) wrote :
tags: added: volume
Revision history for this message
Gary W. Smith (gary-w-smith) wrote :

When creating a volume from a snapshot, cinder requires the derived volume's type to match the snapshot's if it is supplied; if it is omitted, then it works properly. The volume type selection should be hidden when creating a volume from a snapshot.

Changed in horizon:
status: New → Confirmed
importance: Undecided → Low
Sam Betts (sambetts)
Changed in horizon:
assignee: nobody → Sam Betts (sambetts)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/119384

Changed in horizon:
status: Confirmed → In Progress
Sam Betts (sambetts)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/119384
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=3fb3b5549f4d4c10e01f82ec1fc0f0abc0490d2e
Submitter: Jenkins
Branch: master

commit 3fb3b5549f4d4c10e01f82ec1fc0f0abc0490d2e
Author: Sam Betts <email address hidden>
Date: Fri Sep 5 13:54:47 2014 +0100

    Only show type field on specific volume sources

    Omit volume type field in scenarios where the type is derived from the
    volume source.

    Change-Id: Ie4dad2f279b5c514153932f833fc0af082b9f86f
    Closes-Bug: 1365596

Changed in horizon:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in horizon:
milestone: none → juno-rc1
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: juno-rc1 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.