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)
Reviewed: https:/ /review. opendev. org/758543 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=914548f70c4 d278f1148ed1364 7e29314929b443
Committed: https:/
Submitter: Zuul
Branch: stable/victoria
commit 914548f70c4d278 f1148ed13647e29 314929b443
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)
Closes-Bug: 1887962
(cherry picked from commit a7f9eda389344b4