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

nil deref panic in openshift-controller-manager

    XMLWordPrintable

Details

    • Important
    • False
    • Hide

      None

      Show
      None
    • NA

    Description

      Description of problem:

      nil deref in a e2e-aws-serial run on my PR

      https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_kubernetes/1358/pull-ci-openshift-kubernetes-master-e2e-aws-serial/1564732125813411840

      https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openshift_kubernetes/1358/pull-ci-openshift-kubernetes-master-e2e-aws-serial/1564732125813411840/artifacts/e2e-aws-serial/gather-extra/artifacts/pods/openshift-controller-manager-operator_openshift-controller-manager-operator-84b9d797f9-ldfl7_openshift-controller-manager-operator_previous.log

      I0830 22:57:12.972823       1 event.go:285] Event(v1.ObjectReference{Kind:"Deployment", Namespace:"openshift-controller-manager-operator", Name:"openshift-controller-manager-operator", UID:"c4bf9ebb-3c7b-49f1-99a9-188a2f1ef6f9", APIVersion:"apps/v1", ResourceVersion:"", FieldPath:""}): type: 'Warning' reason: 'DeploymentCreateFailed' Failed to create Deployment.apps/route-controller-manager -n openshift-route-controller-manager: namespaces "openshift-route-controller-manager" not found
      E0830 22:57:12.972986       1 runtime.go:79] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)
      goroutine 675 [running]:
      k8s.io/apimachinery/pkg/util/runtime.logPanic({0x1fa3640?, 0x38bd8a0})
      	k8s.io/apimachinery@v0.24.0/pkg/util/runtime/runtime.go:75 +0x99
      k8s.io/apimachinery/pkg/util/runtime.HandleCrash({0x0, 0x0, 0x2695420?})
      	k8s.io/apimachinery@v0.24.0/pkg/util/runtime/runtime.go:49 +0x75
      panic({0x1fa3640, 0x38bd8a0})
      	runtime/panic.go:838 +0x207
      github.com/openshift/cluster-openshift-controller-manager-operator/pkg/operator.syncOpenShiftControllerManager_v311_00_to_latest({{0xc00005c006, 0x7f}, {0x26cd280, 0xc0005e8030}, {0x26a29a8, 0xc0005e8120}, {0x26d2ec8, 0xc0008d5800}, {0x2699fc0, 0xc0001ea300}, ...}, ...)
      	github.com/openshift/cluster-openshift-controller-manager-operator/pkg/operator/sync_openshiftcontrollermanager_v311_00.go:173 +0x2060
      github.com/openshift/cluster-openshift-controller-manager-operator/pkg/operator.OpenShiftControllerManagerOperator.sync({{0xc00005c006, 0x7f}, {0x26cd280, 0xc0005e8030}, {0x26a29a8, 0xc0005e8120}, {0x26d2ec8, 0xc0008d5800}, {0x2699fc0, 0xc0001ea300}, ...})
      	github.com/openshift/cluster-openshift-controller-manager-operator/pkg/operator/operator.go:125 +0xbc
      github.com/openshift/cluster-openshift-controller-manager-operator/pkg/operator.(*OpenShiftControllerManagerOperator).processNextWorkItem(0xc0005e6870)
      	github.com/openshift/cluster-openshift-controller-manager-operator/pkg/operator/operator.go:161 +0x158
      github.com/openshift/cluster-openshift-controller-manager-operator/pkg/operator.(*OpenShiftControllerManagerOperator).runWorker(0xc000ac83c0?, {0x0?, 0x2?})
      	github.com/openshift/cluster-openshift-controller-manager-operator/pkg/operator/operator.go:147 +0x25
      k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1()
      	k8s.io/apimachinery@v0.24.0/pkg/util/wait/wait.go:188 +0x25
      k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1(0x0?)
      	k8s.io/apimachinery@v0.24.0/pkg/util/wait/wait.go:155 +0x3e
      k8s.io/apimachinery/pkg/util/wait.BackoffUntil(0xc00001d6c8?, {0x269bba0, 0xc000ac83c0}, 0x1, 0xc000444f60)
      	k8s.io/apimachinery@v0.24.0/pkg/util/wait/wait.go:156 +0xb6
      k8s.io/apimachinery/pkg/util/wait.JitterUntil(0x1?, 0x3b9aca00, 0x0, 0x78?, 0x200000000?)
      	k8s.io/apimachinery@v0.24.0/pkg/util/wait/wait.go:133 +0x89
      k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext({0x26bf678, 0xc0000505c0}, 0xc000ab32b0, 0xc00047b140?, 0x0?, 0x0?)
      	k8s.io/apimachinery@v0.24.0/pkg/util/wait/wait.go:188 +0x99
      k8s.io/apimachinery/pkg/util/wait.UntilWithContext({0x26bf678?, 0xc0000505c0?}, 0xc00001d768?, 0xc00001d778?)
      	k8s.io/apimachinery@v0.24.0/pkg/util/wait/wait.go:99 +0x2b
      created by github.com/openshift/cluster-openshift-controller-manager-operator/pkg/operator.(*OpenShiftControllerManagerOperator).Run
      	github.com/openshift/cluster-openshift-controller-manager-operator/pkg/operator/operator.go:142 +0x1bd
      

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

      4.12

      Attachments

        Issue Links

          Activity

            People

              fkrepins@redhat.com Filip Krepinsky
              sjenning Seth Jennings
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: