The dcacheVoms2Gplasma.py command

The dcacheVoms2Gplasma.py script can generate the grid-vorolemap and storage-authzdb files for dCache. It's online help is shown below.

[root@dcache-node] # /opt/d-cache/sbin/dcacheVoms2Gplasma.py -h 
dcacheVoms2Gplasma.py

 -h, --help                  Display help information
 -v, --version               Version
 -c, --config                Set config file
 -a, --authzdb               Gernerate authzdb
 -r, --vorolemap             Gernerate vorolemap
 -q, --query                 Query voms server

Typical usage of this command is to generate both security mapping files and query the VOMS server for all FQANs that belong to a uid or gid. We expect querying the VOMS server to be depricated over time as users will stop using grid-proxy-init and move over to VOMS.

[root@dcache-node] # /opt/d-cache/sbin/dcacheVoms2Gplasma.py -r -a -c /opt/d-cache/etc/dcacheVoms2Gplasma.conf -q
The following error is the result of problems external to dCache
ERROR: Error adding dn "/C=PL/O=GRID/O=PSNC/CN=Zuzanna K. ¦cigacz" for dteam001 to grid-vorolemap

Note

The dcacheVoms2Gplasma.py script provides a good check of the machine's host public/private key-pair. It will also fail if the VOMS server is misconfigured. Should you notice the script failing, the cause may be external to your site.