-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
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
Lines 216 to 233 in da35326
| 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' |