show all the snapshots for the volume

Bug #1323644 reported by Dafna Ron
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Wishlist
Unassigned

Bug Description

since snapshots are created as a chain from a volume and there is a link between a volume and all the snapshots created from it I think that it would be helpful showing that link in horizon.
A use case I can think of is since we cannot delete a volume that has snapshots without deleting the snapshots first, it would be easy to be able to list all snapshots that a specific volume has and delete all of the snapshots at once before deleting the volume.
(actually, a good solution would be for horizon to alert that a volume has X snapshots, list them and ask if we would like to proceed with the delete).

Update 11/21/2014
The expectation is to show all the snapshots created from a volume.

User can click the volume to see the volume detail page which has snapshot tab that has table contains all the snapshots that belong to the volume . If user wants to delete the snapshots, can use delete button to delete them.

Julie Pichon (jpichon)
Changed in horizon:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Liz Blanchard (lblanchard) wrote :

+1 to the solution where we warn the user that this action will delete the "X" snapshots that have been created from this volume. If there are other use cases for a user to get a list of the current snapshots for a volume, it might be nice to add a way to sort or filter the volume snapshots table as a lightweight design solution.

Changed in horizon:
assignee: nobody → Ana Krivokapić (akrivoka)
Changed in horizon:
assignee: Ana Krivokapić (akrivoka) → nobody
Revision history for this message
Gloria Gu (gloria-gu) wrote :

Currently volume in the volume table is a link to the volume detail. I think in the detail , will have a snapshot table that belong to the volume. Same as network detail page which lists subnet and ports.

Snapshot has already had a link to volume.

Changed in horizon:
assignee: nobody → Gloria Gu (gloria-gu)
Gloria Gu (gloria-gu)
summary: - show link between volumes and snapshots
+ show all the snapshots for the volume
Gloria Gu (gloria-gu)
description: updated
Gloria Gu (gloria-gu)
description: updated
description: updated
Gloria Gu (gloria-gu)
description: updated
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/138494

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Gloria Gu (<email address hidden>) on branch: master
Review: https://review.openstack.org/138494
Reason: well, try to be dependent of Motoki's change....first time...but didn't do it right. Try again later.

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/138510

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Gloria Gu (<email address hidden>) on branch: master
Review: https://review.openstack.org/138510
Reason: parent implementation is totally different, don't need parent anymore. Will push another patch separately.

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/156848

Gloria Gu (gloria-gu)
description: updated
Changed in horizon:
assignee: Gloria Gu (gloria-gu) → Richard Hagarty (richard-hagarty)
Changed in horizon:
assignee: Richard Hagarty (richard-hagarty) → nobody
Masco (masco)
Changed in horizon:
status: In Progress → Confirmed
Lucas Palm (lapalm)
Changed in horizon:
assignee: nobody → Lucas Palm (lapalm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Changed in horizon:
status: Confirmed → In Progress
David Lyle (david-lyle)
Changed in horizon:
milestone: none → mitaka-rc1
David Lyle (david-lyle)
Changed in horizon:
milestone: mitaka-rc1 → newton-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by David Lyle (<email address hidden>) on branch: master
Review: https://review.openstack.org/156848
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Changed in horizon:
milestone: newton-1 → newton-2
Changed in horizon:
milestone: newton-2 → newton-3
Changed in horizon:
milestone: newton-3 → next
Changed in horizon:
milestone: next → pike-1
Changed in horizon:
assignee: Lucas Palm (lapalm) → Rob Cresswell (robcresswell)
Changed in horizon:
milestone: pike-1 → pike-2
Changed in horizon:
milestone: pike-2 → pike-3
Changed in horizon:
assignee: Rob Cresswell (robcresswell) → nobody
milestone: pike-3 → queens-1
Changed in horizon:
assignee: nobody → Rob Cresswell (robcresswell)
milestone: queens-1 → pike-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

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

commit a436b12acc85d474f4e71404de771d7143421eed
Author: Lucas Palm <email address hidden>
Date: Wed Jan 20 11:48:45 2016 -0600

    Add the Snapshots tab on the Volume Details page

    Currently, there is no way to filter and see the snapshots for
    just a single Volume. As the combined list of volume snapshots
    increases, so does the difficulty in viewing and using them. It
    would be beneficial to have these snapshots isolated from each other
    based on the volume they were created from.

    This change adds a "Snapshots" tab to the Volume Details page that
    shows a table of snapshots associated with only that specific Volume.
    This will not only make it easier to just view the snapshots for a
    particular Volume, but will also make it much more approachable to
    manage and delete them as well.

    Change-Id: I0a80ef2c8171c81f73e3abf5ab461dae3a3a9afe
    Closes-Bug: #1323644

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to horizon (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/487919

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 12.0.0.0b3

This issue was fixed in the openstack/horizon 12.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to horizon (master)

Reviewed: https://review.openstack.org/487919
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=6be47ced8e19680414a4536538d5dfc3af8923b5
Submitter: Jenkins
Branch: master

commit 6be47ced8e19680414a4536538d5dfc3af8923b5
Author: Rob Cresswell <email address hidden>
Date: Thu Jul 27 16:53:50 2017 +0100

    Improve logic for volume snapshots tab

    This makes the logic around retrieving volume data in the volume
    snapshot page slightly safer. Previously, if the snapshots loaded but
    volume didn't a NameError could occur, and the error message would have
    been incorrect. This patch fixes both of those issues.

    Change-Id: I53df72005b343a9836ed96af045a1f0eb0b3c31d
    Related-Bug: 1323644

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.