Monty Taylor | 36ddea3 | 2017-10-02 10:05:17 -0500 | [diff] [blame] | 1 | Export journal files from devstack services |
| 2 | |
Ian Wienand | 59ce1d9 | 2019-02-11 12:27:10 +1100 | [diff] [blame] | 3 | This performs a number of logging collection services |
Monty Taylor | 36ddea3 | 2017-10-02 10:05:17 -0500 | [diff] [blame] | 4 | |
Ian Wienand | 59ce1d9 | 2019-02-11 12:27:10 +1100 | [diff] [blame] | 5 | * Export the systemd journal in native format |
| 6 | * For every devstack service, export logs to text in a file named |
| 7 | ``screen-*`` to maintain legacy compatability when devstack services |
| 8 | used to run in a screen session and were logged separately. |
| 9 | * Export a syslog-style file with kernel and sudo messages for legacy |
| 10 | compatability. |
| 11 | |
| 12 | Writes the output to the ``logs/`` subdirectory of ``stage_dir``. |
Monty Taylor | 36ddea3 | 2017-10-02 10:05:17 -0500 | [diff] [blame] | 13 | |
| 14 | **Role Variables** |
| 15 | |
| 16 | .. zuul:rolevar:: devstack_base_dir |
| 17 | :default: /opt/stack |
| 18 | |
Andrea Frittoli (andreaf) | 290d9d8 | 2017-12-11 14:30:59 +0000 | [diff] [blame] | 19 | The devstack base directory. This is used to obtain the |
| 20 | ``log-start-timestamp.txt``, used to filter the systemd journal. |
| 21 | |
| 22 | .. zuul:rolevar:: stage_dir |
| 23 | :default: {{ ansible_user_dir }} |
| 24 | |
| 25 | The base stage directory. |