From 2cc9fffc8e04bd63f6d3333b89fdc46ad332e78d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 17 Jan 2020 22:59:57 +0000 Subject: [PATCH] qa/tasks/cephadm: create /etc/ceph if it doesn't exist Signed-off-by: Sage Weil --- qa/tasks/cephadm.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index f343a0b8bf94..331458e793bd 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -624,6 +624,9 @@ def ceph_clients(ctx, config): clients = ctx.cluster.only(teuthology.is_type('client', cluster_name)) testdir = teuthology.get_testdir(ctx) coverage_dir = '{tdir}/archive/coverage'.format(tdir=testdir) + ctx.cluster.run(args=[ + 'sudo', 'mkdir', '-p', '/etc/ceph', + ]); for remote, roles_for_host in clients.remotes.items(): for role in teuthology.cluster_roles_of_type(roles_for_host, 'client', cluster_name): -- 2.47.3