Bug 1839224

Summary: [Ceph][Docs][Ceph-ansible][Multisite] rgw_multisite_endpoints is deprecated
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Mustafa Aydın <maydin>
Component: DocumentationAssignee: Ranjini M N <rmandyam>
Status: CLOSED CURRENTRELEASE QA Contact: Tejas <tchandra>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0CC: agunn, jbrier, kdreyer, rmandyam
Target Milestone: rcKeywords: NoDocsQEReview
Target Release: 5.*   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-03 17:30:34 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:
Bug Depends On:    
Bug Blocks: 1732135    

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: