need a way to display only volume snapshots in volume selection field

Bug #1732208 reported by D Ray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Medium
D Ray

Bug Description

The "volume" selection form element allows one to display volumes, or volumes and volume snapshots (if the include_snapshots attribute is specified). There is no way to display only volume snapshots, nor is there any way to distinguish a volume from a volume snapshot in the list.
In most cases, the selection of a volume or a volume snapshot is a very distinct case; selecting a volume snapshot in place of a volume (or vice-versa) will generally result in an error. Therefore, we need to provide a way to display either only volumes, only volume snapshots or both.

Possible fix: Add an attribute: include_volumes, to show volumes if set to True (default, for backward compatibility). If set to False, the list will not include volumes.

Seen with OpenStack Pike.

D Ray (devray)
Changed in murano:
assignee: nobody → D Ray (devray)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-dashboard (master)

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

zhurong (zhu-rong)
Changed in murano:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-dashboard (master)

Reviewed: https://review.openstack.org/523139
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=259cb419e32739c4cde61c092b4dae9c28705eb9
Submitter: Zuul
Branch: master

commit 259cb419e32739c4cde61c092b4dae9c28705eb9
Author: Devjani Ray <email address hidden>
Date: Mon Nov 27 08:42:05 2017 -0500

    Display volume snapshots only in volume field

    Add an attribute include_volumes to the volume form element. If set to
    true (the default -- maintains backward compatibility), the list will
    include available volumes. If set to false, the list will not include
    volumes.
    To display available snapshots, set attributes include_snapshots to
    true and include_volumes to false.

    DocImpact
    Closes-Bug: #1732208

    Change-Id: I243326e9a68eafcdf367a4fbbdaea7b447550b9a

Changed in murano:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano-dashboard 5.0.0.0b2

This issue was fixed in the openstack/murano-dashboard 5.0.0.0b2 development milestone.

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.