Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1396397 - oc describe has duplicated resource type
oc describe has duplicated resource type
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Command Line Interface (Show other bugs)
3.4.0
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: Fabiano Franz
Xingxing Xia
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-18 04:11 EST by XiaochuanWang
Modified: 2017-07-24 10 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: duplicated resource "quota" in the "oc describe" list of valid resources. Consequence: "quota" is printed twice. Fix: removed one entry on "quota" in the "oc describe" list of valid resources. Result: each resource type is only printed once.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-04-12 15:17:06 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0884 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.5 RPM Release Advisory 2017-04-12 18:50:07 EDT

  None (edit)
Description XiaochuanWang 2016-11-18 04:11:27 EST
Description of problem:
oc describe shows 2 "quota"
   * quota
   * resourcequotas (aka 'quota')


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

How reproducible:
Always

Steps to Reproduce:
1.`oc describe`
2.
3.

Actual results:
   * quota
   * resourcequotas (aka 'quota')


Expected results:
Should remove the "quota".

Additional info:
Comment 1 XiaochuanWang 2016-11-18 05:37:21 EST
`oc get` also has this duplicate issue with same version of oc.
Comment 2 Juan Vallejo 2017-01-25 17:59:21 EST
On origin version 1.5.4, "quota" is no longer repeated: https://github.com/openshift/origin/blob/master/vendor/k8s.io/kubernetes/pkg/kubectl/cmd/cmd.go#L171-L212

@ffranz should this bug be closed?
Comment 3 Fabiano Franz 2017-01-26 09:02:41 EST
Sending to QA so that it can be verified on latest 3.5.
Comment 4 Troy Dawson 2017-01-27 12:28:27 EST
This has been merged into ocp and is in OCP v3.5.0.10 or newer.
Comment 5 Yanping Zhang 2017-02-03 01:42:18 EST
Tested against oc v3.5.0.14+20b49d0:
1. $ oc describe

    * replicationcontrollers (aka 'rc')
    * resourcequotas (aka 'quota')
    * rolebindings

2. $ oc get

    * replicationcontrollers (aka 'rc')
    * resourcequotas (aka 'quota')
    * rolebindings

Now the duplicated "quota" has been removed, the bug is fixed, so move it to Verified.
Comment 7 errata-xmlrpc 2017-04-12 15:17:06 EDT
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-2017:0884

Note You need to log in before you can comment on or make changes to this bug.