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

Cannot read properties of undefined (reading 'filter') error while accessing nodes from console

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • None
    • Customer Escalated
    • Proposed
    • None
    • Hide
      Before this update, creating a node without a disk triggered a JavaScript `TypeError` when you accessed nodes in the console. This update initializes the filter property correctly. As a result, the node list displays without errors. (link:https://issues.redhat.com/browse/OCPBUGS-56050[OCPBUGS-56050])
      Show
      Before this update, creating a node without a disk triggered a JavaScript `TypeError` when you accessed nodes in the console. This update initializes the filter property correctly. As a result, the node list displays without errors. (link: https://issues.redhat.com/browse/OCPBUGS-56050 [ OCPBUGS-56050 ])
    • None
    • None
    • None
    • None

      When we create any node without disk in cluster, observed error while accessing nodes on console. Issue is reproducible:

      Steps:

      Create node with below yaml:

      kind: Node
      apiVersion: v1
      metadata:
        name: nodesnat3.abc.pl
        annotations:
          k8s.ovn.org/node-primary-ifaddr: '{"ipv4":"10.1.2.3/24"}'
          k8s.ovn.org/remote-zone-migrated: nodesnat3.abc.pl
          k8s.ovn.org/zone-name: nodesnat3.abc.pl
          k8s.ovn.org/host-cidrs: '["10.1.2.3/24"]'
          k8s.ovn.org/network-ids: '{"default":"0"}'
      spec:
        unschedulable: true
        taints:
          - key: node.kubernetes.io/unschedulable
            effect: NoSchedule
          - key: node.cloudprovider.kubernetes.io/uninitialized
            effect: NoSchedule 

       

      $ oc apply -f node.yaml
      node/nodesnat3.abc.pl created 

       

      $ oc get nodes |grep nodesnat3
      nodesnat3.abc.pl      NotReady,SchedulingDisabled   <none>                 5h24m  

      After this when we open console -> Compute -> Nodes observe below error:

      TypeErrorDescription:
      Cannot read properties of undefined (reading 'filter')
      Component trace:Copy to clipboardat O (https://console-openshift-console.apps.ci-ln-hdn7iwt-76ef8.aws-2.ci.openshift.org/static/node-chunk-16036a545ba2e31b5e59.min.js:1:29675) at td at g (https://console-openshift-console.apps.ci-ln-hdn7iwt-76ef8.aws-2.ci.openshift.org/static/main-chunk-7df73c9895c7e86b887d.min.js:1:180363) at q (https://console-openshift-console.apps.ci-ln-hdn7iwt-76ef8.aws-2.ci.openshift.org/static/node-chunk-16036a545ba2e31b5e59.min.js:1:6628) at z (https://console-openshift-console.apps.ci-ln-hdn7iwt-76ef8.aws-2.ci.openshift.org/static/node-chunk-16036a545ba2e31b5e59.min.js:1:11473) at https://console-openshift-console.apps.ci-ln-hdn7iwt-76ef8.aws-2.ci.openshift.org/static/main-chunk-7df73c9895c7e86b887d.min.js:1:1218326 at tr at T (https://console-openshift-console.apps.ci-ln-hdn7iwt-76ef8.aws-2.ci.openshift.org/static/main-chunk-7df73c9895c7e86b887d.min.js:1:642453) at t (https://console-openshift-console.apps.ci-ln-hdn7iwt-76ef8.aws-2.ci.openshift.org/static/vendors~main-chunk-018bd846c988631ecc6b.min.js:91:316095) at tbody at table 

       

       

       

       

              rh-ee-mziska Marek Ziska (Inactive)
              rhn-support-aksjadha Akshata Jadhav
              None
              None
              YaDan Pei YaDan Pei
              Jocelyn Sese Jocelyn Sese
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: