CI: add a message for fluentd string match function

Change-Id: Ie3ddf7819934d2b100867f29ac9a9395c854d9f7
This commit is contained in:
Michal Nasiadka 2024-01-04 09:22:40 +01:00
parent 16928ceddf
commit 36b8bfd2f6

View File

@ -94,6 +94,7 @@ for string in "${fluentchecks[@]}"; do
fluentd_file=/tmp/logs/kolla/fluentd-errors.log
if check_fluentd_log_file_for_content $fluentd_log_file "$string" >/dev/null; then
any_critical=1
echo "(critical) Found some error log messages in fluentd logs. Matches in $fluentd_file"
echo "$string" >> $fluentd_file
check_fluentd_log_file_for_content $fluentd_log_file "$string" >> $fluentd_file
echo >> $fluentd_file