swift-proxy showing split brain behaviour when deployed in HA mode

Bug #1337765 reported by Alexander List
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
swift-proxy (Juju Charms Collection)
Fix Released
High
JuanJo Ciarlante

Bug Description

We are trying to deploy swift-proxy in HA mode, using 3 proxies in LXC containers on physical machines managed by MAAS (smoosh).

We see inconsistent answers from swift, pointing at a split-brain situation.

When reducing the number of proxies to one and removing HA, the problem is not visible.

We will do further testing on CI to try and reproduce the problem in a clean environment.

This is on trusty, using the latest version of the charm.

Related branches

Revision history for this message
Alexander List (alexlist) wrote :
description: updated
JuanJo Ciarlante (jjo)
tags: added: canonical-bootstack
tags: added: openstack
Revision history for this message
JuanJo Ciarlante (jjo) wrote :

I was facing the same issue because I was missing 'swift-hash' to
swift-proxy juju config, adding it fixed the issue for me.

Nevertheless IMO randomly initiaziling each unit separately is an arguable
feature, specially since we can derive a deterministic per juju env UUID
from it + swift-proxy service name: please see this MP[0],
which in short does:
   swift_hash = UUID($JUJU_ENV_UUID, <service_name> )

[0] https://code.launchpad.net/~jjo/charms/trusty/swift-proxy/swift_hash-from-JUJU_ENV_UUID-and-service_name/+merge/237276

Revision history for this message
JuanJo Ciarlante (jjo) wrote :
Changed in swift-proxy (Juju Charms Collection):
status: New → In Progress
assignee: nobody → JuanJo Ciarlante (jjo)
Changed in swift-proxy (Juju Charms Collection):
importance: Undecided → High
Changed in swift-proxy (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in swift-proxy (Juju Charms Collection):
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.