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

Temporary unavailable files injection fails if duplucates #2678

Closed
cserf opened this issue Jun 20, 2019 · 0 comments · Fixed by #2710
Closed

Temporary unavailable files injection fails if duplucates #2678

cserf opened this issue Jun 20, 2019 · 0 comments · Fixed by #2710

Comments

@cserf
Copy link
Contributor

cserf commented Jun 20, 2019

Motivation

Traceback :

Details: [u'(cx_Oracle.IntegrityError) ORA-00001: unique constraint (ATLAS_RUCIO.BAD_PFNS_PK) violated']
Rucio exited with an unexpected/unknown error, please provide the traceback below to the developers.
Traceback (most recent call last):
  File "/usr/bin/rucio-admin", line 129, in new_funct
    return function(*args, **kwargs)
  File "/usr/bin/rucio-admin", line 1034, in declare_temporary_unavailable_replicas
    client.add_bad_pfns(pfns=chunk, reason=args.reason, state='TEMPORARY_UNAVAILABLE', expires_at=expiration_date)
  File "/usr/lib/python2.7/site-packages/rucio/client/replicaclient.py", line 336, in add_bad_pfns
    raise exc_cls(exc_msg)
RucioException: An unknown exception occurred.
Details: [u'(cx_Oracle.IntegrityError) ORA-00001: unique constraint (ATLAS_RUCIO.BAD_PFNS_PK) violated']
bari12 added a commit that referenced this issue Sep 20, 2019
…files_injection_fails_if_duplicates

Temporary unavailable files injection fails if duplicates : Closes #2678
bari12 added a commit that referenced this issue Sep 20, 2019
…files_injection_fails_if_duplicates

Temporary unavailable files injection fails if duplicates : Closes #2678
@bari12 bari12 added this to the 1.20.6 milestone Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants