ceph-radosgw charm is missing Multisite configuration option

Bug #1666880 reported by Gábor Mészáros
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ceph RADOS Gateway Charm
Fix Released
Wishlist
James Page
ceph-radosgw (Juju Charms Collection)
Invalid
Medium
Unassigned

Bug Description

Charm configuration option prefix-pool suggests that a user can use multiple radosgws next to each other and separate their pools using the prefix-pool option. However this is not the case, the charm only creates those pools, but never configures the application to use them, rather it uses the default pools. This is a problem when multiple radosgws are writing to the same (default) pool.

Following the recommendation in [0] the proper way of configuration is to create separate realms, zonegroups and zones, so the gateways pools can be separated completely. Furthermore, using this approach, creation of pools is not necessary, first usage of the zone will allocate them automatically.

https://github.com/ceph/ceph/blob/master/doc/radosgw/multisite.rst

Revision history for this message
Gábor Mészáros (gabor.meszaros) wrote :
Revision history for this message
James Page (james-page) wrote :

OK I think there are two things here:

a) the charm might not be configuring the radosgw it deploys to use the correct pools
b) the charms don't support multi-site configuration

a) is a bug, b) is a missing feature for the charms which is really enabled with cross-model relations (which is coming soon in Juju).

Changed in ceph-radosgw (Juju Charms Collection):
status: New → Triaged
importance: Undecided → Medium
James Page (james-page)
Changed in charm-ceph-radosgw:
importance: Undecided → Medium
status: New → Triaged
Changed in ceph-radosgw (Juju Charms Collection):
status: Triaged → Invalid
Revision history for this message
Gábor Mészáros (gabor.meszaros) wrote :

a) correct, it just creates the pools, but never uses them.
b) also true, we need this more.

Michał Ajduk (majduk)
tags: removed: 4010
Revision history for this message
James Page (james-page) wrote :

OK marking as wishlist - this is https://review.openstack.org/#/c/616884/

Changed in charm-ceph-radosgw:
importance: Medium → Wishlist
James Page (james-page)
Changed in charm-ceph-radosgw:
status: Triaged → In Progress
assignee: nobody → James Page (james-page)
milestone: none → 19.04
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-radosgw (master)

Reviewed: https://review.openstack.org/629873
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-radosgw/commit/?id=7722f9d6206c013dae23f1da74fc6eca9d0de6ca
Submitter: Zuul
Branch: master

commit 7722f9d6206c013dae23f1da74fc6eca9d0de6ca
Author: James Page <email address hidden>
Date: Wed Jan 9 16:47:28 2019 +0000

    Add support for RADOS gateway multi-site replication

    Add new radosgw-multisite typed master and slave relations to
    support configuration of separate ceph-radosgw deployments as
    a single realm and zonegroup to support replication of data
    between distinct RADOS gateway deployments.

    This mandates the use of the realm, zonegroup and zone
    configuration options of which realm and zonegroup must match
    between instances of the ceph-radosgw application participating
    in the master/slave relation.

    The radosgw-multisite relation may be deployed as a model local
    relation or as a cross-model relation.

    Change-Id: I094f89b0f668e012482ca8aace1756c911b79d17
    Closes-Bug: 1666880

Changed in charm-ceph-radosgw:
status: In Progress → Fix Committed
David Ames (thedac)
Changed in charm-ceph-radosgw:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.