Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1693127 - no output when running oc explain ClusterDNS --api-version=dns.openshift.io/v1alpha1
Summary: no output when running oc explain ClusterDNS --api-version=dns.openshift.io/v...
Keywords:
Status: ASSIGNED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Routing
Version: 4.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.1.0
Assignee: Daneyon Hansen
QA Contact: Hongan Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-27 08:32 UTC by Hongan Li
Modified: 2019-04-12 06:32 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Github openshift cluster-dns-operator pull 87 None None None 2019-04-09 12:55:20 UTC

Description Hongan Li 2019-03-27 08:32:39 UTC
Description of problem:
no output when running oc explain ClusterDNS --api-version=dns.openshift.io/v1alpha1

Version-Release number of selected component (if applicable):
4.0.0-0.nightly-2019-03-26-072833

How reproducible:
100%

Steps to Reproduce:
1. $ oc get clusterdnses.dns.openshift.io/default -o yaml
apiVersion: dns.openshift.io/v1alpha1
kind: ClusterDNS
---

2. oc explain ClusterDNS --api-version=dns.openshift.io/v1alpha1


Actual results:
no any output

Expected results:
should show description of each fields.

Additional info:

Comment 1 Dan Mace 2019-04-09 12:55:20 UTC
OpenAPI specs should fixed as of https://github.com/openshift/cluster-dns-operator/pull/87. Note the API group/version/kind to use is now `dns --api-version=dns.operator.openshift.io/v1`.

Comment 3 Hongan Li 2019-04-12 06:32:53 UTC
maybe hit other regression issue but now `oc explain` cannot work for many CR with `--api-version=operator.openshift.io/v1`. 

$ oc explain dns --api-version=operator.openshift.io/v1
error: Couldn't find resource for "operator.openshift.io/v1, Kind=DNS"

$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.0.0-0.nightly-2019-04-10-182914   True        False         29h     Cluster version is 4.0.0-0.nightly-2019-04-10-182914

similar bug of master: https://bugzilla.redhat.com/show_bug.cgi?id=1688638#c5

move to assigned just for investigation


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