Skip to content

Commit

Permalink
Merge "CI: fetch systemd configuration including kolla-generated unit…
Browse files Browse the repository at this point in the history
… files" into stable/yoga
  • Loading branch information
Zuul authored and openstack-gerrit committed Aug 25, 2023
2 parents 1b6ca91 + 3794929 commit 19aebf9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roles/kayobe-diagnostics/files/get_logs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ copy_logs() {
cp -r /etc/apt/sources.list.d/ ${LOG_DIR}/system_logs/
fi

if [[ -d /etc/systemd/ ]]; then
cp -rL /etc/systemd/ ${LOG_DIR}/system_logs/
fi

df -h > ${LOG_DIR}/system_logs/df.txt
# Gather disk usage statistics for files and directories larger than 1MB
du -d 5 -hx / | sort -hr | grep '^[0-9\.]*[MGT]' > ${LOG_DIR}/system_logs/du.txt
Expand Down

0 comments on commit 19aebf9

Please sign in to comment.