| Summary: | limit host agent load values to 2 decimal points | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Dave Johnson <dajohnso> |
| Component: | matahari | Assignee: | Russell Bryant <rbryant> |
| Status: | CLOSED NOTABUG | QA Contact: | Dave Johnson <dajohnso> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | CC: | matahari-maint |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-09-12 14:28:09 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This is expected behavior. The load average values are of type double (a floating point number). It is not unexpected to see a weird looking value like that. If you need rounding, it will have to be done locally. |
Description of problem: ======================================== Query the host agent and more often than not, at least one of the values rounds to 10 decimal points. load {'1': 0.050000000000000003, '5': 0.02, '15': 0.0} Version-Release number of selected component (if applicable): ================================================================================ v0.4.2-2 How reproducible: ======================================== 100%