eth-cscs / firecrest

BSD 3-Clause "New" or "Revised" License
33 stars 8 forks source link

`utilities/mkdir` on existing folder returns incorrect header: `X-Invalid-Path` #202

Open khsrali opened 4 months ago

khsrali commented 4 months ago

This issue is similar to #172 , but this time the header is X-Invalid-Path instead of X-Exists

Environment to reproduce

on CSCS machine dom, this is returning X-Invalid-Path instead of X-Exists .

last request: 400 {'description': 'Error on mkdir operation', 'error': "Could not chdir to home directory /users/akhosrav: No such file or directorymkdir: cannot create directory '/scratch/snx3000tds/akhosrav/delete_me/fff': File exists"}: sourcePath and/or targetPath are invalid paths

{'Content-Type': 'application/json', 'Content-Length': '218', 'Connection': 'keep-alive', 'RateLimit-Remaining': '9', 'RateLimit-Reset': '1', 'RateLimit-Limit': '10', 'X-RateLimit-Limit-Second': '10', 'X-RateLimit-Remaining-Second': '9', 'X-RateLimit-Remaining-Minute': '119', 'X-RateLimit-Limit-Minute': '120', 'Server': 'gunicorn', 'Date': 'Wed, 12 Jun 2024 12:11:28 GMT', 'X-Invalid-Path': 'sourcePath and/or targetPath are invalid paths', 'X-Kong-Upstream-Latency': '613', 'X-Kong-Proxy-Latency': '3', 'Via': 'kong/3.2.1'}

P.S. I first commented on #172 there a while ago, then I thought maybe it would be better to open a new issue, since I couldn't reopen that.

P.S. 2 How do I get the FirecREST version that is deployed on the server? would be useful for debugging.

khsrali commented 2 months ago

Hi @jpdorsch , A quick question: is this issue solved on Todi cluster? Rico is reporting some issues, which I believe is related to this one.