Bug 1796591 - [cli] oc explain [Top Level] [cli] oc explain should contain proper fields description for special types [Suite:openshift/conformance/parallel]
Summary: [cli] oc explain [Top Level] [cli] oc explain should contain proper fields de...
Keywords:
Status: CLOSED DUPLICATE of bug 1796234
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Ben Bennett
QA Contact: zhaozhanqi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-30 18:02 UTC by Nikolaos Leandros Moraitis
Modified: 2020-02-05 16:49 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-05 16:49:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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