Merge pull request #35125 from tchaikov/wip-cephadm-test

qa/tasks/cephadm: ignore tarfile.ReadError

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
This commit is contained in:
Kefu Chai 2020-05-20 14:37:43 +08:00 committed by GitHub
commit 65c159497f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -250,8 +250,11 @@ def ceph_log(ctx, config):
os.makedirs(sub)
except OSError:
pass
teuthology.pull_directory(remote, '/var/log/ceph', # everything
os.path.join(sub, 'log'))
try:
teuthology.pull_directory(remote, '/var/log/ceph', # everything
os.path.join(sub, 'log'))
except ReadError:
pass
@contextlib.contextmanager
def ceph_crash(ctx, config):