Bug 1269669

Summary: [supportability] oc describe should show ports information in the same way the UI shows the ports for a pod.
Product: OpenShift Container Platform Reporter: Eric Rich <erich>
Component: ocAssignee: Fabiano Franz <ffranz>
Status: CLOSED ERRATA QA Contact: Xingxing Xia <xxia>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: aos-bugs, jokerman, mmccomas, tdawson, xiaocwan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-27 09:30:36 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 Eric Rich 2015-10-07 21:48:16 UTC
Description of problem:

When describing a pod the port information is not shown. 

Version-Release number of selected component (if applicable):
$ oc version
oc v3.0.0.1-5-g279b678
kubernetes v0.17.1-804-g496be63

How reproducible: 100% 

Steps to Reproduce:
1. $ oc describe pod hello-openshift

Actual results:

Name:                           hello-openshift
Image(s):                       openshift/hello-openshift:v0.4.3
Host:                           node01-b66c.oslab.opentlc.com/
Labels:                         name=hello-openshift
Status:                         Running
Replication Controllers:        <none>
    Image:              openshift/hello-openshift:v0.4.3
    State:              Running
      Started:          Wed, 07 Oct 2015 13:16:15 -0400
    Ready:              True
    Restart Count:      0 
  Type          Status
  Ready         True
No events.

Expected results:

The information shown should match that seen by the console. 

Example (text from console): 



Status: Running
Node: node01-b66c.oslab.opentlc.com (
IP on node:
Restart policy: Always


Pod template:
Image: openshift/hello-openshift:v0.4.3
Ports: 8080 (TCP) ⟶ 36061

Additional info:

Comment 2 Fabiano Franz 2016-07-04 21:36:38 UTC
Fixed in master, the pod describer now displays the port for each container.

Comment 3 XiaochuanWang 2016-07-07 08:14:35 UTC
verified on oc v3.3.0.2
openshift  v3.2.1.5-1-g71b9ccf

Ports are described in the same way as web console.
Ports: 3306/TCP

Comment 5 errata-xmlrpc 2016-09-27 09:30:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.