From 11dd4986bc28e733b4b1de3e97480a3dadb1dd0d Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 15 Aug 2016 12:41:58 -0600 Subject: [PATCH] nuke: remove packages before reboot Just in case daemons coming up after reboot is problematic. Related: http://tracker.ceph.com/issues/17027 Signed-off-by: Zack Cerza --- teuthology/nuke.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/teuthology/nuke.py b/teuthology/nuke.py index f9b7887603..8d589c03be 100644 --- a/teuthology/nuke.py +++ b/teuthology/nuke.py @@ -694,6 +694,8 @@ def nuke_helper(ctx, should_unlock): log.info('Unmount ceph-fuse and killing daemons...') shutdown_daemons(ctx) log.info('All daemons killed.') + # Try to remove packages before reboot + remove_installed_packages(ctx) remotes = ctx.cluster.remotes.keys() reboot(ctx, remotes) @@ -729,5 +731,6 @@ def nuke_helper(ctx, should_unlock): remove_testing_tree(ctx) log.info('Filesystem cleared.') remove_yum_timedhosts(ctx) + # Once again remove packages after reboot remove_installed_packages(ctx) log.info('Installed packages removed.') -- 2.39.5