Certification Report for patch 3281, 3285 and 3286
- Certifier: Alejandro Álvarez Ayllón
- SA3 Partner: CERN
General Background
The patch 3286 fixes the reported
bug #37572
about lcg-infosites. However, the same bug existed in the 64 bits version of gLite 3.1, and in gLite 3.2, so the patches 3285 and 3281 fix it respectively.
I reproduced the bug, and tested the patch in:
- vtb-generic-112 gLite 3.1 SL4 32 bits (Patch 3286)
- vtb-generic-113 gLite 3.2 SL5 64 bits (Patch 3281)
- vtb-generic-115 gLite 3.1 SL4 64 bits (Patch 3285)
For all of them the procedure has been the same:
- Set the value of $LCG_GFAL_INFOSYS to lxbra2305.cern.ch:2170,lxbra2306.cern.ch:2170 (two servers separated by a comma)
- Run lcg-infosites ce --vo dteam to reproduce the bug
- Install the patch: ./AE_getpatch.sh 328*
- Run again lcg-infosites ce --vo dteam and check if works
In all the cases, lcg-infosites before the update didn't add an end-of-line after the error message.
General Tests
Package version before the update: lcg-infosites-2.6.2-1.sl5
[root@vtb-generic-113 ~]# lcg-infosites ce --vo dteam
valor del bdii: lxbra2305.cern.ch:2170,lxbra2306.cern.ch:2170
Error contacting ldap: IO::Socket::INET: Bad hostname 'lxbra2305.cern.ch:2170,lxbra2306.cern.ch:2170'
Installing the patch:
[root@vtb-generic-113 ~]# ./AE_getpatch.sh 3281
After the update: lcg-infosites-2.6.8-3
[root@vtb-generic-113 ~]# lcg-infosites ce --vo dteam
#CPU Free Total Jobs Running Waiting ComputingElement
----------------------------------------------------------
20 20 0 0 0 cream-37.pd.infn.it:8443/cream-lsf-creamtest2
20 20 0 0 0 cream-37.pd.infn.it:8443/cream-lsf-creamtest1
20 20 0 0 0 cream-37.pd.infn.it:8443/cream-lsf-creamtest1
20 20 0 0 0 cream-37.pd.infn.it:8443/cream-lsf-creamtest2
6 6 0 0 0 vtb-generic-114.cern.ch:8443/cream-pbs-dteam
1 1 0 0 0 sa3-ce.egee.cesga.es:8443/cream-sge-dteam
0 0 0 0 0 vtb-generic-90.cern.ch:8443/cream-lcgpbs-dteam
1 0 1 1 0 ce201.grid.ucy.ac.cy:2119/jobmanager-lcgpbs-dteam
4 4 0 0 0 lxbra2308.cern.ch:8443/cream-pbs-dteam
0 0 7 0 7 vtb-generic-89.cern.ch:2119/jobmanager-lcgpbs-dteam
6 6 0 0 0 vtb-generic-100.cern.ch:2119/jobmanager-lcgpbs-dteam
500 500 0 0 0 ctb04.gridctb.uoa.gr:8443/cream-pbs-dteam
2 0 0 0 444444 ce-4.dir.garr.it:2119/jobmanager-lcgpbs-dteam
2 2 0 0 0 cream-4.dir.garr.it:8443/cream-pbs-dteam
4 4 0 0 0 lxbra2307.cern.ch:2119/jobmanager-lcgpbs-dteam
2 0 3 2 1 ce-ipv6-testbed.paris.urec.cnrs.fr:2119/jobmanager-lcgpbs-dteam
[root@vtb-generic-113 ~]# echo $LCG_GFAL_INFOSYS
lxbra2305.cern.ch:2170,lxbra2306.cern.ch:2170
Version of the package before: lcg-infosites-2.6.8-2.noarch
Reproducing:
[root@vtb-generic-115 ~]# lcg-infosites ce --vo dteam
Error contacting ldap: IO::Socket::INET: Bad hostname 'lxbra2305.cern.ch:2170,lxbra2306.cern.ch:2170'
Installing the patch:
[root@vtb-generic-115 ~]# ./AE_getpatch.sh 3285
After applying the patch: lcg-infosites-2.6.8-3.noarch
[root@vtb-generic-115 ~]# lcg-infosites ce --vo dteam
#CPU Free Total Jobs Running Waiting ComputingElement
----------------------------------------------------------
20 20 0 0 0 cream-37.pd.infn.it:8443/cream-lsf-creamtest2
20 20 0 0 0 cream-37.pd.infn.it:8443/cream-lsf-creamtest1
20 20 0 0 0 cream-37.pd.infn.it:8443/cream-lsf-creamtest1
20 20 0 0 0 cream-37.pd.infn.it:8443/cream-lsf-creamtest2
6 6 0 0 0 vtb-generic-114.cern.ch:8443/cream-pbs-dteam
1 1 0 0 0 sa3-ce.egee.cesga.es:8443/cream-sge-dteam
0 0 0 0 0 vtb-generic-90.cern.ch:8443/cream-lcgpbs-dteam
1 1 0 0 0 ce201.grid.ucy.ac.cy:2119/jobmanager-lcgpbs-dteam
4 4 0 0 0 lxbra2308.cern.ch:8443/cream-pbs-dteam
0 0 7 0 7 vtb-generic-89.cern.ch:2119/jobmanager-lcgpbs-dteam
6 6 0 0 0 vtb-generic-100.cern.ch:2119/jobmanager-lcgpbs-dteam
500 500 0 0 0 ctb04.gridctb.uoa.gr:8443/cream-pbs-dteam
2 0 0 0 444444 ce-4.dir.garr.it:2119/jobmanager-lcgpbs-dteam
2 2 0 0 0 cream-4.dir.garr.it:8443/cream-pbs-dteam
4 4 0 0 0 lxbra2307.cern.ch:2119/jobmanager-lcgpbs-dteam
2 0 3 2 1 ce-ipv6-testbed.paris.urec.cnrs.fr:2119/jobmanager-lcgpbs-dteam
[root@vtb-generic-115 ~]# echo $LCG_GFAL_INFOSYS
lxbra2305.cern.ch:2170,lxbra2306.cern.ch:2170
Version of the package before: lcg-infosites-2.6.8-2
Reproducing:
[root@vtb-generic-112 ~]# lcg-infosites ce --vo dteam
Error contacting ldap: IO::Socket::INET: Bad hostname 'lxbra2305.cern.ch:2170,lxbra2306.cern.ch:2170'
Installing the patch:
[root@vtb-generic-112 ~]# ./AE_getpatch.sh 3286
Version of the package before: lcg-infosites-2.6.8-3
[root@vtb-generic-112 ~]# lcg-infosites ce --vo dteam
#CPU Free Total Jobs Running Waiting ComputingElement
----------------------------------------------------------
20 20 0 0 0 cream-37.pd.infn.it:8443/cream-lsf-creamtest2
20 20 0 0 0 cream-37.pd.infn.it:8443/cream-lsf-creamtest1
20 20 0 0 0 cream-37.pd.infn.it:8443/cream-lsf-creamtest1
20 20 0 0 0 cream-37.pd.infn.it:8443/cream-lsf-creamtest2
6 6 0 0 0 vtb-generic-114.cern.ch:8443/cream-pbs-dteam
1 1 0 0 0 sa3-ce.egee.cesga.es:8443/cream-sge-dteam
0 0 0 0 0 vtb-generic-90.cern.ch:8443/cream-lcgpbs-dteam
1 1 0 0 0 ce201.grid.ucy.ac.cy:2119/jobmanager-lcgpbs-dteam
4 4 0 0 0 lxbra2308.cern.ch:8443/cream-pbs-dteam
0 0 7 0 7 vtb-generic-89.cern.ch:2119/jobmanager-lcgpbs-dteam
6 6 0 0 0 vtb-generic-100.cern.ch:2119/jobmanager-lcgpbs-dteam
500 500 0 0 0 ctb04.gridctb.uoa.gr:8443/cream-pbs-dteam
2 0 0 0 444444 ce-4.dir.garr.it:2119/jobmanager-lcgpbs-dteam
2 2 0 0 0 cream-4.dir.garr.it:8443/cream-pbs-dteam
4 4 0 0 0 lxbra2307.cern.ch:2119/jobmanager-lcgpbs-dteam
2 0 3 2 1 ce-ipv6-testbed.paris.urec.cnrs.fr:2119/jobmanager-lcgpbs-dteam
[root@vtb-generic-112 ~]# echo $LCG_GFAL_INFOSYS
lxbra2305.cern.ch:2170,lxbra2306.cern.ch:2170
Common
As suggested by Andrew, I have also checked what happen when the first server, or both, fail.
First fails
[root@vtb-generic-115 ~]# echo $LCG_GFAL_INFOSYS
fake.cern.ch:2170,lxbra2305.cern.ch:2170
[root@vtb-generic-115 ~]# lcg-infosites ce --vo dteam
Impossible the connection to this BDII: Error contacting ldap: IO::Socket::INET: Bad hostname 'fake.cern.ch'
#CPU Free Total Jobs Running Waiting ComputingElement
----------------------------------------------------------
20 20 0 0 0 cream-37.pd.infn.it:8443/cream-lsf-creamtest2
20 20 0 0 0 cream-37.pd.infn.it:8443/cream-lsf-creamtest1
20 20 0 0 0 cream-37.pd.infn.it:8443/cream-lsf-creamtest1
20 20 0 0 0 cream-37.pd.infn.it:8443/cream-lsf-creamtest2
6 6 0 0 0 vtb-generic-114.cern.ch:8443/cream-pbs-dteam
1 1 0 0 0 sa3-ce.egee.cesga.es:8443/cream-sge-dteam
0 0 0 0 0 vtb-generic-90.cern.ch:8443/cream-lcgpbs-dteam
1 0 1 1 0 ce201.grid.ucy.ac.cy:2119/jobmanager-lcgpbs-dteam
4 4 0 0 0 lxbra2308.cern.ch:8443/cream-pbs-dteam
0 0 7 0 7 vtb-generic-89.cern.ch:2119/jobmanager-lcgpbs-dteam
6 6 0 0 0 vtb-generic-100.cern.ch:2119/jobmanager-lcgpbs-dteam
500 500 0 0 0 ctb04.gridctb.uoa.gr:8443/cream-pbs-dteam
2 0 0 0 444444 ce-4.dir.garr.it:2119/jobmanager-lcgpbs-dteam
2 2 0 0 0 cream-4.dir.garr.it:8443/cream-pbs-dteam
4 4 0 0 0 lxbra2307.cern.ch:2119/jobmanager-lcgpbs-dteam
2 0 3 2 1 ce-ipv6-testbed.paris.urec.cnrs.fr:2119/jobmanager-lcgpbs-dteam
The error message is written in the standard error stream, and the exit code is 0.
Both fail
[root@vtb-generic-115 ~]# lcg-infosites ce --vo dteam;echo $?
Impossible the connection to this BDII: Error contacting ldap: IO::Socket::INET: Bad hostname 'fake.cern.ch'
Impossible the connection to this BDII: Error contacting ldap: IO::Socket::INET: Bad hostname 'fake2.cern.ch'
Error contacting ldap: IO::Socket::INET: Bad hostname 'fake.cern.ch:2170,fake2.cern.ch:2170'0
Again, the error messages are written in the standard error stream, and the exit code is 0.
Specific Bugs
The original reported bug. Fixed by
patch 3281
.