PowerMAX Driver - incorrect snapshot deletion during do_sync_check

Bug #1887962 reported by Simon O'Donovan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Helen Walsh

Bug Description

When performing _do_sync_check from a variety of operations snapshots associated with the volume being used will be deleted. This validation check should only be performing deletes against EMC_SMI and TEMP snapshots.

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

Fix proposed to branch: master
Review: https://review.opendev.org/741639

Changed in cinder:
assignee: nobody → Simon O'Donovan (odonos12)
status: New → In Progress
Changed in cinder:
assignee: Simon O'Donovan (odonos12) → Helen Walsh (walshh2)
Changed in cinder:
assignee: Helen Walsh (walshh2) → Simon O'Donovan (odonos12)
Changed in cinder:
assignee: Simon O'Donovan (odonos12) → Helen Walsh (walshh2)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.opendev.org/741639
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=a7f9eda389344b43276fe1e5a54d5b7d8ab6c5a8
Submitter: Zuul
Branch: master

commit a7f9eda389344b43276fe1e5a54d5b7d8ab6c5a8
Author: odonos12 <email address hidden>
Date: Fri Jul 17 14:43:13 2020 +0100

    PowerMax Driver - Fix non-temporary snapshot delete

    Fix bug where non-temporary snapshots were being
    deleted from volume when do_sync_check is called
    for that volume, caused by missing check for
    temporary snapshot naming convention. Fixed by
    adding this check back into the conditional
    that determined if a snapshot should be deleted.

    Change-Id: I20194f57437e9ece5d95259bd91c95a4f19d9ab5
    Closes-Bug: 1887962

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/victoria)

Fix proposed to branch: stable/victoria
Review: https://review.opendev.org/758543

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

Reviewed: https://review.opendev.org/758543
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=914548f70c4d278f1148ed13647e29314929b443
Submitter: Zuul
Branch: stable/victoria

commit 914548f70c4d278f1148ed13647e29314929b443
Author: odonos12 <email address hidden>
Date: Fri Jul 17 14:43:13 2020 +0100

    PowerMax Driver - Fix non-temporary snapshot delete

    Fix bug where non-temporary snapshots were being
    deleted from volume when do_sync_check is called
    for that volume, caused by missing check for
    temporary snapshot naming convention. Fixed by
    adding this check back into the conditional
    that determined if a snapshot should be deleted.

    Change-Id: I20194f57437e9ece5d95259bd91c95a4f19d9ab5
    Closes-Bug: 1887962
    (cherry picked from commit a7f9eda389344b43276fe1e5a54d5b7d8ab6c5a8)

tags: added: in-stable-victoria
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/761193

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

Reviewed: https://review.opendev.org/761193
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=02ded3a9180eb4443f7f8227ab0f871f2d23cac5
Submitter: Zuul
Branch: stable/ussuri

commit 02ded3a9180eb4443f7f8227ab0f871f2d23cac5
Author: odonos12 <email address hidden>
Date: Fri Jul 17 14:43:13 2020 +0100

    PowerMax Driver - Fix non-temporary snapshot delete

    Fix bug where non-temporary snapshots were being
    deleted from volume when do_sync_check is called
    for that volume, caused by missing check for
    temporary snapshot naming convention. Fixed by
    adding this check back into the conditional
    that determined if a snapshot should be deleted.

    Change-Id: I20194f57437e9ece5d95259bd91c95a4f19d9ab5
    Closes-Bug: 1887962
    (cherry picked from commit a7f9eda389344b43276fe1e5a54d5b7d8ab6c5a8)
    (cherry picked from commit 914548f70c4d278f1148ed13647e29314929b443)

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 16.2.1

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 18.0.0.0b1

This issue was fixed in the openstack/cinder 18.0.0.0b1 development milestone.

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.