You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…cio#5700, fixrucio#5308
As described in rucio#5700, the parser for the WebDAV server responses had
issues with namespace handling. This caused Rucio to misinterpret
responses from for instance the Apache DAV module. Changing the
implementation to use Python's xml.etree.ElementTree fixes this issue.
This PR also includes a fix for rucio#5308, in which Rucio doesn't properly
handle DAV servers with path prefixes.
Motivation
The stat method tries to find the reported size of the current file in the list returned by the PROPFIND request in this way:
However, for me self_server ends with PREFIX and file_name starts with PREFIX, so the match will always fail unless one PREFIX is stripped. As an example this should match:
if "https://store1.eiscat3d.se:2880/home/tester/home/tester/root.EISCAT/dd/f0/file2.bin.rucio.upload"== "https://store1.eiscat3d.se:2880/home/tester/root.EISCAT/dd/f0/file2.bin.rucio.upload"
Modification
self.server should probably be only https://hostname:port without the /prefix/ part.
The text was updated successfully, but these errors were encountered: