Swift charms do not allow multi-region deployments

Bug #1815879 reported by Tytus Kurek
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Swift Proxy Charm
Fix Released
Wishlist
Tytus Kurek
OpenStack Swift Storage Charm
Fix Released
Wishlist
Tytus Kurek

Bug Description

Swift charms do not allow multi-region Swift deployments as described here:

https://docs.openstack.org/swift/pike/overview_global_cluster.html

For this to work changes have to be made in both swift-proxy and swift-storage charm. I have already created an initial version of the patches:

https://github.com/tytus-kurek/charm-swift-proxy/tree/1815879
https://github.com/tytus-kurek/charm-swift-storage/tree/1815879

I will submit them for a review once polished.

Tytus Kurek (tkurek)
Changed in charm-swift-proxy:
assignee: nobody → Tytus Kurek (tkurek)
Changed in charm-swift-storage:
assignee: nobody → Tytus Kurek (tkurek)
Changed in charm-swift-proxy:
status: New → In Progress
Changed in charm-swift-storage:
status: New → In Progress
Revision history for this message
Tytus Kurek (tkurek) wrote :

I have created a blog post describing how to setup Swift Global Cluster with the patched charms:

https://tkurek.blogspot.com/2019/02/swift-global-cluster-multi-region.html

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-swift-storage (master)

Fix proposed to branch: master
Review: https://review.openstack.org/638406

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-swift-proxy (master)

Fix proposed to branch: master
Review: https://review.openstack.org/638407

James Page (james-page)
Changed in charm-swift-proxy:
importance: Undecided → Wishlist
Changed in charm-swift-storage:
importance: Undecided → Wishlist
Tytus Kurek (tkurek)
tags: added: field-medium
Tytus Kurek (tkurek)
tags: removed: field-medium
Ryan Beisner (1chb1n)
Changed in charm-swift-proxy:
milestone: none → 19.07
Changed in charm-swift-storage:
milestone: none → 19.07
David Ames (thedac)
Changed in charm-swift-proxy:
milestone: 19.07 → 19.10
Changed in charm-swift-storage:
milestone: 19.07 → 19.10
David Ames (thedac)
Changed in charm-swift-proxy:
milestone: 19.10 → 20.01
Changed in charm-swift-storage:
milestone: 19.10 → 20.01
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-swift-storage (master)

Reviewed: https://review.opendev.org/638406
Committed: https://git.openstack.org/cgit/openstack/charm-swift-storage/commit/?id=fc261a5adc62b04af178fac7a36b69f8589f55bf
Submitter: Zuul
Branch: master

commit fc261a5adc62b04af178fac7a36b69f8589f55bf
Author: Tytus Kurek <email address hidden>
Date: Thu Feb 21 12:04:00 2019 +0000

    Swift Global Cluster

    This patchset adds a support for Swift Global Cluster feature as
    described at:

    https://docs.openstack.org/swift/latest/overview_global_cluster.html

    It allows specifying 'region' config option as part of the deployment.
    Theregion is reflected later on in the Swift rings.

    Change-Id: I11b6c7802e5bfbd61b06e4d11c65804a165781b6
    Partial-Bug: 1815879
    Needed-By: I406445493e2226aa5ae40a09c9053ac8633a46e9

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-swift-proxy (master)

Reviewed: https://review.opendev.org/638407
Committed: https://git.openstack.org/cgit/openstack/charm-swift-proxy/commit/?id=44df5db97d59e9de3510553082d276fc3a1c3bbf
Submitter: Zuul
Branch: master

commit 44df5db97d59e9de3510553082d276fc3a1c3bbf
Author: Tytus Kurek <email address hidden>
Date: Thu Feb 21 12:08:44 2019 +0000

    Swift Global Cluster

    This patchset adds a support for Swift Global Cluster feature as
    described at:

    https://docs.openstack.org/swift/latest/overview_global_cluster.html

    It allows specifying affinity settings as parrt of the deployment.
    Moreover, the master - slave relation is introduced for the purpose of
    rings distribution across proxy nodes participating in the Swift Global
    Cluster.

    Change-Id: I406445493e2226aa5ae40a09c9053ac8633a46e9
    Closes-Bug: 1815879
    Depends-On: I11b6c7802e5bfbd61b06e4d11c65804a165781b6

Changed in charm-swift-proxy:
status: In Progress → Fix Committed
Changed in charm-swift-storage:
status: In Progress → Fix Committed
James Page (james-page)
Changed in charm-swift-proxy:
status: Fix Committed → Fix Released
Changed in charm-swift-storage:
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

Remote bug watches

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