From b3bedfe90c5669b21acde416de3cfb7fdf928099 Mon Sep 17 00:00:00 2001 From: Steven Murray <Steven.Murray@cern.ch> Date: Mon, 4 Jun 2018 21:03:19 +0200 Subject: [PATCH] Added "proto" actions for the archive_failed and retrieve_failed workflow events --- .../docker/ctafrontend/cc7/opt/run/bin/eos_configure_preprod.sh | 2 ++ continuousintegration/orchestration/create_instance.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/eos_configure_preprod.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/eos_configure_preprod.sh index e3fd632eef..bce32a7c7b 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/eos_configure_preprod.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/eos_configure_preprod.sh @@ -11,6 +11,8 @@ eos attr set CTA_TapeFsId=65535 ${PREPROD_DIR} eos attr set sys.workflow.sync::create.default="proto" ${PREPROD_DIR} eos attr set sys.workflow.sync::closew.default="proto" ${PREPROD_DIR} eos attr set sys.workflow.archived.default="proto" ${PREPROD_DIR} +eos attr set sys.workflow.archive_failed.default="proto" ${PREPROD_DIR} eos attr set sys.workflow.sync::prepare.default="proto" ${PREPROD_DIR} eos attr set sys.workflow.closew.retrieve_written="proto" ${PREPROD_DIR} +eos attr set sys.workflow.retrieve_failed.default="proto" ${PREPROD_DIR} eos attr set sys.workflow.sync::delete.default="proto" ${PREPROD_DIR} diff --git a/continuousintegration/orchestration/create_instance.sh b/continuousintegration/orchestration/create_instance.sh index f7076e6b69..060b586b23 100755 --- a/continuousintegration/orchestration/create_instance.sh +++ b/continuousintegration/orchestration/create_instance.sh @@ -331,7 +331,7 @@ CTA_ENDPOINT=ctafrontend:10955 echo "Setting workflows in namespace ${instance} pod ctaeos:" CTA_WF_DIR=/eos/${EOSINSTANCE}/proc/cta/workflow -for WORKFLOW in sync::create.default sync::closew.default archived.default sync::prepare.default closew.retrieve_written sync::delete.default +for WORKFLOW in sync::create.default sync::closew.default archived.default archive_failed.default sync::prepare.default closew.retrieve_written retrieve_failed.default sync::delete.default do echo "eos attr set sys.workflow.${WORKFLOW}=\"proto\" ${CTA_WF_DIR}" kubectl --namespace=${instance} exec ctaeos -- bash -c "eos attr set sys.workflow.${WORKFLOW}=\"proto\" ${CTA_WF_DIR}" -- GitLab