Bug 2135212 - [Docs]: Fix multisite ansible configuration in RHCS4 doc
Summary: [Docs]: Fix multisite ansible configuration in RHCS4 doc
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Documentation
Version: 4.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: Backlog
Assignee: Ranjini M N
QA Contact: Ameena Suhani S H
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-17 04:44 UTC by Ameena Suhani S H
Modified: 2023-01-20 05:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-20 05:18:04 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-5447 0 None None None 2022-10-17 04:49:37 UTC

Description Ameena Suhani S H 2022-10-17 04:44:20 UTC
Describe the issue:
While configuring multisite with multiple realm the endpoints needs to be added for each instance on secondary otherwise the ansible site/site-container fails with below error

TASK [ceph-validate : fail if endpoint is not set] **********************************
.
.
msg: endpoint has not been set by the user


Actual: 

rgw_instances:
  - instance_name: 'rgw0'
    rgw_multisite: true
    rgw_zonemaster: false
    rgw_zonesecondary: true
    rgw_zonegroupmaster: false
    rgw_realm: local-realm-2
    rgw_zonegroup: local-zone-group-2
    rgw_zone: local-zone-2
    rgw_zone_user: local-user-2
    rgw_zone_user_display_name: "local-user-2"
    system_access_key: P9Eb6S8XNyo4dtZZUUMx
    system_secret_key: qqHCUtfdNnpHq3PZRHW5un9l0bEBM812Uhow0XfA
    radosgw_address: "{{ _radosgw_address }}"
    radosgw_frontend_port: 8080
  - instance_name: 'rgw1'
    rgw_multisite: true
    rgw_zonemaster: false
    rgw_zonesecondary: true
    rgw_zonegroupmaster: false
    rgw_zone: versailles
    rgw_zonegroup: idf
    rgw_realm: france
    rgw_zone_user: jacques.chirac
    rgw_zone_user_display_name: "Jacques Chirac"
    system_access_key: P9Eb6S8XNyo4dtZZUUMy
    system_secret_key: qqHCUtfdNnpHq3PZRHW5un9l0bEBM812Uhow0XfB
    radosgw_address: "{{ _radosgw_address }}"
    radosgw_frontend_port: 8081
    endpoint: http://rgw-primary:8081


Expected:
rgw_instances:
  - instance_name: 'rgw0'
    rgw_multisite: true
    rgw_zonemaster: false
    rgw_zonesecondary: true
    rgw_zonegroupmaster: false
    rgw_realm: local-realm-2
    rgw_zonegroup: local-zone-group-2
    rgw_zone: local-zone-2
    rgw_zone_user: local-user-2
    rgw_zone_user_display_name: "local-user-2"
    system_access_key: P9Eb6S8XNyo4dtZZUUMx
    system_secret_key: qqHCUtfdNnpHq3PZRHW5un9l0bEBM812Uhow0XfA
    radosgw_address: "{{ _radosgw_address }}"
    radosgw_frontend_port: 8080
    endpoint: http://rgw-primary:8080                      <--------------this needs to be added for each instance
  - instance_name: 'rgw1'
    rgw_multisite: true
    rgw_zonemaster: false
    rgw_zonesecondary: true
    rgw_zonegroupmaster: false
    rgw_zone: versailles
    rgw_zonegroup: idf
    rgw_realm: france
    rgw_zone_user: jacques.chirac
    rgw_zone_user_display_name: "Jacques Chirac"
    system_access_key: P9Eb6S8XNyo4dtZZUUMy
    system_secret_key: qqHCUtfdNnpHq3PZRHW5un9l0bEBM812Uhow0XfB
    radosgw_address: "{{ _radosgw_address }}"
    radosgw_frontend_port: 8081
    endpoint: http://rgw-primary:8081

Document URL: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/4/html-single/installation_guide/index#configuring-a-multisite-ceph-object-gateway-with-multiple-realms_install

Chapter/Section Number and Title: 5.7.3. Configuring a multisite Ceph Object Gateway with multiple realms

Product Version:
4


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