devstack/roles/export-devstack-journal
Clark Boylan 2700bf88a5 Gzip openstack service logs
These files are quite large and disk space is limited so make sure we
compress the log files before copying them to storage. Additionally
os-loganalyze will only operate on gzipped log files so this should fix
os-loganalyze with tempest-full job's logs.

This is mostly a check to confirm everything works as expected but we
probably want to move the gzip step into the log publication roles so
that all log files end up compressed.

Change-Id: Ie87962428e0ca755c211cc5e664a14a9f2a79ac4
2018-01-04 10:17:24 -08:00
..
defaults Use stage_dir instead of /opt/stack 2017-12-18 18:21:24 +00:00
tasks Gzip openstack service logs 2018-01-04 10:17:24 -08:00
README.rst Use stage_dir instead of /opt/stack 2017-12-18 18:21:24 +00:00

README.rst

Export journal files from devstack services

Export the systemd journal for every devstack service in native journal format as well as text. Also, export a syslog-style file with kernal and sudo messages.

Writes the output to the logs/ subdirectory of stage_dir.

Role Variables