MySQL OCF script writes errors to the log

Bug #1540362 reported by Sergii Golovatiuk
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Sergii Golovatiuk
8.0.x
Invalid
Medium
Denis Meltsaykin

Bug Description

How to reproduce:

1. Deploy environment
2. Check the log. It will contain

<27>Feb 1 11:58:47 node-1 ocf-mysql-wss: ERROR: Setup problem: couldn't find command: /usr/bin/mysqld_safe
<27>Feb 1 11:59:23 node-1 ocf-mysql-wss: ERROR: MySQL is not running
<27>Feb 1 11:59:23 node-1 ocf-mysql-wss: ERROR: GTID have wrong format: :
<27>Feb 1 11:59:31 node-1 ocf-mysql-wss: ERROR: Not enough arguments [1] to ocf_log.
<27>Feb 1 11:59:31 node-1 ocf-mysql-wss: ERROR: Not enough arguments [1] to ocf_log.
<27>Feb 1 11:59:31 node-1 ocf-mysql-wss: ERROR: Not enough arguments [1] to ocf_log.
<27>Feb 1 11:59:31 node-1 ocf-mysql-wss: ERROR: Not enough arguments [1] to ocf_log.
<27>Feb 1 12:00:31 node-1 ocf-mysql-wss: ERROR: Not enough arguments [1] to ocf_log.
<27>Feb 1 12:00:31 node-1 ocf-mysql-wss: ERROR: Not enough arguments [1] to ocf_log.
<27>Feb 1 12:01:32 node-1 ocf-mysql-wss: ERROR: Not enough arguments [1] to ocf_log.
<27>Feb 1 12:01:32 node-1 ocf-mysql-wss: ERROR: Not enough arguments [1] to ocf_log.
<27>Feb 1 12:02:32 node-1 ocf-mysql-wss: ERROR: Not enough arguments [1] to ocf_log.
<27>Feb 1 12:02:32 node-1 ocf-mysql-wss: ERROR: Not enough arguments [1] to ocf_log.
<27>Feb 1 12:03:32 node-1 ocf-mysql-wss: ERROR: Not enough arguments [1] to ocf_log.
<27>Feb 1 12:03:32 node-1 ocf-mysql-wss: ERROR: Not enough arguments [1] to ocf_log.
<27>Feb 1 12:04:32 node-1 ocf-mysql-wss: ERROR: Not enough arguments [1] to ocf_log.
<27>Feb 1 12:04:32 node-1 ocf-mysql-wss: ERROR: Not enough arguments [1] to ocf_log.

Expected: log without errors

Revision history for this message
Sergii Golovatiuk (sgolovatiuk) wrote :

Reproduced on 8.0 #509
Reproduced on 9.0-liberty #164

Changed in fuel:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Sergii Golovatiuk (sgolovatiuk)
milestone: none → 9.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/274652

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

Reviewed: https://review.openstack.org/274652
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=41828f8b14b4951f4eba294bddcee059420b5106
Submitter: Jenkins
Branch: master

commit 41828f8b14b4951f4eba294bddcee059420b5106
Author: Sergii Golovatiuk <email address hidden>
Date: Mon Feb 1 14:26:07 2016 +0100

    Fix typo with ocf_log

    mysql-wss invokes ocf_log with wrong number of parameters. This change
    fixes the behaviour of mysql-wss logging

    Change-Id: I3187d302bb728548bbb53d5b5afa607da82b426f
    Closes-Bug: 1540362

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Nastya Urlapova (aurlapova) wrote :

Snapshot after successful deployment doesn't contain messages from Sergey's description.

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

Closing as Invalid for 8.0-updates, since all the needed fixes are covered by https://bugs.launchpad.net/fuel/+bug/1583173 which is targeted to MU-4.

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.