]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
Bug #10803: Try apt-get -f install to workaround nuke failure. 441/head
authorSandon Van Ness <sandon@redhat.com>
Fri, 13 Feb 2015 18:46:05 +0000 (10:46 -0800)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 3 Mar 2015 21:44:38 +0000 (15:44 -0600)
commitea004257199a0ef22916c2e327bc79615f9b66ca
treec2c3b4ece0d049d106e8a9547430f4b5a66ceaed
parentc27c36332ce83ffe1d0da7c976b633d3601a0e0e
Bug #10803: Try apt-get -f install to workaround nuke failure.

Sometimes packages or dpkg gets in a weird state where a nuke will
fail to run and simply running an apt-get -f install on the
machine will fix things up so it can be nuked again. Currently
we only ran that being dependent on dpkg --configure completing
where as I changed it so it will still try apt-get -f install
to potentially require less manual intervention when cleaning up
machines. I kept the original behavior but adding some arguments
to insure it will not prompt you for a yes/no (like apt-get -f
install usually would do).

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