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

Fix the config loading warning in cns-migrator tool

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.17.0
    • Storage / Operators
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • Config loading does no longer log YAML unmarshall error when INI succeeds
    • Bug Fix
    • In Progress

      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
              hekumar@redhat.com Hemant Kumar
              Wei Duan Wei Duan
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: