Bug 1349355
| Summary: | Multisite: Unable to sync objects created by tenant users | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | shilpa <smanjara> | ||||||
| Component: | RGW | Assignee: | Casey Bodley <cbodley> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | shilpa <smanjara> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 2.0 | CC: | cbodley, ceph-eng-bugs, ceph-qe-bugs, hnallurv, kbader, kdreyer, mbenjamin, owasserm, sweil | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | 2.0 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | RHEL: ceph-10.2.2-20.el7cp Ubuntu: ceph_10.2.2-15redhat1xenial | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2016-08-23 19:42:27 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
shilpa
2016-06-23 10:04:46 UTC
Created attachment 1171398 [details]
master zone logs
Created attachment 1171399 [details]
magna075 logs
More info from Shilpa on creating and using tenant users: radosgw-admin user create --uid=testuser --tenant=test --display-name="Test User" radosgw-admin subuser create --uid=testuser --subuser=testuser:swift --tenant=test --access=full radosgw-admin key create --subuser=testuser:swift --uid=testuser --tenant=test --key-type=swift --gen-secret swift -A http://magna115:8080/auth/1.0 -U 'test$testuser:swift' -K '<secret>' list What I've learned so far: Each tenant has a separate 'namespace' for buckets, which works by adding the tenant name to the beginning of the bucket/instance object names. The multisite sync process doesn't track tenants, so it's looking for objects without this tenant prefix and failing to find and sync them. added upstream pull request at https://github.com/ceph/ceph/pull/10075. pending further testing and review Verified on ceph-10.2.2-23 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://rhn.redhat.com/errata/RHBA-2016-1755.html |