Comment 12 for bug 1694768

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

Reviewed: https://review.openstack.org/499416
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=b1d73fdb8682db16029f0e28620c0590f04bc6f5
Submitter: Zuul
Branch: stable/ocata

commit b1d73fdb8682db16029f0e28620c0590f04bc6f5
Author: Clinton Knight <email address hidden>
Date: Wed May 31 13:52:02 2017 -0400

    NetApp ONTAP: Fix revert-to-snapshot

    In course of normal operation, the backend snapshot
    name is associated with the the ID of the snapshot instance
    in manila.

    However, when a share is replicated or is being migrated,
    the backend snapshot is not renamed. Instead, we simply
    store the original name in the "provider_location" field of
    the snapshot model.

    Fix revert-to-snapshot methods to identify snapshots by
    "provider_location"s rather than the instance IDs.

    Co-Authored-By: Goutham Pacha Ravi <email address hidden>

    Change-Id: I4900c7aecc3da6640ea9c0d4d08012ff5b68cc58
    Closes-Bug: #1694768
    (cherry picked from commit bd47f93007227719e8b9eebbef9767d27025a236)
    (cherry picked from commit 038eb7be4fa75fd7b8c2ad2a69f831e7186dbb9f)
    (cherry picked from commit c789d64a8aa36b796b3ad62f7755726082be2906)