qa/tasks/cephadm: use shortname for remote directory

This aligns with what the ceph and syslog tasks do.

Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
Sage Weil 2021-11-12 14:52:46 -06:00
parent 689d7ceabd
commit 0e40064d31

View File

@ -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: