Comment 10 for bug 1890254

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

Reviewed: https://review.opendev.org/c/openstack/cinder/+/779141
Committed: https://opendev.org/openstack/cinder/commit/1d10e63bdf38fd174a2e367abc12e98bb415fae5
Submitter: "Zuul (22348)"
Branch: stable/train

commit 1d10e63bdf38fd174a2e367abc12e98bb415fae5
Author: GirishChilukuri <email address hidden>
Date: Tue Oct 6 19:09:34 2020 +0000

    [SVF]:Fix clone fcmap not being deleted in cleanup

    [Spectrum Virtualize Family] check_vdisk_fc_mappings is not deleting
    clone fc maps, if the flashcopy status is in copying autodelete is set
    to on and copy progress is 100%. when multiple clones and snapshots
    are created using common source volume, deleting the source volume
    is not removing all the fcmaps involved in mapping with source volume.

    This patch fixes the issue by removing the clone fcmap and then
    removing the snapshot fcmap when the source has more than one fcmap.

    Closes-Bug: #1890254

    Change-Id: I84629cde6d27d6889a30d7c13d99f57c660adde7
    (cherry picked from commit 3570a79a16127fd42216aa40b4f492e40533f0ed)
    (cherry picked from commit 6e592a8dd49a85f8658ffeeb8c95a9d39f1d8507)
    (cherry picked from commit c469c1294d5a09f926905414f505d6e84ebaf506)