Add support in Cinder for volume replication - driver approach

Bug #1360768 reported by OpenStack Infra
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
High
Joseph Robinson

Bug Description

https://review.openstack.org/113054
commit 1c8f49bfe9fe3abd713e28922d5551f71228624c
Author: Ronen Kat <email address hidden>
Date: Sat Jul 26 17:06:52 2014 +0300

    Add support in Cinder for volume replication - driver approach

    This is take #2 for managing replicaiton in Cinder.

    This patch provides the foundation in Cinder to make volume
    replication available to the cloud admin. It makes Cinder aware
    of volume replicas, and allows the cloud admin to define storage
    policies (volume types) that will enable replication.

    In this version Cinder delegates most the work on replication
    to the driver itself.

    This includes:
    1. Driver exposes replication capabilities via volume type convention.
    2. Extend volume table to include columns to support replicaion.
    3. Create replicas in the driver, making it transparant to Cinder.
    4. Volume manager code to handle API, updates to create_volume to
       support creating test replicas.
    5. Driver methods to expose per replication functions

    Cinder-specs available at https://review.openstack.org/#/c/98308/

    Volume replication use-case: Simplified disaster recovery
    The OpenStack cloud is deployed across two metro distance data centers.
    Storage backends are available in both data ceneters. The backends
    are managed by either a single Cinder host or two, depending on the
    storage backend requirements.
    Storage admin configures the Cinder volume driver to support
    replication.
    Cloud admin creates a volume type "replicated" with extra-specs:
       capabilities:replication="<is> True"
    Every volume created in type "replicated" has a copy on both
    backends.
    In case of data center failure in first data center, the cloud admin
    promotes the replica, and redeploy the VMs - they will now run on
    a host in the secondary data center using the storage on the
    secondary data center.

    Implements: blueprint volume-replication
    DocImpact

    Change-Id: I964852f08b500400a27bff99e5200386e00643c9

Tom Fifield (fifieldt)
Changed in openstack-manuals:
status: New → Confirmed
milestone: none → juno
importance: Undecided → High
tags: added: major-feature
Revision history for this message
Tom Fifield (fifieldt) wrote :

From duplicate bug:

Need the documentation related to replication support.

Docs problem :
1. required multi back end support for replication ..?
2. changes required for replication support in cinder.conf file.
3.changes in database tables for replication.
4. replication relation table not present in juno code ..??
5. where to provide info of 2nd storage node ..?
6. from where controller knw which is 1st and 2nd storage nodes .
7.capabilities scheduler .py is not there in juno code ..??
and how it is related to replication support.

Tom Fifield (fifieldt)
tags: added: juno
Changed in openstack-manuals:
milestone: juno → kilo
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: kilo → liberty
Changed in openstack-manuals:
assignee: nobody → deng.zhengyi (deng-zhengyi)
assignee: deng.zhengyi (deng-zhengyi) → nobody
Changed in openstack-manuals:
assignee: nobody → Joseph Robinson (joseph-r-email)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

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

Changed in openstack-manuals:
status: Confirmed → In Progress
Changed in openstack-manuals:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/219989
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=dd784ae0ea91df29a60d0b14ddc92bb6d1d01e2f
Submitter: Jenkins
Branch: master

commit dd784ae0ea91df29a60d0b14ddc92bb6d1d01e2f
Author: Joseph Robinson <email address hidden>
Date: Thu Sep 3 14:56:16 2015 +1000

    Support for Cinder volume replication

    Documenting information on how cloud administrators
    can adjust the cinder volume driver to enable
    volume replication. This feature safeguards environments
    from data loss.

    Change-Id: I7ba72a14914cb1b0359e532e619ea36dfe1b73e0
    Closes-Bug:#1360768

Changed in openstack-manuals:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-manuals 15.0.0

This issue was fixed in the openstack/openstack-manuals 15.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.