Print

Print


Although the issue is about mkdir, but I think the following reproduction of the HTTP 404 error is related.


[1] Reproduce the error HTTP 404 in gfal-ls
I set up a second redirector consisting of cmsio3 as the redirector and cmsio2 as the server.
After gfal-copy, at gfal-ls, I am getting this error with the redirector:
-bash-4.2$ gfal-ls davs://cmsio3.rc.ufl.edu:1094/store/mc/RunIISummer20UL16MiniAODv2_TEST1/NMSSM_XtoHYto4b_MX_1900_MY_700_TuneCP5_13TeV-madgraph-pythia8/MINIAODSIM/106X_mcRun2_asymptotic_v17-v1/280000/BBE94A2B-0D62-A84B-B815-BFB214475BDF.root ; echo gfal-ls status=$?
***ERROR*** in propagateError, *newErr is not NULL impossible to overwrite ...  old error wasHTTP 404 : File not found 
gfal-ls error: 2 (No such file or directory) - Failure HTTP 404 : File not found  after 1 attempts
gfal-ls status=2
In the server, I am seeing this corresponding error:
210611 11:49:31 41154 XrootdXeq: cmsprod.43:[log in to unmask] disc 0:00:00 (send failure)



On the other hand, with the server, gfal-ls runs fine:
-bash-4.2$ gfal-ls davs://cmsio2.rc.ufl.edu:1094/store/mc/RunIISummer20UL16MiniAODv2_TEST1/NMSSM_XtoHYto4b_MX_1900_MY_700_TuneCP5_13TeV-madgraph-pythia8/MINIAODSIM/106X_mcRun2_asymptotic_v17-v1/280000/BBE94A2B-0D62-A84B-B815-BFB214475BDF.root ; echo gfal-ls status=$?
davs://cmsio2.rc.ufl.edu:1094/store/mc/RunIISummer20UL16MiniAODv2_TEST1/NMSSM_XtoHYto4b_MX_1900_MY_700_TuneCP5_13TeV-madgraph-pythia8/MINIAODSIM/106X_mcRun2_asymptotic_v17-v1/280000/BBE94A2B-0D62-A84B-B815-BFB214475BDF.root
gfal-ls status=0
Although it return 0 status, the server has this error:
210611 11:49:38 28792 XrootdXeq: cmsprod.6:[log in to unmask] disc 0:00:00 (link SSL read error)
210611 11:49:38 28792 multiuser_UserSentry: Anonymous client; no user set, cannot change FS UIDs


[2] Reproduce the error HTTP 404 in gfal-mkdir  
This is mkdir test:
-bash-4.2$ gfal-mkdir davs://cmsio3.rc.ufl.edu:1094/store/mc/RunIISummer20UL16MiniAODv2_TEST2 ; echo gfal-mkdir status=$?
gfal-mkdir status=0
-bash-4.2$ gfal-mkdir davs://cmsio3.rc.ufl.edu:1094/store/mc/RunIISummer20UL16MiniAODv2_TEST3/TEST3/TEST3 ; echo gfal-mkdir status=$?
gfal-mkdir error: 2 (No such file or directory) - HTTP 404 : File not found  with url davs://cmsio3.rc.ufl.edu:1094/store/mc/RunIISummer20UL16MiniAODv2_TEST3/TEST3/TEST3
gfal-mkdir status=2

Of course, the option -p is provided with gfal-mkdir, there is no problem with creating parent directory with children directories.

However, the error "gfal-ls error: 2 (No such file or directory) - Failure HTTP 404 : File not found  after 1 attempts" goes away after 20 minutes or so later.

Anyway, I am wondering if there is some cache in the redirector that thinks there is no such file.
Is there a directive that controls this behavior?



-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1466#issuecomment-859709480

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1