openshift-baremetal-install failed with "unmarshaling JSON: while decoding JSON" when creating manifests from install-config.yaml in RHOCP4
Issue
-
Running
openshift-installcommand 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.