Bug 1796591

Summary: [cli] oc explain [Top Level] [cli] oc explain should contain proper fields description for special types [Suite:openshift/conformance/parallel]
Product: OpenShift Container Platform Reporter: Nikolaos Leandros Moraitis <nmoraiti>
Component: NetworkingAssignee: Ben Bennett <bbennett>
Networking sub component: ovn-kubernetes QA Contact: zhaozhanqi <zzhao>
Status: CLOSED DUPLICATE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: anbhat, aos-bugs, jokerman, mfojtik
Version: 4.4   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-05 16:49:01 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:

Description Nikolaos Leandros Moraitis 2020-01-30 18:02:07 UTC
[cli] oc explain [Top Level] [cli] oc explain should contain proper fields description for special types [Suite:openshift/conformance/parallel] expand_less 	1m0s
fail [github.com/openshift/origin/test/extended/cli/explain.go:365]: Unexpected error:
    <*errors.errorString | 0xc0034671a0>: {
        s: "failed to explain [\"clusternetworks\" \"--api-version=network.openshift.io/v1\"]: exit status 1",
    }
    failed to explain ["clusternetworks" "--api-version=network.openshift.io/v1"]: exit status 1
occurred



Jobs: https://prow.svc.ci.openshift.org/?job=release-openshift-ocp-installer-e2e-gcp-ovn-4.4


Example: 
https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-gcp-ovn-4.4/544

Comment 1 Maciej Szulik 2020-01-31 09:05:33 UTC
From what I'm seeing in the logs the cluster is missing clusternetwork resource:

Jan 30 17:14:33.823: INFO: Error running /usr/bin/oc --namespace=e2e-test-oc-explain-8v8wp --kubeconfig=/tmp/configfile307322851 explain clusternetworks --api-version=network.openshift.io/v1:
the server doesn't have a resource type "clusternetworks"

I can't see them either in the must-gather cluster-scope-resoruces directory. I'm sending this over to the networking
team for further investigation, why it's not there. 

If this configuration does not have those resources installed, then it's worth adding necessary condition in the explain test.

Comment 2 Aniket Bhat 2020-02-05 16:49:01 UTC
Fixed and duplicate of 1796234.

*** This bug has been marked as a duplicate of bug 1796234 ***