Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-56522

cluster-compare tool fails on NMState.yaml CR - unmarshal error: error converting YAML to JSON

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.19
    • GitOps ZTP
    • None
    • cluster-compare sprint 271
    • 1
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      This is a clone of issue OCPBUGS-56367. The following is the description of the original issue:

      Description of problem:

          Running 'cluster-compare' fails:
      '''
      error: error occurred while trying to process resources: template injection failed: template: required/networking/NMState.yaml isn't a yaml file after injection. yaml unmarshal error: error converting YAML to JSON: yaml: line 4: mapping values are not allowed in this context. The Template After Execution: apiVersion: nmstate.io/v1
       kind: NMState
       metadata:
         name: nmstatespec:
         probeConfiguration:
           dns:
             host: root-servers.net
      '''

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

          4.19

      How reproducible:

          100%

      Steps to Reproduce:

          1. Run cluster-compare against OCP baremetal cluster configured per RDS Core specification

      Actual results:

          Command fails

      Expected results:

          Command succeeds

      Additional info:

          

              jramsay1@redhat.com Jim Ramsay
              openshift-crt-jira-prow OpenShift Prow Bot
              Dwaine Gonyier Dwaine Gonyier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: