From 277a431d79edbef5659166a319401a2f8aa25fcd Mon Sep 17 00:00:00 2001 From: Vasu Kulkarni Date: Thu, 20 Apr 2017 11:08:49 -0700 Subject: [PATCH] change the order when redhat internal task is run ceph-ansible task is modifying some of the repo's set earlier and affecting cdn runs, change the order to run it after ansible task is run. Signed-off-by: Vasu Kulkarni --- teuthology/run.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/teuthology/run.py b/teuthology/run.py index 3ec1c12f89..7bfca604aa 100644 --- a/teuthology/run.py +++ b/teuthology/run.py @@ -217,14 +217,6 @@ def get_initial_tasks(lock, config, machine_type): ]) init_tasks.append({'internal.timer': None}) - if 'redhat' in config: - init_tasks.extend([ - {'internal.setup_cdn_repo': None}, - {'internal.setup_base_repo': None}, - {'internal.setup_additional_repo': None}, - {'kernel.install_latest_rh_kernel': None} - ]) - if 'roles' in config: init_tasks.extend([ {'pcp': None}, @@ -233,6 +225,14 @@ def get_initial_tasks(lock, config, machine_type): {'clock': None} ]) + if 'redhat' in config: + init_tasks.extend([ + {'internal.setup_cdn_repo': None}, + {'internal.setup_base_repo': None}, + {'internal.setup_additional_repo': None}, + {'kernel.install_latest_rh_kernel': None} + ]) + return init_tasks -- 2.39.5