]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
lock: Avoid querying paddles for non-jobs 2002/head
authorZack Cerza <zack@redhat.com>
Thu, 29 Aug 2024 23:03:20 +0000 (17:03 -0600)
committerZack Cerza <zack@redhat.com>
Thu, 29 Aug 2024 23:03:20 +0000 (17:03 -0600)
commit75289d50c0d8c17176fd9ed0bc960b18fd67f6a3
treec648949956841508ce5f3aa2948a8bb6edcce094
parent3752d3834a7b6cd13dc17dfaa6c2fd3658f3439a
lock: Avoid querying paddles for non-jobs

When we encounter a node that's locked with a description that doesn't look
like it points to a job, avoid the inevitable 404 we'd get from paddles. Without
this, the cleanup process gets short-circuited.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/lock/query.py