This PR builds on #1913 to demonstrate how it might be used. With this, the PSS returns the following when the cache is unable to authenticate with the origin:
[ERROR] Server responded with an error: [3030] Unable to open /user/ligo/test_access/access_ligo; invalid exchange (Failed to open file in cache: invalid exchange)
Note that it generates a lousy message ("invalid exchange") because EAUTH maps to a EBADE on Linux. I'll fix that in a follow-up PR.
With this approach, we could continue digging through the XrdPosix
layer to generate a better error message there as well. However, I just wanted to illustrate what the new XrdOss API usage would look like.
https://github.com/xrootd/xrootd/pull/1915
(8 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
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