Bug 1534992
| Summary: | rgw: offline resharding doesn't seem to preserve bucket acls | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Orit Wasserman <owasserm> |
| Component: | RGW | Assignee: | Matt Benjamin (redhat) <mbenjamin> |
| Status: | CLOSED ERRATA | QA Contact: | Tejas <tchandra> |
| Severity: | medium | Docs Contact: | Bara Ancincova <bancinco> |
| Priority: | medium | ||
| Version: | 2.5 | CC: | cbodley, ceph-eng-bugs, hnallurv, kbader, kdreyer, mbenjamin, mhackett, sweil, tchandra, tpetr, vumrao |
| Target Milestone: | z3 | ||
| Target Release: | 2.5 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | RHEL: ceph-10.2.10-42.el7cp Ubuntu: ceph_10.2.10-36redhat1xenial | Doc Type: | Bug Fix |
| Doc Text: |
Previously, bucket access control lists (ACLs) and other attributes were not correctly restored after the bucket link step in offline resharding. The underlying source code has been modified, and the bucket ACLs and other attributes are restored as expected in this situation.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-11-27 21:15:40 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Orit Wasserman
2018-01-16 12:32:37 UTC
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 |