mirror of
https://github.com/ceph/ceph
synced 2024-12-26 13:33:57 +00:00
ba0fb3ed87
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.
5 lines
101 B
Bash
Executable File
5 lines
101 B
Bash
Executable File
#!/bin/sh -ex
|
|
|
|
bin/teuthology-nuke -t $1 -r --owner $2
|
|
bin/teuthology-lock --unlock -t $1 --owner $2
|