Containerized galera fail to deploy if stack name use capital letters

Bug #1748927 reported by Damien Ciabrini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Damien Ciabrini

Bug Description

When deploying a containerized Pike stack or upgrading from Ocata to containerized Pike, the galera resource starts to FQDN to identify nodes and a new configuration that maps pacemaker node name to galera FQDN.

Currently the mapping logics in puppet-tripleo is broken if the stack name uses capital letters. Consequently, the stack creation/update will fail at step 2 when the galera resource agent refuses to start galera. The following error is reported by pcs status:

 Failed Actions:
* galera_start_0 on galera-bundle-1 'not configured' (6): call=13, status=complete, exitreason='Could not determine galera name from pacemaker node <foobar-controller-1>.',
    last-rc-change='Mon Feb 12 14:55:39 2018', queued=0ms, exec=507ms
* galera_start_0 on galera-bundle-2 'not configured' (6): call=13, status=complete, exitreason='Could not determine galera name from pacemaker node <foobar-controller-2>.',
    last-rc-change='Mon Feb 12 14:55:41 2018', queued=0ms, exec=572ms
* galera_start_0 on galera-bundle-0 'not configured' (6): call=13, status=complete, exitreason='Could not determine galera name from pacemaker node <foobar-controller-0>.',
    last-rc-change='Mon Feb 12 14:55:38 2018', queued=0ms, exec=535ms

Changed in tripleo:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (master)

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

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (master)

Reviewed: https://review.openstack.org/544384
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=ec864ac52502f67c06632322eb556cd6fcbdc495
Submitter: Zuul
Branch: master

commit ec864ac52502f67c06632322eb556cd6fcbdc495
Author: Damien Ciabrini <email address hidden>
Date: Wed Feb 14 14:45:32 2018 +0000

    Fix galera deployment when stack's name has capital letters

    The galera resource agent generates a mapping of pacemaker node
    name (shortname) to galera node name (FQDN). Fix the generated
    mapping when stack's name uses capital letters.

    Change-Id: Ica82e44852bae81931b4c87acd71b90656812061
    Closes-Bug: #1748927

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/545979

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (stable/pike)

Reviewed: https://review.openstack.org/545979
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=d01e89eca0669c23aaca7e874d9bc06e75c00b5a
Submitter: Zuul
Branch: stable/pike

commit d01e89eca0669c23aaca7e874d9bc06e75c00b5a
Author: Damien Ciabrini <email address hidden>
Date: Wed Feb 14 14:45:32 2018 +0000

    Fix galera deployment when stack's name has capital letters

    The galera resource agent generates a mapping of pacemaker node
    name (shortname) to galera node name (FQDN). Fix the generated
    mapping when stack's name uses capital letters.

    Change-Id: Ica82e44852bae81931b4c87acd71b90656812061
    Closes-Bug: #1748927
    (cherry picked from commit ec864ac52502f67c06632322eb556cd6fcbdc495)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 8.3.0

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 7.4.10

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

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.