Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1413842 - Unit drop-down choices are ignored in the web page to edit resource limits
Unit drop-down choices are ignored in the web page to edit resource limits
Status: CLOSED CURRENTRELEASE
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console (Show other bugs)
3.5.0
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Samuel Padgett
Yadan Pei
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-17 01:09 EST by Xingxing Xia
Modified: 2017-07-24 10 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-03-08 08:12:02 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0884 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.5 RPM Release Advisory 2017-04-12 18:50:07 EDT

  None (edit)
Description Xingxing Xia 2017-01-17 01:09:21 EST
Description of problem:
Unit drop-down choices are ignored in the web page to edit resource limits

Version-Release number of selected component (if applicable):
openshift v3.5.0.5+8f2840d

How reproducible:
Always

Steps to Reproduce:
1. Create DC
$ oc new-app openshift/hello-openshift
2. On DC page, click Actions --> Edit Resources Limits
3. Check unit choices
CPU: Choose Request unit "cores" from drop-down list, set value 1; set Limit value 512 milicores
Memory: Choose Request unit "GiB", set value 1; set Limit value 256 MiB
Then click Save

Actual results:
3. "Save" is not disabled.
After save, check the actual resources limits:
CPU: Request is set 1 milicores, i.e. "cores" is ignored!
Memory: Request is set 1 MiB. In fact, except MiB, the remaining units MB/GB/GiB are ignored

Expected results:
3. "Save" is disabled
In page, CPU and Memory should both prompt error message "Limit can't be less than request ..." as before

Additional info:
Comment 2 Troy Dawson 2017-01-20 18:01:13 EST
This has been merged into ocp and is in OCP v3.5.0.7 or newer.
Comment 3 Xingxing Xia 2017-01-21 22:22:52 EST
Verified in OCP v3.5.0.7. Steps in comment 0 now can get the written expected result. And it can save correct values into DC YAML when page saves CPU/Memory with various units. Thanks!

Note You need to log in before you can comment on or make changes to this bug.