Bug #27151
closedThe Host configuration chart shows 100% even if few hosts are not in sync or reporting.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1666324
Description of problem:
"Host configuration chart for Puppet" on Dashboard shows 100% ok, even though there are eg. 2 out of 1000 hosts in "out of sync".
The problem here is: When it says 100% ok, it should mean all - not almost all.
This problem is probably due to a roundup function that makes everything above and equal to 99.5% into 100% in the graph.
While the calculation is mathematically correct, it is pretty misleading, since you can not have fractions of a host.
- When 99.75% out of 1000 hosts are OK, it should show 99% and not 100%.
Version-Release number of selected component (if applicable):
Red Hat Satellite 6.3.4
How reproducible:
100%
Actual results:
When it says 100% ok, it should mean all whereas it is not the case here.
Expected results:
It should not show 100% if some host is still not proper this could mislead.