From 0e40064d310129260ae33b61e947005d7325d4ab Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 12 Nov 2021 14:52:46 -0600 Subject: [PATCH] qa/tasks/cephadm: use shortname for remote directory This aligns with what the ceph and syslog tasks do. Signed-off-by: Sage Weil --- qa/tasks/cephadm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index d6dd58abba7..6331793985a 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -296,7 +296,7 @@ def ceph_log(ctx, config): except OSError: pass for remote in ctx.cluster.remotes.keys(): - sub = os.path.join(path, remote.name) + sub = os.path.join(path, remote.shortname) try: os.makedirs(sub) except OSError: @@ -330,7 +330,7 @@ def ceph_crash(ctx, config): except OSError: pass for remote in ctx.cluster.remotes.keys(): - sub = os.path.join(path, remote.name) + sub = os.path.join(path, remote.shortname) try: os.makedirs(sub) except OSError: