Add support for cinder generic volume groups

Registered by Richard Hagarty on 2016-11-29

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:
Started
Approver:
Rob Cresswell
Priority:
Medium
Drafter:
Richard Hagarty
Direction:
Approved
Assignee:
Akihiro Motoki
Definition:
Approved
Series goal:
Accepted for 14.0.0-rocky
Implementation:
Needs Code Review
Milestone target:
milestone icon rocky-2
Started by
Richard Hagarty on 2016-11-29

Related branches

Sprints

Whiteboard

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

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.