From b1521dbdb57007718efbafe3651dcc62ac634368 Mon Sep 17 00:00:00 2001
From: Jeremy Stanley <fungi@yuggoth.org>
Date: Sun, 7 Feb 2021 17:47:44 +0000
Subject: [PATCH] Report initial node filesystem sizes/utilization

Change Iba195e7c5cec372c6ba4daf7059da5b6fb6740ec implemented
collection of output for `df -i` (inode counts) and `df -m`
(megabytes data) in validate-host, but did not add them to the
report file template. Correct this oversight so that the collected
information will be included in that file.

Change-Id: I8c2c4a90f18394a04fde84355a89a15bf5aa66b4
---
 roles/validate-host/templates/zuul-info.j2 | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/roles/validate-host/templates/zuul-info.j2 b/roles/validate-host/templates/zuul-info.j2
index eb3dce097..6e6116fe9 100644
--- a/roles/validate-host/templates/zuul-info.j2
+++ b/roles/validate-host/templates/zuul-info.j2
@@ -51,4 +51,17 @@ Route to Known Host v6
 ======================
 Known Host: {{ zuul_site_traceroute_host }}
 {{ zdi.traceroute_v6 }}
+
+{% endif %}
+{% if 'df_i' in zdi %}
+Initial FS Inode Counts
+=======================
+{{ zdi.df_i }}
+
+{% endif %}
+{% if 'df_m' in zdi %}
+Initial FS Utilization
+======================
+{{ zdi.df_m }}
+
 {% endif %}