diff --git a/continuousintegration/orchestration/create_instance.sh b/continuousintegration/orchestration/create_instance.sh index 87f823fb60b963f6e2fa557e95f0956607674884..c6eb6a296c2448b7252eec4dab25566845397c3f 100755 --- a/continuousintegration/orchestration/create_instance.sh +++ b/continuousintegration/orchestration/create_instance.sh @@ -270,6 +270,10 @@ kubectl --namespace=${instance} exec ctacli -- kinit -kt /root/ctaadmin1.keytab kubectl --namespace=${instance} exec client -- kinit -kt /root/user1.keytab user1@TEST.CTA +# Add this for SSI prococol buffer workflow (xrootd >=4.8.2) +echo "mgmofs.protowfhostport ctafrontend:10955" | kubectl --namespace=${instance} exec -i ctaeos -- bash -c "cat >> /etc/xrd.cf.mgm" +echo "mgmofs.protowfendpoint /ctafrontend" | kubectl --namespace=${instance} exec -i ctaeos -- bash -c "cat >> /etc/xrd.cf.mgm" + # allow eos to start kubectl --namespace=${instance} exec ctaeos -- touch /CANSTART @@ -330,11 +334,6 @@ do kubectl --namespace=${instance} exec ctaeos -- bash -c "eos attr set sys.workflow.${WORKFLOW}=\"proto:${CTA_ENDPOINT} ctafrontend\" ${CTA_WF_DIR}" done -# Add this for SSI prococol buffer workflow (xrootd >=4.8.2) -echo "mgmofs.protowfhostport ${CTA_ENDPOINT}" | kubectl --namespace=${instance} exec -i ctaeos -- bash -c "cat >> /etc/xrd.cf.mgm" -echo "mgmofs.protowfendpoint ctafrontend" | kubectl --namespace=${instance} exec -i ctaeos -- bash -c "cat >> /etc/xrd.cf.mgm" - - echo -n "Copying eos SSS on ctacli and client pods to allow recalls" kubectl --namespace=${instance} exec ctaeos cat /etc/eos.keytab | kubectl --namespace=${instance} exec -i ctacli -- bash -c "cat > /etc/eos.keytab; chmod 600 /etc/eos.keytab"