]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
nuke: make half-hearted attempt to sync before reboot 116/head
authorSage Weil <sage@inktank.com>
Tue, 1 Oct 2013 16:57:34 +0000 (09:57 -0700)
committerSage Weil <sage@inktank.com>
Tue, 1 Oct 2013 16:57:34 +0000 (09:57 -0700)
commit3e31c493449f2dec50cd562e9e60c366bc398fd6
tree553e54d4f811fc464ddbf524f47a33ec9766239f
parent631476b9796f817e5f1654affb6b2a5aacfe9a80
nuke: make half-hearted attempt to sync before reboot

We don't want to block on sync for fear of a hung kernel
mount.  However, we can give it a try and wait a few seconds
to get what we can.

This fixes a problem where our recent modifications to the
sudoers file are lost, with a 0 byte file left in its place,
because the task fails and we do a reboot -f -n.

Signed-off-by: Sage Weil <sage@inktank.com>
teuthology/nuke.py