From: James Nunez Date: Mon, 28 Oct 2013 02:50:01 +0000 (-0600) Subject: LU-3985 tests: Archive access must be done from an agent X-Git-Tag: 2.5.51~24 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=273019eca653f93fa091493691de944c1058631d;p=fs%2Flustre-release.git LU-3985 tests: Archive access must be done from an agent In sanity-hsm, all access to the archive backend must be done from an agent. Tests 111a and 111b call the copytool_remove_backend routine that calls find on the archive backend. With this patch, the call to find is done on the agent with a call to "do_facet $SINGLEAGT". Signed-off-by: James Nunez Change-Id: I537fe5e019861908612140b3c96ea2018a738e46 Reviewed-on: http://review.whamcloud.com/8076 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: John L. Hammond Reviewed-by: Jinshan Xiong Reviewed-by: Aurelien Degremont Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity-hsm.sh b/lustre/tests/sanity-hsm.sh index a9ed931..ee25dcb 100644 --- a/lustre/tests/sanity-hsm.sh +++ b/lustre/tests/sanity-hsm.sh @@ -178,7 +178,7 @@ copytool_suspend() { copytool_remove_backend() { local fid=$1 - local be=$(find $HSM_ARCHIVE -name $fid) + local be=$(do_facet $SINGLEAGT find $HSM_ARCHIVE -name $fid) echo "Remove from backend: $fid = $be" do_facet $SINGLEAGT rm -f $be }