Bug 1847709 - `oc explain MachineSet.spec --recursive=true` returns empty description and no fields
Summary: `oc explain MachineSet.spec --recursive=true` returns empty description and n...
Keywords:
Status: CLOSED DUPLICATE of bug 1769004
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cloud Compute
Version: 4.3.z
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.6.0
Assignee: Alberto
QA Contact: Jianwei Hou
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-16 20:27 UTC by Ashley D'Andrea
Modified: 2020-06-17 10:29 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-17 10:29:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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