Comment 13 for bug 1982808

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

Reviewed: https://review.opendev.org/c/openstack/manila/+/892036
Committed: https://opendev.org/openstack/manila/commit/b300d878b4d82b315ce3dc76cf4dcf0c80f47b1b
Submitter: "Zuul (22348)"
Branch: stable/xena

commit b300d878b4d82b315ce3dc76cf4dcf0c80f47b1b
Author: Fernando Ferraz <email address hidden>
Date: Tue Jul 19 05:33:58 2022 -0300

    NetApp ONTAP: Fix SnapMirror snapshots not being cleaned up

    Replica promote is retaining unneeded snapshots from previous
    SnapMirror relationships and increasing the amount of space
    consumed from snapshots in the storage system.

    This patch fixes the issue by calling the snapmirror release
    operation after resync completes its transferring, which allows
    the SnapMirror software to properly cleanup unneeded resources.

    Closes-Bug: #1982808
    Change-Id: I516fb3575e30d18d971d6a1b7f3b9ad7120c3bbd
    (cherry picked from commit 38b13bb40b879adcc06cef0b0fa629e4b00f7122)
    (cherry picked from commit e85a081f1c48fa02f728e077e09be08587c7c1e1)
    (cherry picked from commit 6db352411413818ddd6c02762fda5d67e0219361)
    (cherry picked from commit 65bcc27100abbbf838ff02735594da5bae3b05c1)