Add MySQL configs and log-files to the diagnostic snapshot

This will be added to the diagnostic snapshot:
 - /etc/mysql/*
 - /var/log/mysql/*
 - commands/mysql_resources.txt
The file commands/mysql_resources.txt will contain the listing files
from the /var/lib/mysql/ and /var/run/mysqld/ directories.

Change-Id: Iddaa9e0d51a02e0d2962dc797c4c1d1cd35b949e
Closes-Bug: #1550984
(cherry picked from commit 9d810891ff)
Signed-off-by: Maksim Malchuk <mmalchuk@mirantis.com>
This commit is contained in:
Maksim Malchuk 2016-02-28 22:26:49 +03:00
parent df6abf1019
commit 236b0c0952
1 changed files with 7 additions and 0 deletions

View File

@ -795,6 +795,13 @@ DUMP:
to_file: rabbitmqctl_report.txt
- type: file
path: /var/log/neutron/neutron-ns-metadata-proxy*.log
- type: dir
path: /etc/mysql
- type: dir
path: /var/log/mysql
- type: command
command: "ls -la /var/lib/mysql/ /var/run/mysqld/"
to_file: mysql_resources.txt
slave:
hosts: []