Galera clustercheck script should be used with available_when_donor=1

Bug #1437816 reported by Bogdan Dobrelya
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Bogdan Dobrelya

Bug Description

AVAILABLE_WHEN_DONOR should be 1 as Fuel configures a non-blocking xtrabackup replication.
https://github.com/stackforge/fuel-library/blob/master/deployment/puppet/openstack/templates/galera_clustercheck.erb#L22

That would improve the UX with the full cluster reassemble replication time. Currently, when all galera nodes went down and cluster is being reassembled completely, the donor node will not accept any SQL connections - as HAproxy will not allow it - until the first node got synced from it and becomes ready for services. But there is nothing prevents the donor node to accept connections from the very beginning of the outgoing replication. So, the clustercheck script should report the donor as available ASAP - and that is what available_when_donor option does.

Tags: ha
Changed in fuel:
milestone: none → 6.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Changed in fuel:
assignee: nobody → Bogdan Dobrelya (bogdando)
status: New → In Progress
Changed in fuel:
importance: Undecided → Medium
description: updated
tags: added: ha
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/168803
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=36a67eceba98bb0f02a8b701445fe694de47f5ae
Submitter: Jenkins
Branch: master

commit 36a67eceba98bb0f02a8b701445fe694de47f5ae
Author: Bogdan Dobrelya <email address hidden>
Date: Mon Mar 30 09:47:24 2015 +0200

    Set galera clustercheck available_when_donor to 1

    AVAILABLE_WHEN_DONOR should be 1 as Fuel configures
    a non-blocking xtrabackup replication and HAproxy
    backend for donor should report as available.

    That would improve the UX with the full cluster
    reassemble replication time - the donor node will
    be ready for service ASAP

    Change-Id: I9044a38fb651573a7428b9a9d0bd9d209cb5dcb5
    Closes-bug: #1437816
    Signed-off-by: Bogdan Dobrelya <email address hidden>

Changed in fuel:
status: In Progress → Fix Committed
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.