Juno -> Kilo upgrade script LB galera monitoring user issues

Bug #1500911 reported by Andy McCrae
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Invalid
High
Andy McCrae
Kilo
Fix Released
High
Andy McCrae
Trunk
Invalid
High
Andy McCrae

Bug Description

The LB monitoring user changed from "haproxy" to "montoring" by default.
The haproxy user is removed from mysql (although not entirely since it exists as haproxy@localhost still), this creates an issue though - the user is removed at the very beginning of the upgrade, but the new user isn't created until the mysql play happens (quite a long time later).

During this time the OpenStack cluster is effectively unavailable since galera is unavailable.

During the upgrade we should create the new user as we remove the old user to avoid this happening.

Revision history for this message
Jesse Pretorius (jesse-pretorius) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (kilo)

Reviewed: https://review.openstack.org/228983
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=f720fd7821ef9bd03bd9d9e8a51488c94b6ec7fe
Submitter: Jenkins
Branch: kilo

commit f720fd7821ef9bd03bd9d9e8a51488c94b6ec7fe
Author: Andy McCrae <email address hidden>
Date: Tue Sep 29 15:49:00 2015 +0100

    Add galera monitoring user during upgrades

    We changed the default galera_monitoring_user from "haproxy" to
    "monitoring".

    This patch ensures the old "haproxy" user is fully cleaned up
    (previously only 'haproxy'@'%' was removed, leaving
    'haproxy'@'localhost' in place.)
    This patch adds the new monitoring user to avoid downtime on the galera
    VIP during the upgrade - which happens because the monitor fails now
    that the monitoring user has been removed/changed.

    Change-Id: I07d753d51a5b2770064a26bdcf1cbaa4853ab49b
    Closes-bug: #1500911

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 11.2.14

This issue was fixed in the openstack/openstack-ansible 11.2.14 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.