gzip, not xz

xz may cause POST_FAILUREs due to memory pressure [1].

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-April/021609.html

Change-Id: I2ea3175ecf2508b62640bfffdd798d7072e55550
This commit is contained in:
Radosław Piliszek 2021-04-06 14:15:34 +00:00
parent 0de8a5534f
commit 6f2c807bfa
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@
cmd: | cmd: |
journalctl -o export \ journalctl -o export \
--since="$(cat {{ devstack_base_dir }}/log-start-timestamp.txt)" \ --since="$(cat {{ devstack_base_dir }}/log-start-timestamp.txt)" \
| xz --threads=0 - > {{ stage_dir }}/logs/devstack.journal.xz | gzip > {{ stage_dir }}/logs/devstack.journal.gz
- name: Save journal README - name: Save journal README
become: true become: true

View File

@ -7,7 +7,7 @@ devstack run.
To use it, you will need to convert it so journalctl can read it To use it, you will need to convert it so journalctl can read it
locally. After downloading the file: locally. After downloading the file:
$ /lib/systemd/systemd-journal-remote <(xzcat ./devstack.journal.xz) -o output.journal $ /lib/systemd/systemd-journal-remote <(zcat ./devstack.journal.gz) -o output.journal
Note this binary is not in the regular path. On Debian/Ubuntu Note this binary is not in the regular path. On Debian/Ubuntu
platforms, you will need to have the "systemd-journal-remote" package platforms, you will need to have the "systemd-journal-remote" package