Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gfal-ls wont display directory contents for distributed xrootd system #11

Open
mfens98 opened this issue Apr 6, 2022 · 0 comments
Open

Comments

@mfens98
Copy link

mfens98 commented Apr 6, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant