]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
provision.fog: Add optional sentinel file 1480/head
authorZack Cerza <zack@redhat.com>
Thu, 14 May 2020 21:55:27 +0000 (15:55 -0600)
committerZack Cerza <zack@redhat.com>
Thu, 14 May 2020 21:55:27 +0000 (15:55 -0600)
commit5c66b774517c0f330f23f087b184caa3f9dbd6db
treebcd1fbc3d609c43b5d5ba7775344d38f33b885a7
parentff173f9c01d947b16ae2f070e7d29a41dd875b74
provision.fog: Add optional sentinel file

Similar to how provision.cloud.openstack works, wait for a particular
file to be created before considering provisioning to be finished.

Unlike the cloud.openstack module, teuthology doesn't control the entire
process, so to avoid breaking any labs that aren't using a sentinel
file, make the feature optional and default to being inoperative.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/provision/fog.py
teuthology/provision/test/test_fog.py