Bug 1326189

Summary: [userinterface_public_614]The path is not shown in pod template for httpGet probe
Product: OKD Reporter: Xingxing Xia <xxia>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, jforrest, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-19 13:54: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:

Description Xingxing Xia 2016-04-12 06:19:27 UTC
Description of problem:
When dc/pod/rc specifies probe like:
readinessProbe:
  httpGet:
    path: /healthz
    port: 8080
In pod template page, the path is only shown as "/".

Version-Release number of selected component (if applicable):
fork_ami_openshift3_userinterface_console_1.3_210

How reproducible:
Always

Steps to Reproduce:
1. oc login, create project
2. Create dc:
$ oc new-app openshift/hello-openshift --name app-dc
3. On web console deployment page, click "Actions" --> "Edit Health Checks" --> "Add Readiness Probe", choose "HTTP" type, input "/healthz" in "Path", then "Save"
4. Turn to deployment page, check "Readiness Probe" in "Template" part.

Actual results:
4. It displays: Readiness Probe: GET / on port 8080 1s timeout.
(Check dc yaml, the path is already updated to "/healthz")

Expected results:
4. Should display the path: ... GET /healthz ...

Additional info:

Comment 1 Samuel Padgett 2016-04-12 14:19:14 UTC
https://github.com/jwforres/origin/pull/46

Comment 2 Samuel Padgett 2016-05-09 13:32:55 UTC
(In reply to Samuel Padgett from comment #1)
> https://github.com/jwforres/origin/pull/46

This has since merged to origin/master.

Comment 3 Xingxing Xia 2016-05-10 04:54:58 UTC
Verified in openshift v1.3.0-alpha.0-418-g38b0157. The path is shown in dc page and pod page now.