Ceph report fixes and Ceph bench beta 0.1
- Ceph stats collection
- Updated Ceph results averages calculations
Fixes:
- Fixed huge PG dump copying >30MB jsons
- Fixes for the fio-runner constants
Related-PROD: PROD-36669
Change-Id: Id8e250f626dfdaecc12ad005b61d03a21c9e6c4e
diff --git a/templates/ceph_info_html.j2 b/templates/ceph_info_html.j2
index eafa2fa..9dca52a 100644
--- a/templates/ceph_info_html.j2
+++ b/templates/ceph_info_html.j2
@@ -884,7 +884,7 @@
<td class="dev_param centered">Smart Status</td>
<td class="dev_param centered">Smart data</td>
</tr>
- {% for _d, _p in dh.items() | sort(attribute='0') %}
+ {% for _d, _p in dh.items() | sort(attribute='0') if _p %}
<tr class="node">
<td class="dev_name">
<div class="text">{{ _p['model_name'] }}, {{ _p['serial_number'] }}</div><br>