Actions
Bug #19041
openrgw: multiple zonegroups: asymmetric behavior of creating user account
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
This is a part of issues discussed on ceph-devel ML: http://marc.info/?t=148671813300008
I tentatively configured multiple zonegroups in a single realm on single ceph cluster for evaluation of behavior of multiple zonegroups:
- zonegroup default (api_name east)
- zone default http://node5:80
- zonegroup jp (master)
- zone jp-east http://node5:8080 (master)
- zone jp-west http://node5:8081
- zonegroup west
- zone osaka http://node5:8082
With this configuration, a created user account is only synchronized from master zone to secondary zone in the same zonegroup:
- When a user account is created on "jp-east" (master) zone, the user metadata is synchronized to "jp-west" zone. The user metadata is not synchronized to any zone in other zonegroups.
- When a user account is created on "jp-west" (secondary) zone, the user metadate is not synchronized to any other zone.
- When a user account is created on "default" or "osaka" zone (master of secondary zonegroup), the user metadate is not synchronized to any other zone.
Synchronization among zonegroups is related to #18346.
In addition, I feel 2nd behavior is asymmetric.
# radosgw-admin user create --uid=umeda --display-name="Umeda JP-WEST" --rgw-zonegroup=jp --rgw-zone=jp-west { "user_id": "umeda", "display_name": "Umeda JP-WEST", "email": "", "suspended": 0, "max_buckets": 1000, "auid": 0, "subusers": [], "keys": [ { "user": "umeda", "access_key": "N9YOH1DY6B4CEANLB97B", "secret_key": "FgPC3uabaOuATjRNm1TdCc9OLTDadjGQwEET1c4L" } ], "swift_keys": [], "caps": [], "op_mask": "read, write, delete", "default_placement": "", "placement_tags": [], "bucket_quota": { "enabled": false, "max_size_kb": -1, "max_objects": -1 }, "user_quota": { "enabled": false, "max_size_kb": -1, "max_objects": -1 }, "temp_url_keys": [] } # radosgw-admin metadata list user --rgw-zonegroup jp --rgw-zone jp-west [ "umeda", "sync-user", "test", "nishi" ] # radosgw-admin metadata list user --rgw-zonegroup jp --rgw-zone jp-east [ "sync-user", "test", "nishi" ]
Files
Actions