Bug 1847709

Summary: `oc explain MachineSet.spec --recursive=true` returns empty description and no fields
Product: OpenShift Container Platform Reporter: Ashley D'Andrea <jdandrea>
Component: Cloud ComputeAssignee: Alberto <agarcial>
Cloud Compute sub component: Other Providers QA Contact: Jianwei Hou <jhou>
Status: CLOSED DUPLICATE Docs Contact:
Severity: low    
Priority: unspecified CC: llussend
Version: 4.3.z   
Target Milestone: ---   
Target Release: 4.6.0   
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-06-17 10:29:47 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 Ashley D'Andrea 2020-06-16 20:27:22 UTC
Description of problem:

`oc explain MachineSet.spec --recursive=true` returns empty description and no fields.

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

$ oc get clusterversion
NAME      VERSION   AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.3.13    True        False         19h     Cluster version is 4.3.13

How reproducible:

Always.

Steps to Reproduce:
1. oc explain MachineSet.spec --recursive=true
2.
3.

Actual results:

KIND:     MachineSet
VERSION:  machine.openshift.io/v1beta1

DESCRIPTION:
     <empty>

Expected results:

KIND:     MachineSet
VERSION:  machine.openshift.io/v1beta1

RESOURCE: spec <Object>

DESCRIPTION:
     <empty>

FIELDS:
   deletePolicy	<string>
   minReadySeconds	<integer>
   replicas	<integer>
   selector	<map[string]>
   template	<Object>
      metadata	<map[string]>
      spec	<Object>
         metadata	<map[string]>
         providerID	<string>
         providerSpec	<Object>
            value	<map[string]>
         taints	<[]map[string]>

Additional info:

I haven't confirmed directly, however I'm hearing the same results occur using 4.4. I didn't see a BZ yet specific to MachineSet.spec as of yet, though, so here 'tis!

Comment 1 Alberto 2020-06-17 10:28:38 UTC
machine API resources are structural schema and therefore satisfy oc explain in >= 4.5 https://bugzilla.redhat.com/show_bug.cgi?id=1769004
We have currently no plans to backport this unless there's strong drivers for it.

Comment 2 Alberto 2020-06-17 10:29:47 UTC

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