-
Notifications
You must be signed in to change notification settings - Fork 13
Description
We have a distributed xrootd system with one data server and one redirector. When we list the contents of a directory with xrdfs we can see the contents of the directory but if we use gfal-ls the command returns 0 but does not display the directory contents so this seems to be an issue with gfal-ls. If instead of querying redirector I query the data server directly with gfal-ls I can see the contents.
Looking into the xrootd logs it seems like in the cases where I do see the contents (xrdfs or gfal-ls directly to the data server) the stat request gets interpreted as a dirlist request and so the contents is listed:
command issued xrdfs xroot://myredirector:1094//; ls rdc/
220406 14:38:58 9413 XrootdXeq: mfens98.7444:7@client.ca pub IPv4 login as 830f7767.0
220406 14:38:58 9413 mfens98.7444:7@client.ca Xrootd_Protocol: 0100 req=stat dlen=4
220406 14:38:58 9413 mfens98.7444:7@client.ca Xrootd_Protocol: 0100 rc=0 stat /rdc
220406 14:38:58 9444 mfens98.7444:31@client.ca Xrootd_Protocol: 0000 more auth requested; sz=3162
220406 14:38:58 9444 mfens98.7444:31@client.ca Xrootd_Response: 0000 sending OK
...
220406 14:38:58 9444 XrootdXeq: mfens98.7444:31@client.ca pub IPv4 login as 830f7767.0
220406 14:38:58 9444 mfens98.7444:31@client.ca Xrootd_Protocol: 0100 req=dirlist dlen=4
220406 14:38:58 9444 mfens98.7444:31@client.ca Xrootd_Response: 0100 sending 15 data bytes
220406 14:38:58 9444 mfens98.7444:31@client.ca Xrootd_Protocol: 0100 dirlist entries=2 path=/rdc
the log looks the same when I gfal-ls to the redirector except the req=stat stays and does not become req=dirlist
This seems like a gfal issue since xrdfs works fine but this could be an issue with my xrootd. what is going on when I run gfal-ls? How is it different when I query the redirector vs. when I query the data server directly?