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

Fix the config loading warning in cns-migrator tool

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, the configuration loader logged `yaml` unmarshall errors when the INI succeeded. With this release, the unmarshall errors are no longer logged when the INI succeeds. (link:https://issues.redhat.com/browse/OCPBUGS-42327[*OCPBUGS-42327*])
      --------
      Config loading does no longer log YAML unmarshall error when INI succeeds
      Show
      * Previously, the configuration loader logged `yaml` unmarshall errors when the INI succeeded. With this release, the unmarshall errors are no longer logged when the INI succeeds. (link: https://issues.redhat.com/browse/OCPBUGS-42327 [* OCPBUGS-42327 *]) -------- Config loading does no longer log YAML unmarshall error when INI succeeds
    • Bug Fix
    • In Progress

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

      After multi-VC changes were merged, now when we use this tool, following warnings get logged:

      E0812 13:04:34.813216   13159 config_yaml.go:208] Unmarshal failed: yaml: unmarshal errors:
      line 1: cannot unmarshal !!seq into config.CommonConfigYAML
      I0812 13:04:34.813376   13159 config.go:272] ReadConfig INI succeeded. INI-based cloud-config is deprecated and will be removed in 2.0. Please use YAML based cloud-config.
      

      Which looks bit scarier than it should.

              rh-ee-rhrmo Richard Hrmo
              openshift-crt-jira-prow OpenShift Prow Bot
              Wei Duan Wei Duan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: