Arnau Bria wrote:
> We've configured a new CE with glite-yaim-core-4.0.4-2.
> We found some extrange values when querying ldap:
>
> $ ldapsearch -x -H ldap://ce06.pic.es:2135 -b
> mds-vo-name=local,o=grid|grep -i VO_LHCB_SW_DIR
>
> GlueLocationPath: $VO_LHCB_SW_DIR
>
>
> I've defined it in vo.d/vo:
>
> # cat lhcb
> ##########
> ### lhcb #
> ##########
> SW_DIR=$VO_SW_DIR/lhcb
> DEFAULT_SE=$CLASSIC_HOST
> STORAGE_DIR=$CLASSIC_STORAGE_DIR/lhcb
> VOMS_SERVERS='vomss://voms.cern.ch:8443/voms/lhcb?/lhcb/'
> VOMS_EXTRA_MAPS="lcgprod lhcbprod"
> VOMS_CA_DN="'/DC=ch/DC=cern/CN=CERN Trusted Certification Authority' '/DC=ch/DC=cern/CN=CERN Trusted Certification Authority'"
> VOMSES="'lhcb lcg-voms.cern.ch 15003 /DC=ch/DC=cern/OU=computers/CN=lcg-voms.cern.ch lhcb 24' 'lhcb voms.cern.ch 15003 /DC=ch/DC=cern/OU=computers/CN=voms.cern.ch lhcb 24'"
>
>
> and:
>
> # grep SW_DIR ../site-info.def
> VO_SW_DIR=/software
>
>
> so, seems that some scripts are not able to read those vars.
>
> when executing glite-info-provider-software-wrapper:
>
> /opt/lcg/libexec/lcg-info-provider-software -p /opt/edg/var/info -c
> ce05.pic.es it
>
> [...]
> dn: GlueLocationLocalID=VO-cms-slc4_ia32_gcc345,GlueSubClusterUniqueID=ce05.pic.es,GlueClusterUniqueID=ce05.pic.es,mds-vo-name=resource,o=grid
> objectClass: GlueClusterTop
> objectClass: GlueLocation
> objectClass: GlueSchemaVersion
> objectClass: GlueKey
> GlueLocationLocalID: VO-cms-slc4_ia32_gcc345
> GlueLocationName: VO-cms-slc4_ia32_gcc345
> GlueLocationVersion: Prod
> GlueLocationPath: $VO_CMS_SW_DIR
> GlueChunkKey: GlueSubClusterUniqueID=ce05.pic.es
> GlueSchemaVersionMajor: 1
> GlueSchemaVersionMinor: 2
>
>
> So, where is the problem? a missconfiguration in our yaim or a bug in a
> lcg-info-provider?
It is a feature of /opt/lcg/libexec/lcg-info-provider-software.
The unexpanded syntax is allowed by GLUE.
|