MySQL action stop fails to detect a myslqd process running if no a pidfile

Bug #1596434 reported by Bogdan Dobrelya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Bogdan Dobrelya
Mitaka
Fix Released
High
Alex Schultz

Bug Description

Whithout a pidfile, the MySQL OCF RA action stop reports SUCCESS leaving the mysqld process running. This ends up it is unable to start ever as it produces "Already in use" errors.

tags: added: galera
Changed in fuel:
importance: Undecided → High
milestone: none → 10.0
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/334325

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/334325
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=0a130c821d9e98092046d34f73c4b11f7f8ec827
Submitter: Jenkins
Branch: master

commit 0a130c821d9e98092046d34f73c4b11f7f8ec827
Author: Bogdan Dobrelya <email address hidden>
Date: Mon Jun 27 09:42:51 2016 +0200

    MySQL OCF action stop, just to stop

    Just do stop, if called. Do not report success
    from guessing the current state, ensure it stopped
    instead.

    Closes-bug: #1596434

    Change-Id: I97b2e47e8810d53f0455aa8b4852fd76b03ecebc
    Signed-off-by: Bogdan Dobrelya <email address hidden>

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/348065

Dmitry Pyzhov (dpyzhov)
tags: added: 9.1-proposed
Dmitry Pyzhov (dpyzhov)
no longer affects: fuel/newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/mitaka)

Reviewed: https://review.openstack.org/348065
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=55e2e4e3892547a64a33661d092731921a119fa8
Submitter: Jenkins
Branch: stable/mitaka

commit 55e2e4e3892547a64a33661d092731921a119fa8
Author: Bogdan Dobrelya <email address hidden>
Date: Mon Jun 27 09:42:51 2016 +0200

    MySQL OCF action stop, just to stop

    Just do stop, if called. Do not report success
    from guessing the current state, ensure it stopped
    instead.

    Closes-bug: #1596434

    Change-Id: I97b2e47e8810d53f0455aa8b4852fd76b03ecebc
    Signed-off-by: Bogdan Dobrelya <email address hidden>
    (cherry picked from commit 0a130c821d9e98092046d34f73c4b11f7f8ec827)

tags: added: on-verification
Revision history for this message
Andrey Lavrentyev (alavrentyev) wrote :

Verified on 9.1 snapshot #260

[root@nailgun ~]# shotgun2 short-report
cat /etc/fuel_build_id:
 495
cat /etc/fuel_build_number:
 495
cat /etc/fuel_release:
 9.0
cat /etc/fuel_openstack_version:
 mitaka-9.0

UBUNTU_MIRROR_ID=ubuntu-2016-08-03-174238
CENTOS_MIRROR_ID=centos-7.2.1511-2016-05-31-083834
MOS_UBUNTU_MIRROR_ID=9.0-2016-09-14-100323
MOS_CENTOS_OS_MIRROR_ID=os-2016-06-23-135731
MOS_CENTOS_PROPOSED_MIRROR_ID=proposed-2016-09-14-100323
MOS_CENTOS_UPDATES_MIRROR_ID=updates-2016-06-23-135916
MOS_CENTOS_HOLDBACK_MIRROR_ID=holdback-2016-06-23-140047
MOS_CENTOS_HOTFIX_MIRROR_ID=hotfix-2016-07-18-162958
MOS_CENTOS_SECURITY_MIRROR_ID=security-2016-06-23-140002

tags: removed: on-verification
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.