Commit 7b570a5d authored by Steven Murray's avatar Steven Murray
Browse files

New generalised EOS WFE

parent 3cecdb48
0:eos-archive-4.2.12-20180202120141git3855655.el7.cern.x86_64
0:eos-cleanup-4.2.12-20180202120141git3855655.el7.cern.x86_64
0:eos-client-4.2.12-20180202120141git3855655.el7.cern.x86_64
0:eos-debuginfo-4.2.12-20180202120141git3855655.el7.cern.x86_64
0:eos-fuse-4.2.12-20180202120141git3855655.el7.cern.x86_64
0:eos-fuse-core-4.2.12-20180202120141git3855655.el7.cern.x86_64
0:eos-fuse-sysv-4.2.12-20180202120141git3855655.el7.cern.x86_64
0:eos-fusex-4.2.12-20180202120141git3855655.el7.cern.x86_64
0:eos-fusex-core-4.2.12-20180202120141git3855655.el7.cern.x86_64
0:eos-fusex-selinux-4.2.12-20180202120141git3855655.el7.cern.x86_64
0:eos-server-4.2.12-20180202120141git3855655.el7.cern.x86_64
0:eos-srm-4.2.12-20180202120141git3855655.el7.cern.x86_64
0:eos-test-4.2.12-20180202120141git3855655.el7.cern.x86_64
0:eos-testkeytab-4.2.12-20180202120141git3855655.el7.cern.x86_64
0:eos-archive-4.2.12-20180212145907git8b966f6.el7.cern.x86_64
0:eos-cleanup-4.2.12-20180212145907git8b966f6.el7.cern.x86_64
0:eos-client-4.2.12-20180212145907git8b966f6.el7.cern.x86_64
0:eos-debuginfo-4.2.12-20180212145907git8b966f6.el7.cern.x86_64
0:eos-fuse-4.2.12-20180212145907git8b966f6.el7.cern.x86_64
0:eos-fuse-core-4.2.12-20180212145907git8b966f6.el7.cern.x86_64
0:eos-fuse-sysv-4.2.12-20180212145907git8b966f6.el7.cern.x86_64
0:eos-fusex-4.2.12-20180212145907git8b966f6.el7.cern.x86_64
0:eos-fusex-core-4.2.12-20180212145907git8b966f6.el7.cern.x86_64
0:eos-fusex-selinux-4.2.12-20180212145907git8b966f6.el7.cern.x86_64
0:eos-server-4.2.12-20180212145907git8b966f6.el7.cern.x86_64
0:eos-srm-4.2.12-20180212145907git8b966f6.el7.cern.x86_64
0:eos-test-4.2.12-20180212145907git8b966f6.el7.cern.x86_64
0:eos-testkeytab-4.2.12-20180212145907git8b966f6.el7.cern.x86_64
1:python2-xrootd-4.8.1-1.el7.cern.x86_64
1:python3-xrootd-4.8.1-1.el7.cern.x86_64
1:xrootd-4.8.1-1.el7.cern.x86_64
......
......@@ -8,8 +8,8 @@ eos attr set sys.acl=g:eosusers:rwx!d,u:poweruser1:rwx+dp,u:poweruser2:rwx+dp ${
eos attr set CTA_StorageClass=ctaStorageClass ${PREPROD_DIR}
eos attr set CTA_TapeFsId=65535 ${PREPROD_DIR}
eos attr set sys.workflow.closew.default="proto/cta:ctafrontend:10955 <parent/file>" ${PREPROD_DIR}
eos attr set sys.workflow.closew.CTA_retrieve="proto/cta:ctafrontend:10955 <parent/file>" ${PREPROD_DIR}
eos attr set sys.workflow.archived.default="proto/cta:ctafrontend:10955 <parent/file>" ${PREPROD_DIR}
eos attr set sys.workflow.sync::prepare.default="proto/cta:ctafrontend:10955 <parent/file>" ${PREPROD_DIR}
eos attr set sys.workflow.sync::delete.default="proto/cta:ctafrontend:10955 <parent/file>" ${PREPROD_DIR}
eos attr set sys.workflow.closew.default="proto:ctafrontend:10955 ctafrontend" ${PREPROD_DIR}
eos attr set sys.workflow.closew.CTA_retrieve="proto:ctafrontend:10955 ctafrontend" ${PREPROD_DIR}
eos attr set sys.workflow.archived.default="proto:ctafrontend:10955 ctafrontend" ${PREPROD_DIR}
eos attr set sys.workflow.sync::prepare.default="proto:ctafrontend:10955 ctafrontend" ${PREPROD_DIR}
eos attr set sys.workflow.sync::delete.default="proto:ctafrontend:10955 ctafrontend" ${PREPROD_DIR}
......@@ -314,8 +314,8 @@ echo "Setting workflows in namespace ${instance} pod ctaeos:"
CTA_WF_DIR=/eos/${EOSINSTANCE}/proc/cta/workflow
for WORKFLOW in closew.default archived.default sync::prepare.default closew.CTA_retrieve sync::delete.default
do
echo "eos attr set sys.workflow.${WORKFLOW}=\"proto/cta:${CTA_ENDPOINT} <parent/file>\" ${CTA_WF_DIR}"
kubectl --namespace=${instance} exec ctaeos -- bash -c "eos attr set sys.workflow.${WORKFLOW}=\"proto/cta:${CTA_ENDPOINT} <parent/file>\" ${CTA_WF_DIR}"
echo "eos attr set sys.workflow.${WORKFLOW}=\"proto:${CTA_ENDPOINT} ctafrontend\" ${CTA_WF_DIR}"
kubectl --namespace=${instance} exec ctaeos -- bash -c "eos attr set sys.workflow.${WORKFLOW}=\"proto:${CTA_ENDPOINT} ctafrontend\" ${CTA_WF_DIR}"
done
......
......@@ -367,6 +367,7 @@ void RequestMessage::processCLOSEW(const cta::eos::Notification &notification, c
std::cerr << result_str << std::endl;
#endif
response.set_message_txt(result_str);
response.mutable_xattr()->insert(google::protobuf::MapPair<std::string,std::string>("CTA_ArchiveFileId", std::to_string(archiveFileId)));
// Set response type
......
Subproject commit 1e0d5df3725dade40f968ca55de993a6efc93908
Subproject commit 01b9c20bce51713468c7429eda7fe065c547ac28
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