From 9a1189a26faf48192e38a90452809a0d56a781c6 Mon Sep 17 00:00:00 2001 From: Niels Alexander Buegel <niels.alexander.bugel@cern.ch> Date: Tue, 28 Jan 2025 10:44:32 +0100 Subject: [PATCH 1/2] Updated the tape config to be more like that used in operations --- .../orchestration/setup/configure_eoscta_tape.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/continuousintegration/orchestration/setup/configure_eoscta_tape.sh b/continuousintegration/orchestration/setup/configure_eoscta_tape.sh index a3f29ed71b..2771f743b6 100644 --- a/continuousintegration/orchestration/setup/configure_eoscta_tape.sh +++ b/continuousintegration/orchestration/setup/configure_eoscta_tape.sh @@ -6,11 +6,14 @@ eos vid enable unix eos vid enable https eos space config default space.filearchivedgc=on +eos space config default space.tapeawaregc.minfreebytes=0 eos space config default space.wfe=on eos space config default space.wfe.ntx=100 eos space config default taperestapi.status=on eos space config default taperestapi.stage=on eos space config default space.token.generation=1 +eos space config default space.scanrate=0 +eos space config default space.scaninterval=0 eos attr -r set default=replica /eos eos attr -r set sys.forced.nstripes=1 /eos @@ -63,6 +66,11 @@ eos attr set sys.acl=g:eosusers:rwx!d,u:poweruser1:rwx+dp,u:poweruser2:rwx+dp,z: eos attr set sys.archive.storage_class=${CTA_STORAGE_CLASS} ${CTA_PREPROD_DIR} eos attr link ${CTA_WF_DIR} ${CTA_PREPROD_DIR} # Link workflows +# create tmp disk only directory for tests +EOS_TMP_DIR=/eos/${EOS_INSTANCE}/tmp +eos mkdir ${EOS_TMP_DIR} +eos chmod 777 ${EOS_TMP_DIR} + # ${CTA_TEST_DIR} must be writable by eosusers and powerusers # but as there is no sticky bit in eos, we need to remove deletion for non owner to eosusers members # this is achieved through the ACLs. -- GitLab From d2f641841fadabc655c9b5b7c144943102d6882c Mon Sep 17 00:00:00 2001 From: Niels Alexander Buegel <niels.alexander.bugel@cern.ch> Date: Tue, 28 Jan 2025 10:46:42 +0100 Subject: [PATCH 2/2] Fixed incorrect variable --- .../orchestration/setup/configure_eoscta_tape.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/continuousintegration/orchestration/setup/configure_eoscta_tape.sh b/continuousintegration/orchestration/setup/configure_eoscta_tape.sh index 2771f743b6..9c1a004867 100644 --- a/continuousintegration/orchestration/setup/configure_eoscta_tape.sh +++ b/continuousintegration/orchestration/setup/configure_eoscta_tape.sh @@ -67,7 +67,7 @@ eos attr set sys.archive.storage_class=${CTA_STORAGE_CLASS} ${CTA_PREPROD_DIR} eos attr link ${CTA_WF_DIR} ${CTA_PREPROD_DIR} # Link workflows # create tmp disk only directory for tests -EOS_TMP_DIR=/eos/${EOS_INSTANCE}/tmp +EOS_TMP_DIR=/eos/${EOS_INSTANCE_NAME}/tmp eos mkdir ${EOS_TMP_DIR} eos chmod 777 ${EOS_TMP_DIR} -- GitLab