Actions
Bug #21607
openrgw: s3 v4 auth fails teuthology s3-tests: test_object_header_acl_grants test_bucket_header_acl_grants
Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
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.
Actions