default_cgsnapshot_type should not be listed in "Group Type" selection in "Create Group" form

Bug #1785178 reported by Akihiro Motoki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Unassigned

Bug Description

The generic group type named "default_cgsnapshot_type" is reserved for the consistency group and we cannot use a generic group using "default_cgsnapshot_type".
"default_cgsnapshot_type" should not be listed in "Group Type" selection in "Create Group" form.
In addition, it would be nice if "Create Group" button is disable when there is no generic group type other than "default_cgsnapshot_type".

Tags: cinder
Akihiro Motoki (amotoki)
Changed in horizon:
importance: Undecided → High
milestone: none → rocky-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/589864
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=4c9cf5f00e5b978e77678de6c4c257e733f4c46d
Submitter: Zuul
Branch: master

commit 4c9cf5f00e5b978e77678de6c4c257e733f4c46d
Author: Akihiro Motoki <email address hidden>
Date: Wed Aug 8 21:06:39 2018 +0900

    Hide default_cgsnapshot_type from cinder group types

    The generic group type named "default_cgsnapshot_type" is reserved
    for the consistency group and we cannot use a generic group using
    "default_cgsnapshot_type". "default_cgsnapshot_type" should not be
    listed in "Group Type" selection in "Create Group" form.

    In addition, "Group" and "Group Snapshot" panels make no sense
    when there is no group type other than "default_cgsnapshot_type".
    This commit adds a suggestion to hide "Group" and "Group Snapshot"
    panels if there is no valid group type to the release notes.

    Closes-Bug: #1785178
    Change-Id: I2dce39bcbcf6bedc8dc0c94d11f3c0a85ea61490

Changed in horizon:
status: New → Fix Released
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.