Project

General

Profile

Actions

Bug #19041

open

rgw: multiple zonegroups: asymmetric behavior of creating user account

Added by Osamu KIMURA about 7 years ago. Updated about 7 years ago.

Status:
New
Priority:
Normal
Target version:
-
% 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:

With this configuration, a created user account is only synchronized from master zone to secondary zone in the same zonegroup:

  1. 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.
  2. When a user account is created on "jp-west" (secondary) zone, the user metadate is not synchronized to any other zone.
  3. 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

plantuml_zone_config.png (11.2 KB) plantuml_zone_config.png zone/zonegroup configuration Osamu KIMURA, 03/01/2017 04:28 AM
plantuml_user_create.png (20 KB) plantuml_user_create.png behavior of creating user Osamu KIMURA, 03/01/2017 04:28 AM
Actions #1

Updated by Yehuda Sadeh about 7 years ago

  • Assignee set to Orit Wasserman
Actions

Also available in: Atom PDF