Bug 1389691

Summary: Wrong links on Set resource requests and limits
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.4.0CC: aos-bugs, jforrest, jokerman, mmccomas, tdawson
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-12 13:02:18 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 Yadan Pei 2016-10-28 09:14:55 UTC
Description of problem:
When add autoscaler for this DC does not have any container with CPU request set,there is warning message:
This deployment config does not have any containers with a CPU request set. Autoscaling will not work without a CPU request. Set resource requests and limits

"Set resource requests and limits" is a link and it should links to Set Resource Limits page, but now clicking on this link directs to error page "An error has occurred.Kind or name parameter missing."

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

How reproducible:
Always

Steps to Reproduce:
1.Create DC
# oc run myrun  --image=aosqe/hello-openshift
2.Go to Applications -> Deployments -> myrun -> Add Autoscaler -> set Max Pods -> Create
3.Check autoscaler info on DC page, there is warning info on page:
This deployment config does not have any containers with a CPU request set. Autoscaling will not work without a CPU request. Set resource requests and limits
4.Click "Set resource requests and limits" link in warning info

Actual results:
4.Directs to error page, follow info given:
An error has occurred
Kind or name parameter missing.

Expected results:
4.Clicking on "Set resource requests and limits" link should redirects to Set Resource Limits page

Additional info:

Comment 2 Troy Dawson 2016-11-02 17:59:57 UTC
This has been merged into ose and is in OSE v3.4.0.19 or newer.

Comment 4 Yadan Pei 2016-11-03 02:56:23 UTC
Checked against v3.4.0.19+346a31d

Now links in warning info changed to "Edit resource requests and limits", clicking it will redirect to Edit Resource Limits page

Move to VERIFIED