On change I2535017e112c8bcb9a2e516876f52a945e9c7da8 the cinder-manage
clean_locks command was introduced, but it has a bug where the OVO
`exists` method is incorrectly called, since it's missing a context.
This patch fixes this issue and properly calls the Snapshot and Volume
`exists` method.
Reviewed: https:/ /review. opendev. org/c/openstack /cinder/ +/804071 /opendev. org/openstack/ cinder/ commit/ d4c112de26c415d 430d8bac629b23b 5c0f1fff66
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit d4c112de26c415d 430d8bac629b23b 5c0f1fff66
Author: Gorka Eguileor <email address hidden>
Date: Tue Aug 10 14:07:22 2021 +0200
Fix cinder-manage clean_locks command
On change I2535017e112c8b cb9a2e516876f52 a945e9c7da8 the cinder-manage
clean_locks command was introduced, but it has a bug where the OVO
`exists` method is incorrectly called, since it's missing a context.
This patch fixes this issue and properly calls the Snapshot and Volume
`exists` method.
Related-Bug: #1432387 cc60b4a9c4a05b1 5402c9eefa9
Change-Id: Ibed1e92dd63d7b