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

conveyor submitter crashes on python3 #4148

Closed
tbeerman opened this issue Nov 23, 2020 · 0 comments · Fixed by #4150
Closed

conveyor submitter crashes on python3 #4148

tbeerman opened this issue Nov 23, 2020 · 0 comments · Fixed by #4150
Assignees
Milestone

Comments

@tbeerman
Copy link
Contributor

Motivation

The submitter crashed when run with python3 with the following message. This doesn't happen in python2.

CRITICAL        Thread [0/73] :  Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/rucio/daemons/conveyor/submitter.py", line 170, in submitter
    retry_other_fts=retry_other_fts)
  File "/usr/local/lib/python3.6/site-packages/rucio/daemons/conveyor/submitter.py", line 337, in __get_transfers
    failover_schemes=failover_schemes)
  File "/usr/local/lib/python3.6/site-packages/rucio/db/sqla/session.py", line 377, in new_funct
    result = function(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/rucio/core/transfer.py", line 723, in get_transfer_requests_and_source_replicas
    session=session)
  File "/usr/local/lib/python3.6/site-packages/rucio/db/sqla/session.py", line 393, in new_funct
    result = function(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/rucio/core/transfer.py", line 582, in get_hops
    scheme=limit_dest_schemes if out_v == dest_rse_id and limit_dest_schemes else None)
  File "/usr/local/lib/python3.6/site-packages/rucio/rse/rsemanager.py", line 712, in find_matching_scheme
    dest_candidates = sorted(dest_candidates, key=lambda k: k['domains'][domain][operation_dest])
TypeError: '<' not supported between instances of 'NoneType' and 'int'
cserf added a commit to cserf/rucio that referenced this issue Nov 23, 2020
bari12 added a commit that referenced this issue Nov 24, 2020
…shes_on_python3

Conveyor submitter crashes on python3 : Closes #4148
@bari12 bari12 added this to the 1.23.11 milestone Nov 24, 2020
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.

4 participants