Project

General

Profile

Actions

Bug #48716

closed
IB IB

aws-s3 incompatibility related metadata

Bug #48716: aws-s3 incompatibility related metadata

Added by Ilsoo Byun almost 6 years ago. Updated over 1 year ago.

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

0%

Source:
Backport:
octopus, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v17.0.0-2904-g116ef52566
Released In:
v17.2.0~2393
Upkeep Timestamp:
2025-08-02T05:05:26+00:00

Description

When using metadata containing _, the behavior is different from aws-s3.

s3cmd put ~/1m s3://mytest --add-header 'x-amz-meta-key_1: value_1'
s3cmd get --debug s3://mytest/1m

rgw result:

{'headers': {
             ...
             'x-amz-meta-key6-1': 'value_1',
             ...

aws-s3 result:

{'headers': {
             ...
             'x-amz-meta-key6_1': 'value_1',
             ...

The second case is

s3cmd put ~/1m s3://mytest --add-header 'x_amz_meta_key_1: value_1'
s3cmd get --debug s3://mytest/1m

rgw result:

{'headers': {
             ...
             'x-amz-meta-key6-1': 'value_1',
             ...

aws-s3 result:

{'headers': {
             ...


Related issues 3 (0 open — 3 closed)

Related to rgw - Bug #51772: tempest failures: test_create_container_with_remove_metadata_key/valueResolved

Actions
Copied to rgw - Backport #52285: octopus: aws-s3 incompatibility related metadataRejected

Actions
Copied to rgw - Backport #52286: pacific: aws-s3 incompatibility related metadataResolvedCory Snyder

Actions

JI Updated by J. Eric Ivancich over 5 years ago Actions #2

  • Pull request ID set to 38737

JI Updated by J. Eric Ivancich over 5 years ago Actions #3

  • Status changed from New to Resolved
  • Assignee set to Ilsoo Byun
  • Target version set to v17.0.0

This looks to me like something that should be backported to nautilus (near end-of-life), octopus, and pacific. Any objection?

JI Updated by J. Eric Ivancich over 5 years ago Actions #4

  • Status changed from Resolved to Pending Backport
  • Backport set to octopus, pacific

This looks like a bug fix that needs backports.

Also, rather than re-implementing the same algorithm 3 separate times, I think a function that could be called from all these places would have removed some technical debt.

UB Updated by Upkeep Bot over 5 years ago Actions #5

  • Copied to Backport #52285: octopus: aws-s3 incompatibility related metadata added

UB Updated by Upkeep Bot over 5 years ago Actions #6

  • Copied to Backport #52286: pacific: aws-s3 incompatibility related metadata added

CB Updated by Casey Bodley almost 5 years ago Actions #7

  • Related to Bug #51772: tempest failures: test_create_container_with_remove_metadata_key/value added

UB Updated by Upkeep Bot over 1 year ago Actions #9

  • Status changed from Pending Backport to Resolved
  • Upkeep Timestamp set to 2025-07-09T17:11:35+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #10

  • Merge Commit set to 116ef52566c5fb8f7621439218fb492595e2d85a
  • Fixed In set to v17.0.0-2904-g116ef52566
  • Released In set to v17.2.0~2393
  • Upkeep Timestamp changed from 2025-07-09T17:11:35+00:00 to 2025-08-02T05:05:26+00:00
Actions

Also available in: PDF Atom