Hi Robbie I got it to work at ECDF once I created the appropriate directory tree by copying in a file with gfal-copy. Duncan On 14/11/17 19:30, Robert Currie wrote:
Hi Duncan,
Which proxy are you using to try and do this because this 'just worked' for me on ECDF. (output below)
``` 19:26:29-mini.dev|~ rcurrie@mini:->source dirac_ui/bashrc 19:26:35-mini.dev|~ rcurrie@mini:->dirac-proxy-init -g gridpp_user Generating proxy... Enter Certificate password: Added VOMS attribute /gridpp Uploading proxy for gridpp_user... Proxy generated: subject : /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=rcurrie/CN=675917/CN=Robert Andrew Currie/CN=proxy/CN=proxy issuer : /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=rcurrie/CN=675917/CN=Robert Andrew Currie/CN=proxy identity : /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=rcurrie/CN=675917/CN=Robert Andrew Currie timeleft : 23:53:58 DIRAC group : gridpp_user rfc : False path : /tmp/x509up_u1000 username : robert.andrew.currie properties : NormalUser, JobMonitor VOMS : True VOMS fqan : ['/gridpp']
Proxies uploaded: DN | Group | Until (GMT) /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=rcurrie/CN=675917/CN=Robert Andrew Currie | gridpp_user | 2018/10/12 15:40 19:26:52-mini.dev|~ rcurrie@mini:->dirac-dms-replicate-lfn /gridpp/user/d/duncan.rand/testfile-20171114-1 UKI-SCOTGRID-ECDF-disk {'Failed': {}, 'Successful': {'/gridpp/user/d/duncan.rand/testfile-20171114-1': {'register': 0, 'replicate': 0}}} ```
The gridpp space is only writable by the gridpp VO and this is using a dirac_ui which I installed on Monday on a centos7-VM,
Rob
On 14/11/2017 03:42 PM, Duncan Rand wrote:
Hi
I'm trying to upload and replicate a file which starts off OK:
$ dirac-dms-add-file -f /gridpp/user/d/duncan.rand/testfile-20171114-1 ./testfile UKI-LT2-IC-HEP-disk
Uploading /gridpp/user/d/duncan.rand/testfile-20171114-1 Successfully uploaded file to UKI-LT2-IC-HEP-disk $ dirac-dms-replicate-lfn /gridpp/user/d/duncan.rand/testfile-20171114-1 UKI-LT2-RHUL-disk {'Failed': {}, 'Successful': {'/gridpp/user/d/duncan.rand/testfile-20171114-1': {'register': 0.03875398635864258,
'replicate': 9.515014886
but then with Sheffield, Durham, Birmingham and ECDF storage elements (where the DFC seems to be defaulting to storing the SURL as a root-based SURL) I get the error below.
thanks Duncan
$ dirac-dms-replicate-lfn /gridpp/user/d/duncan.rand/testfile-20171114-1 UKI-NORTHGRID-SHEF-HEP-disk 171114 15:30:06 22254 secgsi_GetCA: CRL entry for 'ffc3d59b:1' needs refreshing: clean the related entry cache first (0x7f19741ad7c0) XROOTStorage.__putSingleFile: Failed to put file on storage. [FATAL] Auth failed 0 XROOTStorage.__putSingleFile: Failed to put file on storage. [FATAL] Auth failed 0 ERROR Completely failed to replicate file. Failed to replicate with all sources. $ dirac-dms-replicate-lfn /gridpp/user/d/duncan.rand/testfile-20171114-1 UKI-SCOTGRID-DURHAM-disk 171114 15:30:09 22265 secgsi_GetCA: CRL entry for 'ffc3d59b:1' needs refreshing: clean the related entry cache first (0x7f9510006310) XROOTStorage.__putSingleFile: Failed to put file on storage. [FATAL] Auth failed 0 XROOTStorage.__putSingleFile: Failed to put file on storage. [FATAL] Auth failed 0 ERROR Completely failed to replicate file. Failed to replicate with all sources. $ dirac-dms-replicate-lfn /gridpp/user/d/duncan.rand/testfile-20171114-1 UKI-SOUTHGRID-BHAM-HEP-disk 171114 15:30:11 22277 secgsi_GetCA: CRL entry for 'ffc3d59b:1' needs refreshing: clean the related entry cache first (0x7f50981ad940) XROOTStorage.__putSingleFile: Failed to put file on storage. [FATAL] Auth failed 0 XROOTStorage.__putSingleFile: Failed to put file on storage. [FATAL] Auth failed 0 ERROR Completely failed to replicate file. Failed to replicate with all sources. $ dirac-dms-replicate-lfn /gridpp/user/d/duncan.rand/testfile-20171114-1 UKI-SCOTGRID-ECDF-disk 171114 15:30:19 22288 secgsi_GetCA: CRL entry for 'ffc3d59b:1' needs refreshing: clean the related entry cache first (0x7fd15c1ad940) XROOTStorage.__putSingleFile: Failed to put file on storage. [FATAL] Auth failed 0 ERROR Completely failed to replicate file. Failed to replicate with all sources.