]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
Check description of machines before nuking when -a is passed 118/head
authorSandon Van Ness <sandon@inktank.com>
Tue, 17 Sep 2013 21:11:58 +0000 (14:11 -0700)
committerSage Weil <sage@inktank.com>
Tue, 1 Oct 2013 23:12:31 +0000 (16:12 -0700)
commit6b248e80a66aa6e4c5cd25f11ddb3ffaf787f909
treed541f778a5d9f5062c33e726db6c7b98a1f6a40b
parentd05c8ed8b38e7b149a77f8689f1a82b8acf4df5a
Check description of machines before nuking when -a is passed

When teuthology-nuke is passed with --archive/-a to kill and nuke
machines from an archive folder it blindly will nuke all the
targets it grabs from the config.yaml in the archive dir. This
change will check the description of locked machines and make sure
the run name is in the description. if not it removes the target
from the list passed to nuke().

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
teuthology/nuke.py