]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
supervisor: Don't unlock nodes w/ bad description 1688/head
authorZack Cerza <zack@redhat.com>
Wed, 20 Oct 2021 18:51:30 +0000 (12:51 -0600)
committerZack Cerza <zack@redhat.com>
Wed, 20 Oct 2021 18:51:30 +0000 (12:51 -0600)
commitf4383d9bdf3a2cb78e72865ce87a9f77186ca772
tree5b0fd80f4066d5f3a513d979c40830d5c0dddbcc
parentb35344e81ac507b6cad7c1cae575ce08b9c766f2
supervisor: Don't unlock nodes w/ bad description

Very rarely, we enter a situation where nodes get used by two jobs
simultaneously. We can break this cycle if jobs refuse to unlock a
node that is locked by a different job.

This will not entirely prevent the problem, but it will keep it from
perpetuating itself.

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