From 80e41fba6910e6662721f18d740d6ccc2208da75 Mon Sep 17 00:00:00 2001 From: Cedric Caffy <cedric.caffy@cern.ch> Date: Tue, 12 Jan 2021 12:22:14 +0100 Subject: [PATCH] [tape lifecycle] Corrected the repack system test disabled tape --- .../orchestration/tests/repack_systemtest_wrapper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/continuousintegration/orchestration/tests/repack_systemtest_wrapper.sh b/continuousintegration/orchestration/tests/repack_systemtest_wrapper.sh index 744e62df35..90c50cbcf5 100755 --- a/continuousintegration/orchestration/tests/repack_systemtest_wrapper.sh +++ b/continuousintegration/orchestration/tests/repack_systemtest_wrapper.sh @@ -104,8 +104,8 @@ repackDisableTape() { if [ "$VID_TO_REPACK" != "null" ] then - echo "Marking the tape ${VID_TO_REPACK} as disabled" - kubectl -n ${NAMESPACE} exec ctacli -- cta-admin tape ch --disabled true --vid ${VID_TO_REPACK} + echo "Marking the tape ${VID_TO_REPACK} as DISABLED" + kubectl -n ${NAMESPACE} exec ctacli -- cta-admin tape ch --state DISABLED --reason "Repack disabled tape test" --vid ${VID_TO_REPACK} echo "Waiting 20 seconds so that the RetrieveQueueStatisticsCache is flushed" sleep 20 echo "Launching the repack request test on VID ${VID_TO_REPACK}" -- GitLab