Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

properly handle HTC-CE in reporting SyncCE #1238

Open
belforte opened this issue Feb 23, 2015 · 0 comments
Open

properly handle HTC-CE in reporting SyncCE #1238

belforte opened this issue Feb 23, 2015 · 0 comments
Assignees

Comments

@belforte
Copy link
Member

see
dmwm/CRABServer#4677

namely:
see:
https://cms-logbook.cern.ch/elog/GlideInWMS/1540
for the new HTC CE the gatekeeper has the format host-blank-host:port
need to modify the way we extract SyncCE here

txt += 'echo ">>> SyncCE discovery: " \n'
txt += 'if [ $OSG_JOB_CONTACT ]; then \n'
txt += ' echo "getting SyncCE from OSG_JOB_CONTACT" \n'
txt += ' SyncCE="$OSG_JOB_CONTACT"; \n'
txt += 'elif [ $NORDUGRID_CE ]; then \n'
txt += ' echo "getting SyncCE from NORDUGRID_CE" \n'
txt += ' SyncCE="${NORDUGRID_CE}:2811/nordugrid-GE-${QUEUE:-queue}"\n '
txt += 'elif [ $CE_ID ]; then \n'
txt += ' echo "getting SyncCE from CE_ID" \n'
txt += ' SyncCE="${CE_ID}" \n'
txt += 'elif [ "$GLIDEIN_Gatekeeper" ]; then \n' # beware: GLIDEIN_gatekeeper may have blanks
txt += ' echo "getting SyncCE from GLIDEIN_Gaekeeper" \n'
txt += ' GKtmp="`echo $GLIDEIN_Gatekeeper | sed -e s,http\'s\?\'://,,`"\n' # remove leading http[s]:// if any
txt += ' SyncCE="`echo $GKtmp | cut -d: -f1`" \n'
txt += 'else \n'
txt += ' echo "getting SyncCE glite-brokerinfo" \n'
txt += ' SyncCE="`glite-brokerinfo getCE`" \n'
txt += 'fi \n'

@belforte belforte self-assigned this Feb 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant