Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1545011 - [trello EuQHe0LT]Clear CPU Request Target value will remove CPU Request Target input on DC edit autoscaler page
[trello EuQHe0LT]Clear CPU Request Target value will remove CPU Request Targe...
Status: CLOSED CURRENTRELEASE
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console (Show other bugs)
3.9.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.9.0
Assigned To: bpeterse
Yadan Pei
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-02-13 22:03 EST by Yadan Pei
Modified: 2018-03-27 05:46 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-02-22 08:01:20 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
bpeterse: needinfo+


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.9 RPM Release Advisory 2018-03-28 14:06:38 EDT

  None (edit)
Description Yadan Pei 2018-02-13 22:03:12 EST
Description of problem:
Create HPA on web console use new v1 apiversion and set CPU Request as 80% by default, on edit autoscaler page, clear the CPU Request Target value will remove the input

Version-Release number of selected component (if applicable):
v3.9.0-0.42.0 

How reproducible:
ALways

Steps to Reproduce:
1.Create a project with cakephp-mysql template
2.Create AutoScaler for one of DC ' cakephp-mysql-persistent'
3.Edit Autoscaler after a HPA is created
4.On edit autoscaler page, clear the value in CPU Request Target with backspace 

Actual results:
4.After all values are cleared, CPU Request Target input was removed from page

Expected results:
4.Should keep CPU Request Target for input, and it's the target we aim at
"should not break if it sees an HPA with a targetCPUPercentage set to 0" in trello card EuQHe0LT

Additional info:
Comment 1 bpeterse 2018-02-14 09:52:14 EST
Let's see, the interpretation of "should not break" was fairly literal, the editor previously only handled the v1 API so getting back v2beta1 objects shouldn't break it [render the page unusable/unresponsive or throw an error]. 

We now tolerate the newer API, but let me look at this & make sure it works as expected.
Comment 2 bpeterse 2018-02-14 12:16:40 EST
PR opened: https://github.com/openshift/origin-web-console/pull/2802
Comment 3 bpeterse 2018-02-15 10:33:36 EST
PR merged.
Comment 5 XiaochuanWang 2018-02-21 21:45:37 EST
This is not reproduced on 
OpenShift Master:         v3.9.0-0.45.0 
OpenShift Web Console:    v3.9.0-0.47.0

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