Bug 1000580

Summary: Quota precision is too precise
Product: OKD Reporter: Clayton Coleman <ccoleman>
Component: ContainersAssignee: Jhon Honce <jhonce>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.xCC: qiuzhang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-29 12:46:48 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:

Description Clayton Coleman 2013-08-23 18:17:37 UTC
The message:

  Warning gear 42xxxxxxxx is using 97.70534983493849384 of disk quota

could be formatted a bit better.  Suggest:

  Warning: gear 42xxxxxxxx is using 97.7% of the disk quota.

Comment 1 openshift-github-bot 2013-08-23 19:44:04 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/72839380aff69be280681b3c3c468e72b6402b31
Bug 1000580 - Reduce quota precision

* Format quota to %3.1f%%

Comment 2 Qiushui Zhang 2013-08-26 02:49:32 UTC
Tested on devenv_3706.

Currently, the following message is shown:
Warning gear 408984700df911e3bc7a22000ab3288a is using 94.8% of disk quota

So mark it as fixed.