zuul-jobs/roles/validate-host/templates/zuul-info.j2
Jeremy Stanley b1521dbdb5 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
2021-02-07 18:25:32 +00:00

68 lines
1.3 KiB
Django/Jinja

{% if zdi.image_manifest_files %}
Image Information
=================
{% for item in zdi.image_manifest_files %}
{{ item.filename }}
{{ item.underline }}
{{ item.content }}
{% endfor %}
{% endif %}
{% if 'uname' in zdi %}
Host & kernel
=============
{{ zdi.uname }}
{% endif %}
{% if 'network_interfaces' in zdi %}
Network interface addresses
===========================
{{ zdi.network_interfaces }}
{% endif %}
{% if 'network_routing_v4' in zdi %}
Network routing tables v4
=========================
{{ zdi.network_routing_v4 }}
{% endif %}
{% if 'network_routing_v6' in zdi %}
Network routing tables v6
=========================
{{ zdi.network_routing_v6 }}
{% endif %}
{% if 'network_neighbors' in zdi %}
Network neighbors
=================
{{ zdi.network_neighbors }}
{% endif %}
{% if 'traceroute_v4' in zdi %}
Route to Known Host v4
======================
Known Host: {{ zuul_site_traceroute_host }}
{{ zdi.traceroute_v4 }}
{% endif %}
{% if 'traceroute_v6' in zdi %}
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 %}