Bug 2102045
| Summary: | [BM][IPI] oc explain fails - error: field "machine" does not exist | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Yurii Prokulevych <yprokule> |
| Component: | Cloud Compute | Assignee: | OpenShift Cluster Infrastructure Bugs <cluster-infrastructure-bug-bot> |
| Cloud Compute sub component: | Cloud Controller Manager | QA Contact: | sunzhaohua <zhsun> |
| Status: | CLOSED CURRENTRELEASE | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | unspecified | CC: | jspeed |
| Version: | 4.7 | ||
| 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: | 2022-06-29 11:08:09 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: | |||
Just tested this out and it works on oc versions 4.8 and upwards, I believe it was fixed by this PR https://github.com/kubernetes/kubernetes/pull/91295 and then pulled into oc by https://github.com/openshift/oc/pull/773 which was before 4.8 code freeze. We don't support 4.7 anymore so I don't think we will backport this |
Description of problem: ----------------------- Running `oc explain` fails: oc explain machines.machine.openshift.io error: field "machine" does not exist but next command works: oc explain machines 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 Version-Release number of selected component (if applicable): ------------------------------------------------------------- Checked on 4.7.37, 4.7.48, 4.7.53 How reproducible: ----------------- 100% Steps to Reproduce: ------------------- 1. Install baremetal IPI cluster 2. Run `oc explain machines.machine.openshift.io` Actual results: --------------- Command fails Expected results: ----------------- Command succeeds Additional info: ---------------- Ran same commands on 4.10.20 and 4.11.0-0.nightly-2022-06-25-081133 - works without problems