From e7915b65b765aeae1645ff67c295091ad3d3886f Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Sat, 6 Feb 2021 20:27:01 +0000 Subject: [PATCH] Collect initial node filesystem sizes/utilization Include calls to `df -i` (inode counts) and `df -m` (megabytes data) in validate-host, to aid in troubleshooting build failures where the builds start out with too little free space. This way the initial capacity and utilization of all available filesystems will be recorded with other basic node diagnostic data. Change-Id: Iba195e7c5cec372c6ba4daf7059da5b6fb6740ec --- roles/validate-host/library/zuul_debug_info.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/validate-host/library/zuul_debug_info.py b/roles/validate-host/library/zuul_debug_info.py index 65f57209e..405ea6d8a 100644 --- a/roles/validate-host/library/zuul_debug_info.py +++ b/roles/validate-host/library/zuul_debug_info.py @@ -27,6 +27,8 @@ command_map = { 'network_routing_v4': 'ip route show', 'network_routing_v6': 'ip -6 route show', 'network_neighbors': 'ip neighbor show', + 'df_i': 'df -i', + 'df_m': 'df -m', }