]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
lock/cli: don't update inventory if failed to create a vm
authorKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Fri, 10 Jan 2025 14:09:24 +0000 (15:09 +0100)
committerKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Thu, 30 Jan 2025 09:30:39 +0000 (10:30 +0100)
commit62f4df30dccb9d8fd2c2dbfae7929441a0d46e4d
tree90bdec007c5a2ca62d370a75a33f151b594405f3
parenta98393bfed9c4855cb03fe2e5663e79994458590
lock/cli: don't update inventory if failed to create a vm

If we were not able to create a vm we don't need to update machine's
inventory, because there is going to be an ssh connection established
to the host and teuthology gets stuck infinitely trying to connect to
the machine which does not exist.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
teuthology/lock/cli.py