VMAX driver - Cannot revert replicated volume to snapshot

Bug #1777871 reported by Ciara Stacke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Helen Walsh

Bug Description

Attempting to restore a replicated volume to snapshot will result in an error, as this operation requires the RDF relationship to be suspended first. It would be safest to throw an exception and block this operation on replicated volumes. The user could instead create a new volume from the snapshot and attach that, instead of reverting the original volume.

Ciara Stacke (cstacke)
tags: added: vmax
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Changed in cinder:
assignee: nobody → Ciara Stacke (cstacke)
status: New → In Progress
Changed in cinder:
assignee: Ciara Stacke (cstacke) → Helen Walsh (walshh2)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/576841
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=92fbe37087f75ac698e39f2fd635caefac1a4e6d
Submitter: Zuul
Branch: master

commit 92fbe37087f75ac698e39f2fd635caefac1a4e6d
Author: Ciara Stacke <email address hidden>
Date: Wed Jun 20 13:43:33 2018 +0100

    VMAX driver - Block revert to snapshot for replicated volumes

    Attempting to restore a replicated volume to snapshot will result in an
    error, as this operation requires the RDF relationship to be suspended
    first. It would be safest to throw an exception and block this operation
    on replicated volumes. The user could instead create a new volume from
    the snapshot and attach that, instead of reverting the original volume.
    This patch implements this change.

    Change-Id: If7b1dc408375d724fdc9ce6a3e256ad37e7c946f
    Closes-bug: 1777871

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 13.0.0.0b3

This issue was fixed in the openstack/cinder 13.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/597049

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/queens)

Reviewed: https://review.openstack.org/597049
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=847c70644712ceab35536392c0212b82cabaa4b3
Submitter: Zuul
Branch: stable/queens

commit 847c70644712ceab35536392c0212b82cabaa4b3
Author: Ciara Stacke <email address hidden>
Date: Wed Jun 20 13:43:33 2018 +0100

    VMAX driver - Block revert to snapshot for replicated volumes

    Attempting to restore a replicated volume to snapshot will result in an
    error, as this operation requires the RDF relationship to be suspended
    first. It would be safest to throw an exception and block this operation
    on replicated volumes. The user could instead create a new volume from
    the snapshot and attach that, instead of reverting the original volume.
    This patch implements this change.

    Change-Id: If7b1dc408375d724fdc9ce6a3e256ad37e7c946f
    Closes-bug: 1777871
    (cherry picked from commit 92fbe37087f75ac698e39f2fd635caefac1a4e6d)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 12.0.4

This issue was fixed in the openstack/cinder 12.0.4 release.

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.