Bug 1770348
| Summary: | Some NodeFilesystem* alerts display wrong percentage | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Seth Jennings <sjenning> | ||||
| Component: | Monitoring | Assignee: | Pawel Krupa <pkrupa> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Junqi Zhao <juzhao> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.2.0 | CC: | alegrand, anpicker, erooth, fbranczy, kakkoyun, lcosic, mloibl, pkrupa, surbania | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 4.3.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: |
Filesystem usage has been wrongly reported as a value between 0 and 1 in OpenShift console. With the fix provided here the filesystem usage is now correctly reported as a percentage value between 0 and 100%.
|
Story Points: | --- | ||||
| Clone Of: | |||||||
| : | 1770779 (view as bug list) | Environment: | |||||
| Last Closed: | 2020-01-23 11:11:45 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1770779 | ||||||
| Attachments: |
|
||||||
Created attachment 1634107 [details] warning.png Description of problem: Alert message value is not a percentage but is printed as one Version-Release number of selected component (if applicable): 4.2.2 How reproducible: Always Steps to Reproduce: 1. Fill node filesystem to within alert levels 2. Observe alert message 3. Actual results: Filesystem on /dev/xvda3 at ip-10-0-143-157 has only 0.32% available space left and is filling up. Expected results: Filesystem on /dev/xvda3 at ip-10-0-143-157 has only 32% available space left and is filling up. Additional info: see attached alert message on web console vs actually filesystem usage [core@ip-10-0-143-157 ~]$ df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 7.8G 0 7.8G 0% /dev tmpfs 7.9G 0 7.9G 0% /dev/shm tmpfs 7.9G 7.1M 7.9G 1% /run tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup /dev/xvda3 15G 11G 4.9G 68% /sysroot <-- /dev/xvda2 976M 144M 765M 16% /boot tmpfs 1.6G 0 1.6G 0% /run/user/1000