Bug 2117452 - oc explain returning error
Summary: oc explain returning error
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.7
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Jan Chaloupka
QA Contact: zhou ying
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-11 03:36 UTC by Milind Yadav
Modified: 2022-08-11 09:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-11 05:36:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Milind Yadav 2022-08-11 03:36:55 UTC
Description of problem:oc explain not working for 4.7


Version-Release number of selected component (if applicable):

[miyadav@miyadav openshift-client-linux-4.7.0-0.nightly-2022-08-03-204229]$ ./oc explain machines.machine.openshift.io
error: field "machine" does not exist
[miyadav@miyadav openshift-client-linux-4.7.0-0.nightly-2022-08-03-204229]$ 


How reproducible:
Always

Comment 1 Milind Yadav 2022-08-11 05:36:58 UTC
After checking another bug , already discussed here- https://bugzilla.redhat.com/show_bug.cgi?id=2102045 and since below works so closing it 


[miyadav@miyadav openshift-client-linux-4.7.0-0.nightly-2022-08-03-204229]$ ls
kubectl  oc  README.md
[miyadav@miyadav openshift-client-linux-4.7.0-0.nightly-2022-08-03-204229]$ ./oc explain machine
KIND:     Machine
VERSION:  machine.openshift.io/v1beta1

DESCRIPTION:
     Machine is the Schema for the machines API

FIELDS:
   apiVersion	<string>
     APIVersion defines the versioned schema of this representation of an
     object. Servers should convert recognized schemas to the latest internal
     value, and may reject unrecognized values. More info:
     https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

   kind	<string>
     Kind is a string value representing the REST resource this object
     represents. Servers may infer this from the endpoint the client submits
     requests to. Cannot be updated. In CamelCase. More info:
     https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

   metadata	<Object>
     Standard object's metadata. More info:
     https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

   spec	<Object>
     MachineSpec defines the desired state of Machine

   status	<Object>
     MachineStatus defines the observed state of Machine

[miyadav@miyadav openshift-client-linux-4.7.0-0.nightly-2022-08-03-204229]$


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