openshift-baremetal-install failed with "unmarshaling JSON: while decoding JSON" when creating manifests from install-config.yaml in RHOCP4

Solution Verified - Updated -

Issue

  • Running openshift-install command to create manifest states below error.

    $ openshift-install create manifests --dir=<installation-dir>
    ERROR failed to fetch Master Machines: failed to load asset "Install Config": failed to create install config: failed to unmarshal install-config.yaml: error unmarshaling JSON: while decoding JSON: failed to Unmarshal string: json: cannot unmarshal object into Go value of type string
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4.x

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