Upstart continually tries to restart mysql preventing us from copying over log files and fixing mysql

Bug #1110895 reported by Nikhil Manchanda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Undecided
Nikhil Manchanda

Bug Description

Currently the blackbox tests always fail because the restart tests are consistently failing.

Upon investigating, I found that after the "Restart MySQL via the REST when it should fail, assert it does." test messes up mysql logs, upstart continuously tries to restart mysql unsuccessfully over and over again. It fails every time, but doesn't give up. As a side effect of this, the erroneous logfiles are locked and cannot be deleted by the "fixmysql()" part of the subsequent test.

This causes mysql to never be fixed, and mysql does not start back up. Most subsequent tests fail because of this.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to reddwarf (master)

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

Changed in reddwarf:
assignee: nobody → Nikhil (slicknik)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to reddwarf (master)

Reviewed: https://review.openstack.org/21125
Committed: http://github.com/stackforge/reddwarf/commit/498dcb0d7b16d9d793447a0db94f572a942a6474
Submitter: Jenkins
Branch: master

commit 498dcb0d7b16d9d793447a0db94f572a942a6474
Author: Nikhil Manchanda <email address hidden>
Date: Mon Feb 4 07:56:33 2013 -0800

    Prevent Upstart from restarting guest in Restart tests

    Stop the mysql service explicitly during the blackbox restart
    tests, so that upstart does not try to re-spawn the mysql process
    and cause test failures. This is needed for the blackbox tests to
    successfully run.

    Fixes bug: 1110895

    Change-Id: I44cfeac3350913af5b6cb05b8b3373ab84c448f7

Changed in reddwarf:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in trove:
milestone: none → havana-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: havana-2 → 2013.2
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.