HA deployments in Pike do not create a clustercheck user

Bug #1707683 reported by Damien Ciabrini on 2017-07-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
High
Damien Ciabrini

Bug Description

In HA overcloud the helper script clustercheck is called by HAProxy to poll
the state of the galera cluster. In containerized Pike, that user is
not created when the database is bootstrapped.

Changed in tripleo:
assignee: nobody → Damien Ciabrini (dciabrin)

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

Changed in tripleo:
status: New → In Progress
Changed in tripleo:
milestone: none → pike-rc1
importance: Undecided → High

Reviewed: https://review.openstack.org/489277
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=7968f37f6e65ed542340437f23b6c267b8b1f2ce
Submitter: Jenkins
Branch: master

commit 7968f37f6e65ed542340437f23b6c267b8b1f2ce
Author: Damien Ciabrini <email address hidden>
Date: Fri Jul 28 12:13:53 2017 -0400

    MariaDB: create clustercheck user at container bootstrap

    In HA overclouds, the helper script clustercheck is called by HAProxy to poll
    the state of the galera cluster. Make sure that a dedicated clustercheck user
    is created at deployment, like it is currently done in Ocata.

    The creation of the clustercheck user happens on all controller nodes, right
    after the database creation. This way, it does not need to wait for the galera
    cluster to be up and running.

    Partial-Bug: #1707683
    Change-Id: If8e0b3f9e4f317fde5328e71115aab87a5fa655f

Reviewed: https://review.openstack.org/489279
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=5caebe85e91bc22586cde872b4ed68943fc74a63
Submitter: Jenkins
Branch: master

commit 5caebe85e91bc22586cde872b4ed68943fc74a63
Author: Damien Ciabrini <email address hidden>
Date: Mon Jul 31 09:10:47 2017 -0400

    Use clustercheck credentials to poll galera state in container

    The clustercheck service currently connects to mysql as root
    to poll the state of the galera cluster.

    Update the generated config to use clustercheck credentials.

    Depends-On: If8e0b3f9e4f317fde5328e71115aab87a5fa655f
    Closes-Bug: #1707683

    Change-Id: I4ee6e1f56a7880ccf456f5c08d26a267fb810361

Changed in tripleo:
status: In Progress → Fix Released

This issue was fixed in the openstack/puppet-tripleo 7.3.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers