Joe Talerico 4afe7149f3 Undercloud Checks
We have been ignoring issues with the undercloud. We need to start
reporting issues we find with the undercloud machine.

Change-Id: I3670b839aac8a8fc0867f16785cdb87a6c1a42e8
2016-03-10 16:42:02 -05:00

44 lines
1.2 KiB
Django/Jinja

# Browbeat generated bug report
{% for host in groups['undercloud'] %}
---------------------------------------
| Issues for host : {{ host }}
---------------------------------------
{% for check in hostvars[host]['checks'] %}
{% if hostvars[host][check]['failed'] == true %}
Bug: {{ check }}
Name: {{ hostvars[host]['checks'][check]['name'] }}
URL: {{ hostvars[host]['checks'][check]['url'] }}
{% endif %}
{% endfor %}
{% endfor %}
{% for host in groups['controller'] %}
---------------------------------------
| Issues for host : {{ host }}
---------------------------------------
{% for check in hostvars[host]['checks'] %}
{% if hostvars[host][check]['failed'] == true %}
Bug: {{ check }}
Name: {{ hostvars[host]['checks'][check]['name'] }}
URL: {{ hostvars[host]['checks'][check]['url'] }}
{% endif %}
{% endfor %}
{% endfor %}
{% for host in groups['compute'] %}
---------------------------------------
| Issues for host : {{ host }}
---------------------------------------
{% for check in hostvars[host]['checks'] %}
{% if hostvars[host][check]['failed'] == true %}
Bug: {{ check }}
Name: {{ hostvars[host]['checks'][check]['name'] }}
URL: {{ hostvars[host]['checks'][check]['url'] }}
{% endif %}
{% endfor %}
{% endfor %}