With the current defaults, there is no *.log files matching the
templated rsync filter from the nested dirs. While the nested dirs
itself are allowed to the filter, but have nothing matching because of
that.
Allow *.log files into that filter in order to collect logs properly.
Additionally, exclude redundant or not much useful paths:
- overlay*
- root
- console*primary.log
- anaconda*
since the former increases the size of collected logs by ~35M, while
beeing mostly useless. And the others contain redundant things
or junk.
Reviewed: https:/ /review. opendev. org/759663 /git.openstack. org/cgit/ openstack/ ansible- role-collect- logs/commit/ ?id=0025e656e7d 8f944ec8bc2da7a b52b035256c2d9
Committed: https:/
Submitter: Zuul
Branch: master
commit 0025e656e7d8f94 4ec8bc2da7ab52b 035256c2d9
Author: Bogdan Dobrelya <email address hidden>
Date: Mon Oct 26 12:03:43 2020 +0100
Fix rsync mode filters to allow *.log files
With the current defaults, there is no *.log files matching the
templated rsync filter from the nested dirs. While the nested dirs
itself are allowed to the filter, but have nothing matching because of
that.
Allow *.log files into that filter in order to collect logs properly.
Additionally, exclude redundant or not much useful paths:
- overlay*
- root
- console*primary.log
- anaconda*
since the former increases the size of collected logs by ~35M, while
beeing mostly useless. And the others contain redundant things
or junk.
Depends-On: https:/ /review. opendev. org/760335 acca68c1dfe7a26 6172d3f2621
Change-Id: I3548e3b89c0654
Closes-bug: #1901508
Signed-off-by: Bogdan Dobrelya <email address hidden>