]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/ceph: update_archive_setting() only if ctx.archive is valid
authorKefu Chai <kchai@redhat.com>
Tue, 10 Nov 2020 06:40:25 +0000 (14:40 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 14 Nov 2020 07:22:00 +0000 (15:22 +0800)
commitde71f6b0a31ee3629bd60f6714a314caa59ae73f
tree96553159a9e720cd2cb3ee76774199c391dd6897
parenta0e1a8f17372b361db68cc4994120e729d8e484a
qa/tasks/ceph: update_archive_setting() only if ctx.archive is valid

When running teuthology interactively, ctx.archive might not be set.
If it's not set, there is no point trying to access files there.

Fixes: https://tracker.ceph.com/issues/48058
Signed-off-by: Marcus Watts <mwatts@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/tasks/ceph.py