Bug 1664869

Summary: [RFE] Support configuring multiple RGW endpoints in ceph-ansible for RGW multisite
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Mike Hackett <mhackett>
Component: Ceph-AnsibleAssignee: Ali Maredia <amaredia>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: medium Docs Contact: Aron Gunn <agunn>
Priority: medium    
Version: 3.2CC: agunn, amaredia, anharris, aschoen, cbodley, ceph-eng-bugs, ceph-qe-bugs, gabrioux, gmeno, jbrier, jharriga, kdreyer, nthomas, sankarshan, tchandra, tserlin, vumrao
Target Milestone: z2Keywords: FutureFeature
Target Release: 3.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-ansible-3.2.13-1.el7cp Ubuntu: ceph-ansible_3.2.13-2redhat1 Doc Type: Enhancement
Doc Text:
.Ceph Ansible supports a mulit-site Ceph Object Gateway configuration With previous versions of `ceph-ansible`, only one Object Gateway endpoint was configurable. With this release, `ceph-ansible` supports a multi-site Ceph Object Gateway for multiple endpoints. Zones can be configured with multiple Object Gateways and can be added to a zone automatically by appending their endpoint information to a list. With the `rgw_multisite_proto` option, users can set it to `http` or `https` depending on whether the endpoint is configured to use SSL or not. When more than one Ceph Object Gateway is in the master zone or in the secondary zone, then the `rgw_multisite_endpoints` option needs to be set. The `rgw_multisite_endpoints` option is a comma separated list, with no spaces. For example: ---- rgw_multisite_endpoints: http://foo.example.com:8080,http://bar.example.com:8080,http://baz.example.com:8080 ---- When adding a new Object Gateway, append it to the end of the `rgw_multisite_endpoints` list with the endpoint URL of the new Object Gateway before running the Ansible playbook.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-30 15:56:43 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: 1629656    

Description Mike Hackett 2019-01-09 21:26:04 UTC
Description of problem:

Currently the rgw multisite config options in ceph ansible only support configuring a single endpoint. If a customer has two RGW's that are doing replication on each side and the zonegroup endpoints contain 2 URL's we would not be able to configure this via ceph-ansible in it's current state.

We should support multiple endpoints being configured in ceph-ansible rgw multisite config.


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

Comment 12 errata-xmlrpc 2019-04-30 15:56:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:0911