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

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

    XMLWordPrintable

Details

    • Moderate
    • No
    • ODC Sprint 232
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

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

      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

      Attachments

        Issue Links

          Activity

            People

              cjerolim Christoph Jerolimov
              openshift-crt-jira-prow OpenShift Prow Bot
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: