Tiramisu: replication group support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
Unassigned |
Bug Description
https:/
Dear bug triager. This bug was created since a commit was marked with DOCIMPACT.
Your project "openstack/cinder" is set up so that we directly report the documentation bugs against it. If this needs changing, the docimpact-group option needs to be added for the project. You can ask the OpenStack infra team (#openstack-infra on freenode) for help if you need to.
commit 18744ba1991a7e1
Author: xing-yang <email address hidden>
Date: Sat Jul 9 14:26:48 2016 -0400
Tiramisu: replication group support
This patch adds support for replication group.
It is built upon the generic volume groups.
It supports enable replication, disable replication,
failover replication, and list replication targets.
Client side patch is here:
https:/
To test this server side patch using the client side patch:
export OS_VOLUME_
Make sure the group type has group_replicati
consistent_
and the volume types have replication_enabled set in extra specs
(to be compatible with Cheesecake).
cinder group-type-show my_group_type
+--
| Property | Value |
+--
| description | None |
| group_specs | group_replicati
| id | 66462b5c-
| is_public | True |
| name | my_group_type |
+--
cinder type-show my_volume_type
+--
| Property | Value |
+--
| description | None |
| extra_specs | replication_enabled : <is> True |
| id | 09c1ce01-
| is_public | True |
| name | my_volume_type |
| os-volume-
| qos_specs_id | None |
+--
Create a group:
cinder group-create --name my_group my_group_type my_volume_type
cinder group-show my_group
Enable replication group on the primary storage:
cinder group-enable-
Expected results: replication_status becomes “enabled”.
Failover replication group to the secondary storage.
If secondary-
secondary-
cinder group-failover-
If secondary-
the specified backend id:
cinder group-failover-
--secondary
Expected results: replication_status becomes “failed-over”.
Run failover replication group again to fail the group back to
the primary storage:
cinder group-failover-
--secondary
Expected results: replication_status becomes “enabled”.
Disable replication group:
cinder group-disable-
Expected results: replication_status becomes “disabled”.
APIImpact
DocImpact
Implements: blueprint replication-cg
Change-Id: I4d488252bd670b
Changed in cinder: | |
assignee: | nobody → Xing Yang (xing-yang) |
Unassigning due to no activity for > 6 months.