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

Console crashes when pinnedResources is null (which could be the case starting 4.13)

XMLWordPrintable

    • Moderate
    • ODC Sprint 231
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:
      The console crashes when it used with a user settings ConfigMap that is created with a 4.13+ console. This version saves "null" for the key "console.pinnedResources" which doesn't happen before and the old console version could not handle this well.

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

      How reproducible:
      Always, but only in the edge case that someone used a newer console first and then downgraded.

      This can happen only by manually applying the user settings ConfigMap or when downgrading a cluster.

      Steps to Reproduce:
      Open the user-settings ConfigMap and set "console.pinedResources" to "null" (with quotes as all ConfigMap values needs to be strings)

      Or run this patch command:

      oc patch -n openshift-console-user-settings configmaps user-settings-kubeadmin --type=merge --patch '{"data":{"console.pinnedResources":"null"}}'
      

      Open console...

      Actual results:
      Console crashes

      Expected results:
      Console should not crash

            cjerolim Christoph Jerolimov
            cjerolim Christoph Jerolimov
            Sanket Pathak Sanket Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: