Managing MachineSets on RHOCP using GitOps Fails

Solution Verified - Updated -

Issue

  • As a cluster admin one wish to manage the MachineSets on RHOCP using GitOps and Helm templates to recreate cluster or create multiple clusters with identical setup.
  • Is it possible?
  • When attempting to do the above, the following error appears:
rpc error: code = Unknown desc = Manifest generation error (cached): rpc error: code = FailedPrecondition desc = Failed to unmarshal "openshift-machine-api_machineset_worker-test.yaml": failed to unmarshal manifest: error converting YAML to JSON: yaml: line 1: did not find expected node content

Environment

  • Red Hat Openshift Container Platform

    • 4.7+
  • Red Hat Openshift GitOps

    • 1.5+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content