]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
lock/ops.py: Fix retry mechanism for unlock_one 1675/head
authorAishwarya Mathuria <amathuri@redhat.com>
Wed, 15 Sep 2021 18:10:57 +0000 (23:40 +0530)
committerAishwarya Mathuria <amathuri@redhat.com>
Fri, 17 Sep 2021 03:34:10 +0000 (09:04 +0530)
commitc25926b644a6383fa42b1dfbf6f0102dac825b55
treed247402badf28fcd34d3376822da1bab0588c383
parentb135a4f82b02b966053efba0501e6a47c9d2d793
lock/ops.py: Fix retry mechanism for unlock_one

In unlock_one, we currently have a retry mechanism that is only triggered on a particular exception. With this change, we retry the request to unlock no matter what the cause of failure.

Fixes: https://tracker.ceph.com/issues/50921
Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
teuthology/lock/ops.py