From 5ede1151a8c9f23eaba23d35a3c3e2a3dc9cf9b6 Mon Sep 17 00:00:00 2001 From: James Nunez Date: Sun, 27 Oct 2013 20:50:01 -0600 Subject: [PATCH] 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 --- lustre/tests/sanity-hsm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/sanity-hsm.sh b/lustre/tests/sanity-hsm.sh index 880a0ad..ca064ff 100644 --- a/lustre/tests/sanity-hsm.sh +++ b/lustre/tests/sanity-hsm.sh @@ -200,7 +200,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 } -- 1.8.3.1