Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1457383

Summary: Web console erroneously displays project quota limit reached
Product: OpenShift Container Platform Reporter: Steven Walter <stwalter>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED DUPLICATE QA Contact: XiaochuanWang <xiaocwan>
Severity: high Docs Contact:
Priority: medium    
Version: 3.4.0CC: akaiser, aos-bugs, jokerman, mmccomas, spadgett
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-21 18:55:15 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:

Description Steven Walter 2017-05-31 15:34:02 UTC
Description of problem:
A project has a 1000 core quota limit, and this is automatically converted to 1k cores.  When the CPU request and CPU limits are evaluated, it determines that 1k cores limit is less than 36 cores request.  For the purposes of evaluating quota limit, it appears to be comparing the numerical values correctly.

Steps to Reproduce:
1. Set a resourcelimit to 1000 cores
2. Set a dc to request cpu: "2"

Actual results:
Reports above capacity

Expected results:
Under capacity

Additional info:

Comment 4 Samuel Padgett 2017-06-21 18:55:15 UTC
This bug has the same underlying cause as

https://bugzilla.redhat.com/show_bug.cgi?id=1413516

and has been fixed in 3.5.0. The web console was not correctly handling the `k` suffix for compute resources.

*** This bug has been marked as a duplicate of bug 1413516 ***