Bug 1839224 - [Ceph][Docs][Ceph-ansible][Multisite] rgw_multisite_endpoints is deprecated
Summary: [Ceph][Docs][Ceph-ansible][Multisite] rgw_multisite_endpoints is deprecated
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Documentation
Version: 4.0
Hardware: All
OS: All
unspecified
medium
Target Milestone: rc
: 5.*
Assignee: Ranjini M N
QA Contact: Tejas
URL:
Whiteboard:
Depends On:
Blocks: 1732135
TreeView+ depends on / blocked
 
Reported: 2020-05-22 19:15 UTC by Mustafa Aydın
Modified: 2020-06-03 17:30 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-03 17:30:34 UTC
Embargoed:


Attachments (Terms of Use)

Description Mustafa Aydın 2020-05-22 19:15:12 UTC
Description of problem:

The following chapter suggests to use "rgw_multisite_endpoints" variable to define rgw zone endpoints, however this variable is deprecated and "rgw_multisite_endpoints_list" should be used instead. 

https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/4/html/installation_guide/installing-red-hat-ceph-storage-using-ansible#configuring-a-multisite-ceph-object-gateway-install

Version-Release number of selected component (if applicable):
4.0

How reproducible:
Always

Steps to Reproduce:

Actual results:
endpoint list is not set correctly for the zone if the rgw_multisite_endpoints is used

rgw_multisite_endpoints: http://5.5.5.1:80,http://5.5.5.2:80,http://5.5.5.3:80


[root@ceph3osd2 /]# radosgw-admin zonegroup get --rgw-zonegroup testzg
{
    "id": "cafa9a16-a8e8-469e-bf2c-fe9c53548c48",
    "name": "testzg",
    "api_name": "testzg",
    "is_master": "true",
    "endpoints": [
        "http://ceph3osd1.aydin.lab:80"
    ],
    "hostnames": [],
    "hostnames_s3website": [],
    "master_zone": "08b4f7e2-e26f-4241-bf13-a7da9fa1a6b9",
    "zones": [
        {
            "id": "08b4f7e2-e26f-4241-bf13-a7da9fa1a6b9",
            "name": "testmasterzone",
            "endpoints": [
                "http://ceph3osd1.aydin.lab:80"
            ],
            "log_meta": "false",

Expected results:
Have the endpoint IPs at the zone endpoints list

rgw_multisite_endpoints_list: "http://5.5.5.1:80,http://5.5.5.2:80,http://5.5.5.3:80"


[root@ceph3osd1 /]# radosgw-admin zonegroup get --rgw-zonegroup testzg
{
    "id": "752cb584-2914-402d-b656-6621b9f0d362",
    "name": "testzg",
    "api_name": "testzg",
    "is_master": "true",
    "endpoints": [
        "http://ceph3osd1.aydin.lab:80"
    ],
    "hostnames": [],
    "hostnames_s3website": [],
    "master_zone": "710e07ad-4ee0-4d4d-aac8-a111bc91a3a9",
    "zones": [
        {
            "id": "710e07ad-4ee0-4d4d-aac8-a111bc91a3a9",
            "name": "testmasterzone",
            "endpoints": [
                "http://5.5.5.1:80",
                "http://5.5.5.2:80",
                "http://5.5.5.3:80"
            ],



Additional info:


Note You need to log in before you can comment on or make changes to this bug.