Project

General

Profile

Bug #10062

Updated by Loic Dachary over 5 years ago

* "rgw: check for timestamp for s3 keystone auth":https://github.com/ceph/ceph/pull/2993
* "wip: rgw: check keystone auth also for s3 post requests":https://github.com/ceph/ceph/pull/3251

Using ceph 0.86 along with keystone gives about ~22 failures, while the same setup creating users with cephx authentication gives no failures. The failures are listed below,

<pre>
ceph version 0.86 (97dcc0539dfa7dac3de74852305d51580b7b1f82)
s3tests.functional.test_headers.test_object_create_bad_date_before_today ... FAIL
s3tests.functional.test_headers.test_object_create_bad_date_after_today ... FAIL
s3tests.functional.test_headers.test_object_create_bad_date_after_end ... FAIL
s3tests.functional.test_headers.test_bucket_create_bad_date_before_today ... FAIL
s3tests.functional.test_headers.test_bucket_create_bad_date_after_today ... FAIL

s3tests.functional.test_s3.test_post_object_authenticated_request ... FAIL
s3tests.functional.test_s3.test_post_object_upload_larger_than_chunk ... FAIL
s3tests.functional.test_s3.test_post_object_set_key_from_filename ... FAIL
s3tests.functional.test_s3.test_post_object_ignored_header ... FAIL
s3tests.functional.test_s3.test_post_object_case_insensitive_condition_fields ... FAIL
s3tests.functional.test_s3.test_post_object_escaped_field_values ... FAIL
s3tests.functional.test_s3.test_post_object_success_redirect_action ... FAIL
s3tests.functional.test_s3.test_post_object_invalid_date_format ... FAIL
s3tests.functional.test_s3.test_post_object_user_specified_header ... FAIL
s3tests.functional.test_s3.test_post_object_condition_is_case_sensitive ... FAIL
s3tests.functional.test_s3.test_post_object_expires_is_case_sensitive ... FAIL
s3tests.functional.test_s3.test_post_object_missing_expires_condition ... FAIL
s3tests.functional.test_s3.test_post_object_missing_conditions_list ... FAIL
s3tests.functional.test_s3.test_post_object_upload_size_limit_exceeded ... FAIL
s3tests.functional.test_s3.test_post_object_missing_content_length_argument ... FAIL
s3tests.functional.test_s3.test_post_object_invalid_content_length_argument ... FAIL
s3tests.functional.test_s3.test_post_object_upload_size_below_minimum ... FAIL
s3tests.functional.test_s3.test_bucket_acl_default ... FAIL
</pre>

the radosgw conf section was the standard one from docs
<pre>
[client.radosgw.gateway]
host = ceph
keyring = /etc/ceph/ceph.client.radosgw.keyring
rgw socket path = /var/run/ceph/ceph.radosgw.gateway.fastcgi.sock
log file = /var/log/ceph/client.radosgw.gateway.log
rgw keystone url = http://127.0.0.1:35357
rgw keystone admin token = nova
rgw keystone accepted roles = admin, Member, _member_
rgw keystone token cache size = 100
rgw keystone revocation interval = 600
rgw s3 auth use keystone = true
</pre>

Back