Skip to content

conveyor-receiver looking into wrong field name of fts message? #441

Open
@maxnoe

Description

@maxnoe

Description

Code in receiver.py:

https://github.com/rucio/rucio/blob/3d5cbf5d8c0e37f793bbd6f01d1064e44cfe0b4f/lib/rucio/daemons/conveyor/receiver.py#L80-L82

But dumping the activemq message, the field seems to be called "vo_name", not "vo":

{'archiving': False,
 'archiving_finished': 0,
 'archiving_start': 0,
 'dest_se': 'root://rucio-storage-2',
 'dst_url': 'root://rucio-storage-2:1094//rucio/t_20241204_182207_9bd0/c9/d0//ctao.dpps.test/t_20241204_182207_9bd0/transfer_test/transfer_test.dat',
 'endpnt': 'rucio/fts',
 'file_id': 8872390204,
 'file_metadata': {'activity': 'User Subscriptions',
                   'adler32': 'cbb70c33',
                   'dest_rse_id': 'cac36f36768c49d4abb40b52be10b6d3',
                   'dst_rse': 'STORAGE-2',
                   'dst_type': 'DISK',
                   'filesize': 34,
                   'md5': '5576416e1db3b48361430696dd1bf1a4',
                   'name': '/ctao.dpps.test/t_20241204_182207_9bd0/transfer_test/transfer_test.dat',
                   'request_id': '916da9c602424aa29171c846f60ffe4c',
                   'request_type': 'TRANSFER',
                   'scope': 't_20241204_182207_9bd0',
                   'src_rse': 'STORAGE-1',
                   'src_rse_id': '54d28394bfd340cfa07b788b6983a9e4',
                   'src_type': 'DISK'},
 'file_state': 'FINISHED',
 'job_id': 'ae749618-b26c-11ef-b4f1-0e0d564fbf92',
 'job_metadata': {'auth_method': 'certificate',
                  'issuer': 'rucio',
                  'multi_sources': False,
                  'overwrite_when_only_on_disk': False},
 'job_state': 'FINISHED',
 'reason': '',
 'retry_counter': 0,
 'retry_max': 0,
 'source_se': 'root://rucio-storage-1',
 'src_url': 'root://rucio-storage-1:1094//rucio/t_20241204_182207_9bd0/c9/d0//ctao.dpps.test/t_20241204_182207_9bd0/transfer_test/transfer_test.dat',
 'staging': False,
 'staging_finished': 0,
 'staging_start': 0,
 'submit_time': 1733336532000,
 'timestamp': 1733336536485,
 'user_dn': '',
 'user_filesize': 34,
 'vo_name': '13f3a2a210c3b7cb'}

Steps to reproduce

Current rucio/fts image in kubernetes

Rucio Version

35.4.1, but code in master is the same

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions