Commit 8f5a7533 authored by Julien Leduc's avatar Julien Leduc
Browse files

Prepare was failing in client_ar.sh because of a typo in KrB5CCNAME, adding -s...

Prepare was failing in client_ar.sh because of a typo in KrB5CCNAME, adding -s to prepare as by xrootd definition we are staging files to disk and not discovering them.
parent a1f15d7f
......@@ -79,6 +79,7 @@ fi
# get some common useful helpers for krb5
. /root/client_helper.sh
# Get kerberos credentials for poweruser1
eospower_kdestroy
eospower_kinit
......@@ -148,7 +149,8 @@ echo "Trigerring EOS retrieve workflow as poweruser1:powerusers (12001:1200)"
# XrdSecPROTOCOL=sss xrdfs ${EOSINSTANCE} prepare -s "${EOS_DIR}/${TEST_FILE_NAME}?eos.ruid=12001&eos.rgid=1200" || echo "Could not trigger retrieve for ${EOS_DIR}/${TEST_FILE_NAME}"
#done
grep tapeonly$ ${STATUS_FILE} | sed -e 's/ .*$//' | KB5CCNAME=/tmp/${EOSPOWER_USER}/krb5cc_0 XrdSecPROTOCOL=krb5 xargs --max-procs=${NB_PROCS} -iTEST_FILE_NAME xrdfs ${EOSINSTANCE} prepare -s ${EOS_DIR}/TEST_FILE_NAME
# We need the -s as we are staging the files from tape (see xrootd prepare definition)
grep tapeonly$ ${STATUS_FILE} | sed -e 's/ .*$//' | KRB5CCNAME=/tmp/${EOSPOWER_USER}/krb5cc_0 XrdSecPROTOCOL=krb5 xargs --max-procs=${NB_PROCS} -iTEST_FILE_NAME xrdfs ${EOSINSTANCE} prepare -s ${EOS_DIR}/TEST_FILE_NAME
# Wait for the copy to appear on disk
......
......@@ -48,7 +48,9 @@ echo
echo "Trigerring EOS retrieve workflow as poweruser1:powerusers (12001:1200)"
#echo "XrdSecPROTOCOL=sss xrdfs ${EOSINSTANCE} prepare -s \"/eos/ctaeos/cta/${TEST_FILE_NAME}?eos.ruid=12001&eos.rgid=1200\""
# XrdSecPROTOCOL=sss xrdfs ${EOSINSTANCE} prepare -s "/eos/ctaeos/cta/${TEST_FILE_NAME}?eos.ruid=12001&eos.rgid=1200"
KRB5CCNAME=/tmp/${EOSPOWER_USER}/krb5cc_0 XrdSecPROTOCOL=krb5 xrdfs ${EOSINSTANCE} prepare /eos/ctaeos/cta/${TEST_FILE_NAME}
# We need the -s as we are staging the files from tape (see xrootd prepare definition)
KRB5CCNAME=/tmp/${EOSPOWER_USER}/krb5cc_0 XrdSecPROTOCOL=krb5 xrdfs ${EOSINSTANCE} prepare -s /eos/ctaeos/cta/${TEST_FILE_NAME}
# Wait for the copy to appear on disk
SECONDS_PASSED=0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment