Bug in GLIDEIN_CCB list shuffle
As reported by Farrukh:
I think we are running into a possible bug while configuring multiple CCBs. We have two ccb nodes; one at CERN and one at FNAL. The configuration on the frontend is as follows: <ccbs> <ccb DN="/DC=ch/DC=cern/OU=computers/CN=vocms097.cern.ch" group="ccb1" node="vocms097.cern.ch:9619-9720"/> <ccb DN="/DC=com/DC=DigiCert-Grid/O=Open Science Grid/OU=Services/CN=cmssrv258.fnal.gov" group="ccb2" node="cmssrv258.fnal.gov:9619-9720"/> </ccbs From the glidein logs, I see that if the CERN CCB is being used first, we have the correct configuration: GLIDEIN_CCB=vocms097.cern.ch:9646,cmssrv258.fnal.gov:9646 But when the FNAL CCB is being used, the comma is being misplaced resulting in startd connection failures: GLIDEIN_CCB=cmssrv258.fnal.gov:9681vocms097.cern.ch:9681,
#1 Updated by Marco Mambelli over 4 years ago
- File 0001-fixed-typos-in-ccb-list-shuffle.patch 0001-fixed-typos-in-ccb-list-shuffle.patch added
- Status changed from New to Feedback
- Assignee changed from Marco Mambelli to Parag Mhashilkar
There was an error in the shuffle function.
A comment had the correct command and the statement had a typo.
I fixed it in v3/11064
I'm attaching here a patch