Bug #21607
openrgw: s3 v4 auth fails teuthology s3-tests: test_object_header_acl_grants test_bucket_header_acl_grants
0%
Description
When running teuthology s3-tests with the environment variable "S3_USE_SIGV4=1", awsv4 signatures are enabled.
When this is done, these tests fail:
ERROR: s3tests.functional.test_s3.test_object_header_acl_grants
ERROR: s3tests.functional.test_s3.test_bucket_header_acl_grants
This fails doing awsv4 signatures, and the exact error appears to be in the sort order of "x-amz-grant-read-acp" vs. "x-amz-grant-read", "x-amz-grant-write-acp" vs. "x-amz-grant-write". It appears that the expected behavior is to sort the entire header line (which includes a ":" which sorts after "-", and not just the field name.
This behavior appers in both jewel and master.
Updated by Casey Bodley over 6 years ago
- Related to Bug #21832: boto3 v4 SignatureDoesNotMatch failure due to sorting of sse-kms headers added
Updated by Casey Bodley over 6 years ago
This appears to be a boto2 client bug, as reported in https://github.com/boto/boto/pull/3032.
Updated by Ken Dreyer over 6 years ago
- Status changed from New to 15
- Backport deleted (
jewel, luminous)
Unmarking this for backporting.
To be clear: the original RGW commit at https://github.com/ceph/ceph/pull/18046 was wrong, and we reverted this in #21832 . Please don't cherry-pick this PR anywhere :)
Updated by Kefu Chai over 6 years ago
Ken, Nathan, i merged https://github.com/ceph/ceph/pull/18165 before i read this ticket. shall we backport the revert PR?
Updated by Matt Benjamin over 6 years ago
Kefu, https://github.com/ceph/ceph/pull/18165 is about xfs vs. btrfs in filestore?
Matt
Updated by Matt Benjamin over 6 years ago
kefu, if https://github.com/ceph/ceph/pull/18080 merged into Jewel, I think it needs a revert.
Matt
Updated by Kefu Chai over 6 years ago
- Assignee set to Kefu Chai
@Matt Li sorry for the typo, it's https://github.com/ceph/ceph/pull/18080.
and ack. will backport the revert.
Updated by Nathan Cutler over 6 years ago
jewel revert: http://tracker.ceph.com/issues/22028
Updated by Patrick Donnelly over 4 years ago
- Status changed from 15 to Fix Under Review