]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cleanup-and-unlock.sh: helper to nuke and then unlock a set of nodes
authorSage Weil <sage@newdream.net>
Wed, 4 Apr 2012 20:56:10 +0000 (13:56 -0700)
committerSage Weil <sage@newdream.net>
Wed, 4 Apr 2012 20:56:10 +0000 (13:56 -0700)
commitba0fb3ed87b626e8e17d5929f5ac6fe3050db6a1
treed76179e874f912d30ab32d53a41ac47155512287
parent3adf2bf97534e5bb4efd003689ae60c380e899ce
cleanup-and-unlock.sh: helper to nuke and then unlock a set of nodes

I usually do something like

 teuthology-lock --list-targets --owner scheduled_sage@metropolis > /tmp/b
 ./cleanup-and-unlock.sh /tmp/b scheduled_sage@metropolis

It's a huge headache when some of the nodes are down, though.  A better
thing would be if nuke had an --unlock option, and would continue with the
nodes that didn't error out.

But, this is still useful as is.
cleanup-and-unlock.sh [new file with mode: 0755]