Skip to content
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

Declare Bad File Replcas fails silently #6741

Open
dynamic-entropy opened this issue Apr 30, 2024 · 0 comments
Open

Declare Bad File Replcas fails silently #6741

dynamic-entropy opened this issue Apr 30, 2024 · 0 comments
Assignees

Comments

@dynamic-entropy
Copy link
Contributor

Description

The Python client call to declare file replicas as bad fails silently, without giving any results to the user about success or failure.

The docs https://rucio.github.io/documentation/client_api/replicaclient#declare_bad_file_replicas for the command say that a list of dids for which the declaration failed is returned.
However, this does not seem to be the case.

Are there use cases where the silent failing is an intended behaviour?

Steps to reproduce

Use a random scope and name for a file with the command, with a valid RSE

>>> client.declare_bad_file_replicas([{'scope': 'cms', 'name': 'InvalidFileName', 'rse': 'T2_IT_Rome'}], reason='Lost on Disk')
{}

Rucio Version

No response

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants