Project

General

Profile

Actions

Documentation #40458

closed

Object Gateway multisite document read-only argument error

Added by Chenjiong Deng almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
% Done:

0%

Tags:
multisite
Backport:
luminous mimic nautilus
Reviewed:
Affected Versions:
Pull request ID:

Description

In multisite document command:

radosgw-admin zone modify --rgw-zone={zone-name} --master --default --read-only=False

--read-only only support “false” means read-only false,others including “False” and “true” are true in fact.
And there are same problem in Luminous's documents and the other release series' documents.

This is a simple test:

[root@dev14 build]# radosgw-admin zonegroup get

{
    "id": "0f15a84b-4d34-45f9-898e-6a2a873e5922",
    "name": "default",
    "api_name": "default",
    "is_master": "true",
    "endpoints": [],
    "hostnames": [],
    "hostnames_s3website": [],
    "master_zone": "675acdc1-9c99-4099-bd7f-29e2b44218fb",
    "zones": [
        {
            "id": "675acdc1-9c99-4099-bd7f-29e2b44218fb",
            "name": "default",
            "endpoints": [
                "http://192.168.180.138:8000" 
            ],
            "log_meta": "false",
            "log_data": "false",
            "bucket_index_max_shards": 0,
            "read_only": "false", # <-----
            "tier_type": "",
            "sync_from_all": "true",
            "sync_from": [],
            "redirect_zone": "" 
        }
    ],
    "placement_targets": [
        {
            "name": "default-placement",
            "tags": [],
            "storage_classes": [
                "STANDARD" 
            ]
        }
    ],
    "default_placement": "default-placement",
    "realm_id": "a039cec1-2320-4f92-bd25-2066e1855a67" 
}

[root@dev14 build]# radosgw-admin zone modify --rgw-zone=default --master --default --read-only=False

[root@dev14 build]# radosgw-admin zonegroup get

{
    "id": "0f15a84b-4d34-45f9-898e-6a2a873e5922",
    "name": "default",
    "api_name": "default",
    "is_master": "true",
    "endpoints": [],
    "hostnames": [],
    "hostnames_s3website": [],
    "master_zone": "675acdc1-9c99-4099-bd7f-29e2b44218fb",
    "zones": [
        {
            "id": "675acdc1-9c99-4099-bd7f-29e2b44218fb",
            "name": "default",
            "endpoints": [
                "http://192.168.180.138:8000" 
            ],
            "log_meta": "false",
            "log_data": "false",
            "bucket_index_max_shards": 0,
            "read_only": "true", # <----- "false" to "true" 
            "tier_type": "",
            "sync_from_all": "true",
            "sync_from": [],
            "redirect_zone": "" 
        }
    ],
    "placement_targets": [
        {
            "name": "default-placement",
            "tags": [],
            "storage_classes": [
                "STANDARD" 
            ]
        }
    ],
    "default_placement": "default-placement",
    "realm_id": "a039cec1-2320-4f92-bd25-2066e1855a67" 
}

[root@dev14 build]# radosgw-admin zone modify --rgw-zone=default --master --default --read-only=false

[root@dev14 build]# radosgw-admin zonegroup get

{
    "id": "0f15a84b-4d34-45f9-898e-6a2a873e5922",
    "name": "default",
    "api_name": "default",
    "is_master": "true",
    "endpoints": [],
    "hostnames": [],
    "hostnames_s3website": [],
    "master_zone": "675acdc1-9c99-4099-bd7f-29e2b44218fb",
    "zones": [
        {
            "id": "675acdc1-9c99-4099-bd7f-29e2b44218fb",
            "name": "default",
            "endpoints": [
                "http://192.168.180.138:8000" 
            ],
            "log_meta": "false",
            "log_data": "false",
            "bucket_index_max_shards": 0,
            "read_only": "false", # <----- "true" to "false" 
            "tier_type": "",
            "sync_from_all": "true",
            "sync_from": [],
            "redirect_zone": "" 
        }
    ],
    "placement_targets": [
        {
            "name": "default-placement",
            "tags": [],
            "storage_classes": [
                "STANDARD" 
            ]
        }
    ],
    "default_placement": "default-placement",
    "realm_id": "a039cec1-2320-4f92-bd25-2066e1855a67" 
}


Related issues 3 (0 open3 closed)

Copied to rgw - Backport #40496: luminous: Object Gateway multisite document read-only argument errorResolvedNathan CutlerActions
Copied to rgw - Backport #40497: mimic: Object Gateway multisite document read-only argument errorResolvedNathan CutlerActions
Copied to rgw - Backport #40498: nautilus: Object Gateway multisite document read-only argument errorResolvedNathan CutlerActions
Actions #1

Updated by Chenjiong Deng almost 5 years ago

The test above is base on ceph matser branch current.

Actions #3

Updated by Nathan Cutler almost 5 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 28655
Actions #4

Updated by Nathan Cutler almost 5 years ago

  • Subject changed from Doc:Object Gateway multisite document read-only argument error to Object Gateway multisite document read-only argument error
Actions #5

Updated by Casey Bodley almost 5 years ago

  • Tags set to multisite
  • Backport set to luminous mimic nautilus
Actions #6

Updated by Casey Bodley almost 5 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #7

Updated by Nathan Cutler almost 5 years ago

  • Copied to Backport #40496: luminous: Object Gateway multisite document read-only argument error added
Actions #8

Updated by Nathan Cutler almost 5 years ago

  • Copied to Backport #40497: mimic: Object Gateway multisite document read-only argument error added
Actions #9

Updated by Nathan Cutler almost 5 years ago

  • Copied to Backport #40498: nautilus: Object Gateway multisite document read-only argument error added
Actions #11

Updated by Nathan Cutler over 4 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF