]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
task/kernel: reboot cluster uncondtionally wip-smithfarm
authorNathan Cutler <ncutler@suse.com>
Tue, 18 Feb 2020 20:50:12 +0000 (21:50 +0100)
committerNathan Cutler <ncutler@suse.com>
Tue, 18 Feb 2020 20:50:12 +0000 (21:50 +0100)
Signed-off-by: Nathan Cutler <ncutler@suse.com>
teuthology/task/kernel.py

index 7252c103400b23d4fda76dbdc0db26bc577646b2..29a6550656f80a54fb6e2bf604c51fbc5c2b6f1b 100644 (file)
@@ -782,7 +782,7 @@ def need_to_install_distro(remote):
 
     if current in newest or current.replace('-', '_') in newest:
         log.info('Newest distro kernel installed and running')
-        return False
+        return newest
     log.info(
         'Not newest distro kernel. Current: {cur} Expected: {new}'.format(
             cur=current, new=newest))