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)
Reviewed: https:/ /review. opendev. org/761193 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=02ded3a9180 eb4443f7f8227ab 0f871f2d23cac5
Committed: https:/
Submitter: Zuul
Branch: stable/ussuri
commit 02ded3a9180eb44 43f7f8227ab0f87 1f2d23cac5
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: I20194f57437e9e ce5d95259bd91c9 5a4f19d9ab5 3276fe1e5a54d5b 7d8ab6c5a8) f1148ed13647e29 314929b443)
Closes-Bug: 1887962
(cherry picked from commit a7f9eda389344b4
(cherry picked from commit 914548f70c4d278