- Run diag commands in bash -c instead of using tee
To try and make things a bit quieter and fix command not found
errors.
- Only recover /var/tmp/packstack/latest, /var/tmp/packstack will
contain a copy of the puppet modules and these take a long time
to recover, zip and upload.
- Only recover /etc/httpd/conf.d, we don't really need the rest
- Send testrepository.subunit to the root of /logs for
openstack health monitoring
- MySQL logs are really in /var/log/mariadb, not /var/log/mysql
- MySQL config is really in /etc/my.cnf.d, not /etc/mysql
- Also recover dstat.log for tracing resource consumption
- Use -L switch on cp to copy symlink'd contents
(i.e /var/tmp/packstack/latest)
- Use -f switch on gzip for idempotency if/when run twice so that
it overwrites existing logs and compresses the new logs.
Change-Id: Ia79f7dac5a33d2749e73b9a0940e33b94f2430f9