From 891568d6d76d2545c465e2b8cadc010ca065c0a6 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Mon, 23 Dec 2024 17:35:32 +0100 Subject: CI: Add unreadable files to check-logs.sh fluentd emits a warn message when it can't read a file "unreadable. It is excluded and would be examined next time." Depends-On: https://review.opendev.org/c/openstack/kolla/+/939055 Depends-On: https://review.opendev.org/c/openstack/kolla/+/939088 Change-Id: I4313b6918c381ec5e79e78df2f9a0cbaf25df53e --- tests/get_logs.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/get_logs.sh') diff --git a/tests/get_logs.sh b/tests/get_logs.sh index 10f64aea5..55dbca03f 100644 --- a/tests/get_logs.sh +++ b/tests/get_logs.sh @@ -28,6 +28,8 @@ copy_logs() { elif [ "$CONTAINER_ENGINE" = "podman" ]; then cp -rL /etc/containers/ ${LOG_DIR}/system_configs/ fi + # List all permissions to log files + ls -lLR /var/log/kolla > ${LOG_DIR}/system_logs/ls_lr_var_log_kolla.txt # Remove /var/log/kolla link to not double the data uploaded unlink /var/log/kolla cp -rvnL /var/log/* ${LOG_DIR}/system_logs/ -- cgit v1.2.3