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
Client raising the wrong error #2398
Comments
Hello, lappsl6b.in2p3.fr> rucio -v download --rse RAL-LCG2_MCTAPE mc16_13TeV:AOD.15164692._000021.pool.root.1 2019-03-26 17:13:27,484 DEBUG Traceback (most recent call last): 2019-03-26 17:13:27,484 ERROR no element found: line 3, column 0 |
I think we could add an extra message, if the selected RSE is skipped because it is a tape RSE. That shouldn't be too difficult to add. |
Hey, If list_replicas doesnt't return any replicas for a file the message is something like 'No sources found'. This message should be enough @bari12 no? @bari12 we already discussed in a Rucio meeting that the code of line 209 can be removed #2021 |
BTW regarding 'this should raise RSENotFound'. I'm not sure about that. It's currently not really expected that list_replicas raises exceptions for reasons like this. Would need to check this. |
Problem confirmed in list_replicas REST frontend. Metalink starts streaming, then later the exception is raised, causing the client to think everything is in order. |
…for_list_replicas core: exception handling for list_replicas REST; Fix #2398
…for_list_replicas core: exception handling for list_replicas REST; Fix #2398
Motivation
From Stephane:
This should raise
RSENotFound
.The text was updated successfully, but these errors were encountered: