Bug 1779158 - [RGW]: Put object ACL fails due to missing content length
Summary: [RGW]: Put object ACL fails due to missing content length
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 3.3
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: z2
: 3.3
Assignee: Matt Benjamin (redhat)
QA Contact: Tejas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-03 12:34 UTC by Tejas
Modified: 2019-12-19 17:59 UTC (History)
6 users (show)

Fixed In Version: RHEL: ceph-12.2.12-84.el7cp Ubuntu: ceph_12.2.12-77redhat1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-19 17:58:49 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:4353 0 None None None 2019-12-19 17:59:02 UTC

Description Tejas 2019-12-03 12:34:35 UTC
Description of problem:
   
# ceph -v
ceph version 12.2.12-83.el7cp (4b34b893d114fdf8fcbf17368a3702cbfcf668d6) luminous (stable)

]# aws s3api put-object-acl --endpoint http://magna068:8080 --bucket test1 --key file1 --acl public-read

An error occurred (MissingContentLength) when calling the PutObjectAcl operation: Unknown

This appears to be a regression as this error is not seen on teuthology runs on build 12.2.12-82.el7cp
Could this be a regression to the fix in https://bugzilla.redhat.com/show_bug.cgi?id=1775588 ?

Observed the same issue on teuthology runs on the latest ceph version 12.2.12-83.el7cp:

2019-12-03 07:30:45,552.552 INFO:teuthology.orchestra.run.extensa030.stderr:GOT UNWANTED ERROR MissingContentLength
2019-12-03 07:30:45,552.552 INFO:teuthology.orchestra.run.extensa030.stderr:Traceback (most recent call last):
2019-12-03 07:30:45,552.552 INFO:teuthology.orchestra.run.extensa030.stderr:  File "/home/ubuntu/cephtest/s3-tests/virtualenv/bin/s3tests-test-readwrite", line 11, in <module>
2019-12-03 07:30:45,553.553 INFO:teuthology.orchestra.run.extensa030.stderr:    load_entry_point('s3tests', 'console_scripts', 's3tests-test-readwrite')()
2019-12-03 07:30:45,553.553 INFO:teuthology.orchestra.run.extensa030.stderr:  File "/home/ubuntu/cephtest/s3-tests/s3tests/readwrite.py", line 265, in main
2019-12-03 07:30:45,553.553 INFO:teuthology.orchestra.run.extensa030.stderr:    common.nuke_bucket(bucket)
2019-12-03 07:30:45,553.553 INFO:teuthology.orchestra.run.extensa030.stderr:  File "/home/ubuntu/cephtest/s3-tests/s3tests/common.py", line 47, in nuke_bucket
2019-12-03 07:30:45,553.553 INFO:teuthology.orchestra.run.extensa030.stderr:    bucket.set_canned_acl('private')
2019-12-03 07:30:45,553.553 INFO:teuthology.orchestra.run.extensa030.stderr:  File "/home/ubuntu/cephtest/s3-tests/virtualenv/lib/python2.7/site-packages/boto/s3/bucket.py", line 909, in set_canned_acl

Comment 9 errata-xmlrpc 2019-12-19 17:58:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:4353


Note You need to log in before you can comment on or make changes to this bug.