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

ovnkube-master panic nil deref

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • 4.13
    • None
    • None
    • SDN Sprint 231, SDN Sprint 232
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Bug Fix
    • Done

      In Hypershift, panic on the ovnkube-master pod with

      E0201 17:09:28.513834       1 runtime.go:79] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)
      goroutine 568 [running]:
      k8s.io/apimachinery/pkg/util/runtime.logPanic({0x1b67100?, 0x3059000})
      	/go/src/github.com/openshift/ovn-kubernetes/go-controller/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:75 +0x99
      k8s.io/apimachinery/pkg/util/runtime.HandleCrash({0x0, 0x0, 0xc000d3cbf0?})
      	/go/src/github.com/openshift/ovn-kubernetes/go-controller/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:49 +0x75
      panic({0x1b67100, 0x3059000})
      	/usr/lib/golang/src/runtime/panic.go:884 +0x212
      github.com/ovn-org/ovn-kubernetes/go-controller/pkg/ovn/controller/egress_services.(*Controller).syncNode(0xc0002b64b0, {0xc001298c20, 0x1b})
      	/go/src/github.com/openshift/ovn-kubernetes/go-controller/pkg/ovn/controller/egress_services/egress_services_node.go:203 +0xceb
      

      https://github.com/ovn-org/ovn-kubernetes/blob/master/go-controller/pkg/ovn/controller/egress_services/egress_services_node.go#L203

      Looks like `state` is nil.

      Full log https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openshift_hypershift/2098/pull-ci-openshift-hypershift-main-e2e-aws/1620818201212358656/artifacts/e2e-aws/run-e2e/artifacts/TestNTOMachineConfigGetsRolledOut_PreTeardownClusterDump/namespaces/e2e-clusters-5nl7t-example-ncsvk/core/pods/logs/ovnkube-master-0-ovnkube-master-previous.log

              sseethar Surya Seetharaman
              sjenning Seth Jennings
              Anurag Saxena Anurag Saxena
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: