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: | oc | Assignee: | Fabiano Franz <ffranz> |
| Status: | CLOSED ERRATA | QA Contact: | Xingxing Xia <xxia> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.1.0 | CC: | aos-bugs, jokerman, mmccomas, tdawson, xiaocwan |
| 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-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: | |
| Embargoed: | |||
Fixed in master, the pod describer now displays the port for each container. 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 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. https://access.redhat.com/errata/RHBA-2016:1933 |
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/192.168.0.201 Labels: name=hello-openshift Status: Running IP: 10.1.1.2 Replication Controllers: <none> Containers: hello-openshift: Image: openshift/hello-openshift:v0.4.3 State: Running Started: Wed, 07 Oct 2015 13:16:15 -0400 Ready: True Restart Count: 0 Conditions: Type Status Ready True No events. Expected results: The information shown should match that seen by the console. Example (text from console): Pods hello-openshift Status: Running Node: node01-b66c.oslab.opentlc.com (192.168.0.201) IP on node: 10.1.1.2 Restart policy: Always Volumes: default-token-sr650 Pod template: hello-openshift Image: openshift/hello-openshift:v0.4.3 Ports: 8080 (TCP) ⟶ 36061 Additional info: