Bug 1505289

Summary: Machine error message when minpod greater than maxpod in the process of add autoscale
Product: OpenShift Container Platform Reporter: shahan <hasha>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: low    
Version: 3.7.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: 3.7.0   
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-10-31 13:00:20 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 shahan 2017-10-23 08:32:49 UTC
Description of problem:
  Machine error message when 'minpod' greater than 'maxpod' in the process of add autoscale 

Version-Release number of selected component (if applicable):
  v3.7.0-0.158.0

How reproducible:
  Always

Steps to Reproduce:
1. Login in web console and create app. 
2. Goto dc page and add autoscale
3. Set Min Pods and Max Pods, and the former greater than the latter

Actual results:
 will prompt "Max pods must be greater than or equal to min pods, which is {{autoscaling.minReplicas || 1}" includes the value of attribute "ng-mode" in html element
Expected results:
 It's should be simple and easy to understand

Additional info:

Comment 2 openshift-github-bot 2017-10-23 13:36:34 UTC
Commits pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/be415efeb0dacb60423d7a8ad6419a01b2c4cc64
Bug 1505289 - Fix visible expression in HPA error message

Fix a visible AngularJS expression when max pods is smaller than min
pods in the edit autoscaler form.

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

https://github.com/openshift/origin-web-console/commit/1c7534ff7b829fd78820111c90bccdeeb915b3fb
Merge pull request #2334 from spadgett/max-pods-err-msg

Automatic merge from submit-queue.

Bug 1505289 - Fix visible expression in HPA error message

Fix a visible AngularJS expression when max pods is smaller than min pods in the edit autoscaler form.

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

Comment 4 shahan 2017-10-31 03:01:52 UTC
Checked this issue on OCP v3.7.0-0.184.0, the warning info shows exact value of min_pods instead of codes. Changed status to verified.