From: Shilpa Jagannath Date: Thu, 17 Jan 2019 14:43:29 +0000 (+0530) Subject: single cluster fix X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d66abefa776494d17724f71d9b2a9dac84f13f7e;p=teuthology.git single cluster fix --- diff --git a/teuthology/task/ceph_ansible.py b/teuthology/task/ceph_ansible.py index fdda97c79..15a01eaaf 100644 --- a/teuthology/task/ceph_ansible.py +++ b/teuthology/task/ceph_ansible.py @@ -422,7 +422,7 @@ class CephAnsible(Task): if ctx.archive is not None and \ not (ctx.config.get('archive-on-error') and ctx.summary['success']): log.info('Archiving logs...') - path = os.path.join(ctx.archive, self.cluster_name, 'remote') + path = os.path.join(ctx.archive, self.cluster_name if self.cluster_name else 'ceph', 'remote') try: os.makedirs(path) except OSError as e: