Project

General

Profile

Actions

Bug #23506

closed

[rgw] GET <object>?torrent returns object's body instead torrent-file

Added by Aleksandr Rudenko about 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
% Done:

0%

Source:
Community (user)
Tags:
torrent
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

i use awscli:

aws --endpoint-url=http://my-domain.ru s3api get-object-torrent --bucket my-bucket --key test.png test.torrent

and i get object test.png instead torrent-file.

"obj_size": 169494

in rgw log(debug rgw = 20) i didn't see any errors or exceptions.

torrent relative parameters:

    "rgw_torrent_comment": "",
    "rgw_torrent_createby": "",
    "rgw_torrent_encoding": "",
    "rgw_torrent_flag": "true",
    "rgw_torrent_origin": "",
    "rgw_torrent_sha_unit": "524288",
    "rgw_torrent_tracker": "",

Related issues 2 (0 open2 closed)

Related to rgw - Bug #23838: save_torrent_file writes to omap (not atomic, not supported on ec pools)Resolved

Actions
Copied to rgw - Backport #23865: luminous: [rgw] GET <object>?torrent returns object's body instead torrent-fileResolvedPrashant DActions
Actions

Also available in: Atom PDF