scripts/run-upgrade should remove haproxy mysql user

Bug #1472673 reported by Matt Thompson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Medium
Matt Thompson
Kilo
Fix Released
Medium
Matt Thompson
Trunk
Fix Released
Medium
Matt Thompson

Bug Description

Prior to kilo, we created a static 'haproxy' MySQL user for haproxy. In kilo and onwards, we now have a user variable called galera_monitoring_user which defaults to 'monitoring'. We should update scripts/run-upgrade.sh to remove the defunct' haproxy' user.

Changed in openstack-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (master)

Reviewed: https://review.openstack.org/199625
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=c51aaaccac3fca5cc202c7784ecb9f7a9490d5d0
Submitter: Jenkins
Branch: master

commit c51aaaccac3fca5cc202c7784ecb9f7a9490d5d0
Author: Matt Thompson <email address hidden>
Date: Wed Jul 8 17:00:25 2015 +0100

    Remove haproxy galera monitoring user

    Prior to kilo, we created a static 'haproxy' MySQL user for haproxy.
    In kilo and onwards, we now have a user variable called
    galera_monitoring_user which defaults to monitoring. This commit
    updates scripts/run-upgrade.sh to remove the old haproxy user to
    ensure we don't have a defunct MySQL user lying about.

    Change-Id: I071596c4c6d881d5304fc49a7cf752d5489ee19b
    Closes-Bug: #1472673

Changed in openstack-ansible:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (kilo)

Reviewed: https://review.openstack.org/200742
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=425eccab0efee2282926fe7f9e8e43a6a1232d3a
Submitter: Jenkins
Branch: kilo

commit 425eccab0efee2282926fe7f9e8e43a6a1232d3a
Author: Matt Thompson <email address hidden>
Date: Wed Jul 8 17:00:25 2015 +0100

    Remove haproxy galera monitoring user

    Prior to kilo, we created a static 'haproxy' MySQL user for haproxy.
    In kilo and onwards, we now have a user variable called
    galera_monitoring_user which defaults to monitoring. This commit
    updates scripts/run-upgrade.sh to remove the old haproxy user to
    ensure we don't have a defunct MySQL user lying about.

    Change-Id: I071596c4c6d881d5304fc49a7cf752d5489ee19b
    Closes-Bug: #1472673
    (cherry picked from commit c51aaaccac3fca5cc202c7784ecb9f7a9490d5d0)

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

This issue was fixed in the openstack/openstack-ansible 11.2.11 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 11.2.12

This issue was fixed in the openstack/openstack-ansible 11.2.12 release.

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.