]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
lock.py: update keys for any owned VMs, even if none mentioned on CLI 348/head
authorDan Mick <dan.mick@redhat.com>
Mon, 27 Oct 2014 22:06:01 +0000 (15:06 -0700)
committerDan Mick <dan.mick@redhat.com>
Tue, 28 Oct 2014 17:00:15 +0000 (10:00 -0700)
commitfff9626f2862bc3ff378129f9ff0b5b06a400344
tree0b1a483175f606124e1c86b7912b0f3317d412aa
parent6b10e203b1c0ddc1d304963fad20c927c672116a
lock.py: update keys for any owned VMs, even if none mentioned on CLI

teuthology-lock to create new VMs followed by "--list-targets" was
returning the old hostkeys.  The code rightly avoids fetching keys
for all hosts; this change makes it update keys owned by the
current querying user.

Fixes: #9871
Signed-off-by: Dan Mick <dan.mick@redhat.com>
teuthology/lock.py