mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
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:
parent
689d7ceabd
commit
0e40064d31
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user