Print

Print


@olifre : thanks a lot for your feedback! From the logs one can clearly see the manager is not redirecting on `kXR_dirlist`!

First, the client tries to stat the directory:

```
[2020-04-07 17:58:24.212639 +0200][Dump   ][AsyncSock         ] [xrootd.physik.uni-bonn.de:1094 #0.0] Wrote a message: kXR_stat (path: //cephfs/grid/atlas/atlaslocalgroupdisk/?xrd.gsiusrpxy=/tmp/x509up_u38502, flags: none) (0x800dfc0), 97 bytes
[2020-04-07 17:58:24.212651 +0200][Dump   ][AsyncSock         ] [xrootd.physik.uni-bonn.de:1094 #0.0] Successfully sent message: kXR_stat (path: //cephfs/grid/atlas/atlaslocalgroupdisk/?xrd.gsiusrpxy=/tmp/x509up_u38502, flags: none) (0x800dfc0).
[2020-04-07 17:58:24.212663 +0200][Dump   ][XRootD            ] [xrootd.physik.uni-bonn.de:1094] Message kXR_stat (path: //cephfs/grid/atlas/atlaslocalgroupdisk/?xrd.gsiusrpxy=/tmp/x509up_u38502, flags: none) has been successfully sent.
[2020-04-07 17:58:24.212686 +0200][Debug  ][ExDbgMsg          ] [xrootd.physik.uni-bonn.de:1094] Moving MsgHandler: 0x8002b70 (message: kXR_stat (path: //cephfs/grid/atlas/atlaslocalgroupdisk/?xrd.gsiusrpxy=/tmp/x509up_u38502, flags: none) ) from out-queu to in-queue.
[2020-04-07 17:58:24.212698 +0200][Dump   ][PostMaster        ] [xrootd.physik.uni-bonn.de:1094 #0.0] All messages consumed, disable uplink
[2020-04-07 17:58:24.227681 +0200][Dump   ][XRootDTransport   ] [msg: 0x950] Expecting 32 bytes of message body
[2020-04-07 17:58:24.227700 +0200][Dump   ][AsyncSock         ] [xrootd.physik.uni-bonn.de:1094 #0.0] Received message header for 0x950 size: 8
[2020-04-07 17:58:24.227717 +0200][Dump   ][AsyncSock         ] [xrootd.physik.uni-bonn.de:1094 #0.0] Received message 0x950 of 40 bytes
[2020-04-07 17:58:24.227725 +0200][Dump   ][PostMaster        ] [xrootd.physik.uni-bonn.de:1094 #0] Handling received message: 0x950.
[2020-04-07 17:58:24.227804 +0200][Dump   ][XRootD            ] [xrootd.physik.uni-bonn.de:1094] Got kXR_redirect response to message kXR_stat (path: //cephfs/grid/atlas/atlaslocalgroupdisk/?xrd.gsiusrpxy=/tmp/x509up_u38502, flags: none): xrootd008.physik.uni-bonn.de, port 1094
```

the manager is redirecting the client to `xrootd008.physik.uni-bonn.de`.

```
[2020-04-07 17:58:24.350899 +0200][Dump   ][AsyncSock         ] [xrootd008.physik.uni-bonn.de:1094 #0.0] Wrote a message: kXR_stat (path: //cephfs/grid/atlas/atlaslocalgroupdisk/?xrd.gsiusrpxy=/tmp/x509up_u38502, flags: none) (0x800dfc0), 97 bytes
[2020-04-07 17:58:24.350912 +0200][Dump   ][AsyncSock         ] [xrootd008.physik.uni-bonn.de:1094 #0.0] Successfully sent message: kXR_stat (path: //cephfs/grid/atlas/atlaslocalgroupdisk/?xrd.gsiusrpxy=/tmp/x509up_u38502, flags: none) (0x800dfc0).
[2020-04-07 17:58:24.350927 +0200][Dump   ][XRootD            ] [xrootd008.physik.uni-bonn.de:1094] Message kXR_stat (path: //cephfs/grid/atlas/atlaslocalgroupdisk/?xrd.gsiusrpxy=/tmp/x509up_u38502, flags: none) has been successfully sent.
[2020-04-07 17:58:24.350935 +0200][Debug  ][ExDbgMsg          ] [xrootd008.physik.uni-bonn.de:1094] Moving MsgHandler: 0x8002b70 (message: kXR_stat (path: //cephfs/grid/atlas/atlaslocalgroupdisk/?xrd.gsiusrpxy=/tmp/x509up_u38502, flags: none) ) from out-queu to in-queue.
[2020-04-07 17:58:24.350945 +0200][Dump   ][PostMaster        ] [xrootd008.physik.uni-bonn.de:1094 #0.0] All messages consumed, disable uplink
[2020-04-07 17:58:24.368834 +0200][Dump   ][XRootDTransport   ] [msg: 0xf1610] Expecting 44 bytes of message body
[2020-04-07 17:58:24.368860 +0200][Dump   ][AsyncSock         ] [xrootd008.physik.uni-bonn.de:1094 #0.0] Received message header for 0xf1610 size: 8
[2020-04-07 17:58:24.368874 +0200][Dump   ][AsyncSock         ] [xrootd008.physik.uni-bonn.de:1094 #0.0] Received message 0xf1610 of 52 bytes
[2020-04-07 17:58:24.368883 +0200][Dump   ][PostMaster        ] [xrootd008.physik.uni-bonn.de:1094 #0] Handling received message: 0xf1610.
[2020-04-07 17:58:24.368957 +0200][Dump   ][XRootD            ] [xrootd008.physik.uni-bonn.de:1094] Got a kXR_ok response to request kXR_stat (path: //cephfs/grid/atlas/atlaslocalgroupdisk/?xrd.gsiusrpxy=/tmp/x509up_u38502, flags: none)
```

and everything went fine, but then the client sends `kXR_dirlist` to the manager (`xrootd.physik.uni-bonn.de:1094`):

```
[2020-04-07 17:58:24.501107 +0200][Dump   ][FileSystem        ] [[log in to unmask]:1094] Sending kXR_dirlist (path: //cephfs/grid/atlas/atlaslocalgroupdisk/)
[2020-04-07 17:58:24.501116 +0200][Dump   ][XRootD            ] [xrootd.physik.uni-bonn.de:1094] Sending message kXR_dirlist (path: //cephfs/grid/atlas/atlaslocalgroupdisk/)
[2020-04-07 17:58:24.501127 +0200][Debug  ][ExDbgMsg          ] [xrootd.physik.uni-bonn.de:1094] MsgHandler created: 0x8003a00 (message: kXR_dirlist (path: //cephfs/grid/atlas/atlaslocalgroupdisk/) ).
[2020-04-07 17:58:24.501138 +0200][Dump   ][PostMaster        ] [xrootd.physik.uni-bonn.de:1094 #0] Sending message kXR_dirlist (path: //cephfs/grid/atlas/atlaslocalgroupdisk/) (0x8002190) through substream 0 expecting answer at 0
[2020-04-07 17:58:24.501207 +0200][Dump   ][AsyncSock         ] [xrootd.physik.uni-bonn.de:1094 #0.0] Wrote a message: kXR_dirlist (path: //cephfs/grid/atlas/atlaslocalgroupdisk/) (0x8002190), 64 bytes
[2020-04-07 17:58:24.501223 +0200][Dump   ][AsyncSock         ] [xrootd.physik.uni-bonn.de:1094 #0.0] Successfully sent message: kXR_dirlist (path: //cephfs/grid/atlas/atlaslocalgroupdisk/) (0x8002190).
[2020-04-07 17:58:24.501231 +0200][Dump   ][XRootD            ] [xrootd.physik.uni-bonn.de:1094] Message kXR_dirlist (path: //cephfs/grid/atlas/atlaslocalgroupdisk/) has been successfully sent.
[2020-04-07 17:58:24.501237 +0200][Debug  ][ExDbgMsg          ] [xrootd.physik.uni-bonn.de:1094] Moving MsgHandler: 0x8003a00 (message: kXR_dirlist (path: //cephfs/grid/atlas/atlaslocalgroupdisk/) ) from out-queu to in-queue.
[2020-04-07 17:58:24.501246 +0200][Dump   ][PostMaster        ] [xrootd.physik.uni-bonn.de:1094 #0.0] All messages consumed, disable uplink
[2020-04-07 17:58:24.515558 +0200][Dump   ][XRootDTransport   ] [msg: 0x53c0] Expecting 96 bytes of message body
[2020-04-07 17:58:24.515587 +0200][Dump   ][AsyncSock         ] [xrootd.physik.uni-bonn.de:1094 #0.0] Received message header for 0x53c0 size: 8
[2020-04-07 17:58:24.515602 +0200][Dump   ][AsyncSock         ] [xrootd.physik.uni-bonn.de:1094 #0.0] Received message 0x53c0 of 104 bytes
[2020-04-07 17:58:24.515611 +0200][Dump   ][PostMaster        ] [xrootd.physik.uni-bonn.de:1094 #0] Handling received message: 0x53c0.
[2020-04-07 17:58:24.515641 +0200][Dump   ][XRootD            ] [xrootd.physik.uni-bonn.de:1094] Got a kXR_error response to request kXR_dirlist (path: //cephfs/grid/atlas/atlaslocalgroupdisk/) [3011] Unable to open directory /cephfs/grid/atlas/atlaslocalgroupdisk/; no such file or directory
```

but this time the manager is not redirecting, it is just returning an error.


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

########################################################################
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