OCF doesn't start mysql if files in datadir have wron permissions

Bug #1583176 reported by Sergii Golovatiuk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Sergii Golovatiuk

Bug Description

How to reproduce:

pkill -9 mysqld; chown -R root:root /var/lib/mysql

expected:
pacemaker should start mysql

got:
failed service.

Tags: area-library
Changed in fuel:
importance: Undecided → Medium
assignee: nobody → Sergii Golovatiuk (sgolovatiuk)
milestone: none → 10.0
Changed in fuel:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/318038
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=435ae10a463f1f45b9df1007f6a97b29b94bc79d
Submitter: Jenkins
Branch: master

commit 435ae10a463f1f45b9df1007f6a97b29b94bc79d
Author: Sergii Golovatiuk <email address hidden>
Date: Wed May 18 14:46:17 2016 +0200

    Set owner/group for datadir

    innobackupex --copy-back doesn't set the correct permission for files in
    datadir. This requires operator to chown -R of all files manually. This
    changes adds this check to OCF to eliminate any human mistakes.

    Closes-Bug: 1583176
    Change-Id: I0a039d0649b1af3626c03ebe9a00e42833231dc0
    Signed-off-by: Sergii Golovatiuk <email address hidden>

Changed in fuel:
status: In Progress → Fix Committed
Dmitry Pyzhov (dpyzhov)
tags: added: area-library
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.