Bug 1634299
| Summary: | Humanize KubePersistentVolumeFullInFourDays annotation | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Justin Pierce <jupierce> |
| Component: | Monitoring | Assignee: | Frederic Branczyk <fbranczy> |
| Status: | CLOSED ERRATA | QA Contact: | Junqi Zhao <juzhao> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.11.0 | CC: | anpicker, sponnaga |
| Target Milestone: | --- | ||
| Target Release: | 4.1.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | 4.1.2 | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-06-19 06:45:34 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Great idea Justin. Thanks. Tracked here: https://github.com/kubernetes-monitoring/kubernetes-mixin/issues/100 This has been released as part of 4.1. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:1382 |
Description of problem: The messages for KubePersistentVolumeFullInFourDays include non-humanized bytes counts: >>>> Based on recent sampling, the persistent volume claimed by php-storage in namespace kube-system is expected to fill up within four days. Currently 6.0686336e+07 bytes are available. <<<< Current message: "Based on recent sampling, the persistent volume claimed by {{ $labels.persistentvolumeclaim }} in namespace {{ $labels.namespace }} is expected to fill up within four days. Currently {{ $value }} bytes are available." Piping through humanize1024 should improve usability. Version-Release number of selected component (if applicable): v.3.11.16 How reproducible: 100% Expected results: Should MB/GB/etc would be more effective than scientific notation. Additional info: Noticed in KubePersistentVolumeFullInFourDays, but there may be more messages which could use this.