From f65b4d4f0ab603c3d3c133f12e2dc0d8f87ea6ca Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 13 Mar 2023 10:32:19 -0600 Subject: [PATCH 1/2] suite.placeholder: Speed up ansible.cephlab By skipping the tags "user,pubkeys,nagios,nrpe" we can save ~3min per job, assuming users won't need to ssh in to a testnode while a job is running - which is probably very close to 100% of jobs. Signed-off-by: Zack Cerza --- teuthology/suite/placeholder.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/teuthology/suite/placeholder.py b/teuthology/suite/placeholder.py index 20b191d1da..14f8ab67d5 100644 --- a/teuthology/suite/placeholder.py +++ b/teuthology/suite/placeholder.py @@ -58,6 +58,9 @@ def _substitute(input_dict, values_dict): 'admin_socket': { 'branch': Placeholder('ceph_branch'), }, + 'ansible.cephlab': { + 'skip_tags': 'user,pubkeys,nagios,nrpe', + }, 'ceph': { 'conf': { 'mon': { From 9a9d7283e1d3282e9e401484a9cf6b0d67fb7dba Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 23 Mar 2023 12:56:10 -0600 Subject: [PATCH 2/2] try skipping cpan too --- teuthology/suite/placeholder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/suite/placeholder.py b/teuthology/suite/placeholder.py index 14f8ab67d5..a8ee60a0f6 100644 --- a/teuthology/suite/placeholder.py +++ b/teuthology/suite/placeholder.py @@ -59,7 +59,7 @@ def _substitute(input_dict, values_dict): 'branch': Placeholder('ceph_branch'), }, 'ansible.cephlab': { - 'skip_tags': 'user,pubkeys,nagios,nrpe', + 'skip_tags': 'user,pubkeys,nagios,nrpe,cpan', }, 'ceph': { 'conf': {