Merge pull request #33775 from tchaikov/wip-44454

qa/tasks/ceph.py: quote "<kind>" in command line

Reviewed-by: Ramana Raja <rraja@redhat.com>
This commit is contained in:
Ramana Raja 2020-03-06 12:31:12 +05:30 committed by GitHub
commit 6b45b3b6c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -314,10 +314,10 @@ def valgrind_post(ctx, config):
for remote in ctx.cluster.remotes.keys():
# look at valgrind logs for each node
proc = remote.run(
args='sudo zgrep <kind> /var/log/ceph/valgrind/* '
args="sudo zgrep '<kind>' /var/log/ceph/valgrind/* "
# include a second file so that we always get
# a filename prefix on the output
'/dev/null | sort | uniq',
"/dev/null | sort | uniq",
wait=False,
check_status=False,
stdout=BytesIO(),