Add support for cinder generic volume groups

Registered by Richard Hagarty

This feature will replace the volume-consistency-groups feature added to Horizon in Newton.

Cinder added generic-volume-groups in Newton as a replacement to the more restrictive volume-consistency-groups. The main role of volume-consistency-groups is for ensuring that multiple volumes can be snapshot or backed-up at the same point in time. In reality, many back-end storage array vendors do not support this feature, so they can not use volume-consistency-groups. But they would like to use some of the other nice features of storing volumes in groups, like for the purpose of managing all volumes associated with an application or tracking all volumes assigned to a department. Having a volume-generic-group will solve this issue, while still providing the functionality of volume-consistency-groups.

Cinder plans to deprecate the volume-consistency-groups support in the Queens release.

This change in Horizon will expose the following Cinder CLI commands:
group-create
group-create-from-src
group-delete
group-list
group-show
group-update

group-snapshot-create
group-snapshot-delete
group-snapshot-list
group-snapshot-show

group-specs-list
group-type-create
group-type-default
group-type-delete
group-type-key
group-type-list
group-type-show
group-type-update

Blueprint information

Status:
Complete
Approver:
Akihiro Motoki
Priority:
Medium
Drafter:
Akihiro Motoki
Direction:
Approved
Assignee:
Vishal Manchanda
Definition:
Approved
Series goal:
Accepted for 15.0.0-stein
Implementation:
Implemented
Milestone target:
milestone icon stein-rc1
Started by
Richard Hagarty
Completed by
Ivan Kolodyazhny

Related branches

Sprints

Whiteboard

[Mar 7, 2019 - amotoki] Only remaining item is below. Once it is merged, this blueprint can be marked as "Implemented".

** Add information group/group_snapshot information to the admin volume/snapshot panel (as we do in the project corresponding panels)

---

vishalmanchanda is interested in working on the remaining stuffs of this blueprint. I will follow him. Changing the assignee to vishalmanchanda. -- amotoki Nov 27 2018

---

Status at Rocky release:
* Project panel support has completed.
* Admin panel support will be covered in Stein release.
** admin group panel
** admin group snapshot panel
** admin group type operations
** Add information group/group_snapshot information to the admin volume/snapshot panel (as we do in the project corresponding panels)

---

Gerrit topic: https://review.openstack.org/#q,topic:add-cinder-group-types,n,z

Addressed by: https://review.openstack.org/410490 - Abandoned
    WIP - Add cinder group types to Admin volume panel

Gerrit topic: https://review.openstack.org/#q,topic:bp/cinder-generic-volume-groups,n,z

Addressed by: https://review.openstack.org/410860
    Add microversion support for consistency groups

[ying_zuo] Information provided from Xing Yang from the Cinder team: The plan is to deprecate CG in Cinder in Queens. CG APIs will still be available but there will be a deprecation message when they are used.  Currently CG APIs have been re-directed to Generic Volume Group APIs.  Eventually we should remove CG APIs when we (Cinder team) are sure it is safe to do so. Most Cinder drivers have moved CG capabilities to Generic Volume Groups in Pike.  There are 1 or 2 drivers left but they should make the change in Queens. The CG feature in Horizon should be replaced with Generic Volume Groups instead, so that they can be leveraged by all Cinder drivers.

Volume Group Type support also needs to be added. It will be covered by the above abandoned patch.

Addressed by: https://review.openstack.org/532430
    Generic volume group support

[amotoki Jan 23, 2018] I will take care of this blueprint in Rocky release.

Addressed by: https://review.openstack.org/540621
    Show generic group info in volume and volume snapshot pages

Addressed by: https://review.openstack.org/540622
    Disable delete volume group when group snapshot exists

Addressed by: https://review.openstack.org/624599
    Add volume group list/show support for admin panel

Addressed by: https://review.openstack.org/632611
    Add volume-group table actions for admin panel

Addressed by: https://review.openstack.org/633581
    Add volume-group snapshot for admin panel

Addressed by: https://review.openstack.org/635247
    Add volume group-type list/show support for admin panel

Gerrit topic: https://review.openstack.org/#q,topic:group-specs,n,z

Addressed by: https://review.openstack.org/637793
    Add volume group-specs-list support for admin panel

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.