From: Ilya Dryomov Date: Mon, 6 Nov 2017 19:00:50 +0000 (+0100) Subject: qa/tasks/cram: include /usr/sbin in the PATH for all commands X-Git-Tag: v13.0.1~265^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1591426c30fb61ab88cf0243edc45a2c3866bfa0;p=ceph.git qa/tasks/cram: include /usr/sbin in the PATH for all commands /usr/sbin is not in non-login PATH on centos. We already do this for workunits, see commit 0e53f5f38b0c ("workunit: include /usr/sbin in the PATH for all commands"). Signed-off-by: Ilya Dryomov --- diff --git a/qa/tasks/cram.py b/qa/tasks/cram.py index 02c6667eb7f3..7184745782b1 100644 --- a/qa/tasks/cram.py +++ b/qa/tasks/cram.py @@ -144,6 +144,7 @@ def _run_tests(ctx, role): args=[ run.Raw('CEPH_REF={ref}'.format(ref=ceph_ref)), run.Raw('CEPH_ID="{id}"'.format(id=id_)), + run.Raw('PATH=$PATH:/usr/sbin'), 'adjust-ulimits', 'ceph-coverage', '{tdir}/archive/coverage'.format(tdir=testdir),