Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-30302

pullSecret not quoted correctly when using disconnected installation

XMLWordPrintable

    • Quality / Stability / Reliability
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • ACM Console Train 37 - 1
    • Moderate
    • None

      Description of problem:

      When using disconnected installation (supported for vSphere or OpenStack) for cluster deployment, the pull secret is included in the install-config.yaml but it is not properly quoted. This leads to errors like "Malformed inline string" being shown in the YAML editor. Or, if you proceed to deployment, the Hive log may contain a message like:

      could not unmarshal InstallConfig: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal object into Go struct field InstallConfig.pullSecret of type string

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

      All past MCE versions

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create a credential for vSphere or OpenStack, optionally with disconnected installation information.
      2. Attempt to deploy a cluster using the credential, adding disconnected intallation information if you did not save them in the credential.

      Additional info:

      See Slack thread:
      https://redhat-internal.slack.com/archives/CTDEY6EEA/p1712081898047209

              rh-ee-kcormier Kevin Cormier
              rhn-engineering-dtrainor Dan Trainor
              David Huynh David Huynh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: