Bug 1232720 - Add /var/log/mysqld.log to sos mysql/mariadb plugin
Summary: Add /var/log/mysqld.log to sos mysql/mariadb plugin
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: sos
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ga
: 7.0 (Kilo)
Assignee: Lee Yarwood
QA Contact: Ofer Blaut
URL:
Whiteboard:
Depends On: 1210906 1237208
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-17 11:30 UTC by Alan Pevec
Modified: 2015-08-05 13:27 UTC (History)
13 users (show)

Fixed In Version: sos-3.2-16.el7ost.2
Doc Type: Bug Fix
Doc Text:
When using the sosreport utility on a Pacemaker node, one of the MariaDB MySQL server log-files was not properly collected. With this update, the underlying code has been corrected, and the log-file is now collected as expected.
Clone Of: 1210906
Environment:
Last Closed: 2015-08-05 13:27:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1548 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2015-08-05 17:07:06 UTC

Description Alan Pevec 2015-06-17 11:30:48 UTC
+++ This bug was initially created as a clone of Bug #1210906 +++

Description of problem:

We frequently get SOS reports where we'd like to see the status of mariadb-galera running under pacemaker, and current installer configurations log this status in the file /var/log/mysqld.log; however, this file is not present.

While there is a /var/log/mariadb/mariadb.log that we are already getting, this is typically only populated during the initial server configuration phase; the actual galera bootstrapping / clustering ends up in /var/log/mysqld.log since Mariadb is run under Pacemaker OCF resource agents for the full run, instead of via systemd which is only during setup.

...SNIP...

--- Additional comment from Pavel Moravec on 2015-04-17 11:51:42 EDT ---

Upstream issue: https://github.com/sosreport/sos/issues/554

--- Additional comment from Pavel Moravec on 2015-05-31 08:01:28 EDT ---

Committed to upstream as https://github.com/sosreport/sos/commit/f8ab86cbd2302812cd9160bec4478cb4f84e1442

Comment 3 Jon Schlueter 2015-07-08 14:37:36 UTC
adding blocker flag for OSP 7 GA as this will make our lives a lot easier for bug report if this makes it in.

Comment 6 Ofer Blaut 2015-07-19 11:23:01 UTC
[root@overcloud-controller-2 tmp]# ll sosreport-overcloud-controller-2.localdomain-20150719070722/var/log/mysqld.log 
-rw-r-----. 1 mysql mysql 19557 Jul 19 04:51 sosreport-overcloud-controller-2.localdomain-20150719070722/var/log/mysqld.log


sos-3.2-16.el7ost.2.noarch

Comment 8 errata-xmlrpc 2015-08-05 13:27:22 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2015:1548


Note You need to log in before you can comment on or make changes to this bug.