Description of problem: Created a public bucket; after resharding the acls do not seem to have been retained Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. s3 -us create publicbucket cannedAcl=public-read-write 2. s3 -us list publicbucket 3. s3 -us getacl publicbucket filename=publicbucket.acl 4. radosgw-admin bucket reshard --bucket=publicbucket --num-shards=10 5. s3 -us getacl publicbucket filename=publicbucket2.acl Actual results: bucket acl are not the same Expected results: bucket acl unchanged Additional info:
A simple workaround: get bucket acl before resharding: https://github.com/oritwas/scripts/blob/master/getacl.py reshard bucket set back bucket acl: https://github.com/oritwas/scripts/blob/master/setacl.py you can also use this script (it uses getacl.py and setacl.py): https://github.com/oritwas/scripts/blob/master/reshard_and_set_acl.sh
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/RHBA-2018:3689