OpenShift service catalog controller pod in CrashLoop

Solution Verified - Updated -

Issue

OpenShift Service Catalog controller pod is in CrashLoop due to the following panic and segmentation fault:

panic: runtime error: invalid memory address or nil pointer dereference [recovered]
    panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x158ccb0]

goroutine 200 [running]:
github.com/kubernetes-incubator/service-catalog/vendor/k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0)
    /builddir/build/BUILD/atomic-enterprise-service-catalog-git-1446.727628e/_output/local/go/src/github.com/kubernetes-incubator/service-catalog/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:58 +0x111
panic(0x18cbdc0, 0x357c7f0)
    /usr/lib/golang/src/runtime/panic.go:491 +0x283
github.com/kubernetes-incubator/service-catalog/pkg/controller.(*controller).processProvisionFailure(0xc420704380, 0xc4202be480, 0x0, 0xc420a7e5a0, 0x1b8b801, 0x41, 0xc420a7e5a0)
    /builddir/build/BUILD/atomic-enterprise-service-catalog-git-1446.727628e/_output/local/go/src/github.com/kubernetes-incubator/service-catalog/pkg/controller/controller_instance.go:1712 +0x40
github.com/kubernetes-incubator/service-catalog/pkg/controller.(*controller).processTerminalProvisionFailure(0xc420704380, 0xc4202be480, 0x0, 0xc420a7e5a0, 0x1b8b801, 0x41, 0xc420a7e5a0)
    /builddir/build/BUILD/atomic-enterprise-service-catalog-git-1446.727628e/_output/local/go/src/github.com/kubernetes-incubator/service-catalog/pkg/controller/controller_instance.go:1699 +0x5b
github.com/kubernetes-incubator/service-catalog/pkg/controller.(*controller).processServiceInstancePollingFailureRetryTimeout(0xc420704380, 0xc4202be480, 0x0, 0x1b2e1aa, 0x7)
    /builddir/build/BUILD/atomic-enterprise-service-catalog-git-1446.727628e/_output/local/go/src/github.com/kubernetes-incubator/service-catalog/pkg/controller/controller_instance.go:856 +0x25b
github.com/kubernetes-incubator/service-catalog/pkg/controller.(*controller).pollServiceInstance(0xc420704380, 0xc4206f3080, 0x1b2af7a, 0x4)
    /builddir/build/BUILD/atomic-enterprise-service-catalog-git-1446.727628e/_output/local/go/src/github.com/kubernetes-incubator/service-catalog/pkg/controller/controller_instance.go:713 +0x742
github.com/kubernetes-incubator/service-catalog/pkg/controller.(*controller).reconcileServiceInstance(0xc420704380, 0xc4206f3080, 0x0, 0xc4206f3080)
    /builddir/build/BUILD/atomic-enterprise-service-catalog-git-1446.727628e/_output/local/go/src/github.com/kubernetes-incubator/service-catalog/pkg/controller/controller_instance.go:275 +0x2f5
github.com/kubernetes-incubator/service-catalog/pkg/controller.(*controller).reconcileServiceInstanceKey(0xc420704380, 0xc4203aa5c0, 0x1c, 0xc4207bbc98, 0xc420534300)
    /builddir/build/BUILD/atomic-enterprise-service-catalog-git-1446.727628e/_output/local/go/src/github.com/kubernetes-incubator/service-catalog/pkg/controller/controller_instance.go:241 +0x2fc
github.com/kubernetes-incubator/service-catalog/pkg/controller.(*controller).(github.com/kubernetes-incubator/service-catalog/pkg/controller.reconcileServiceInstanceKey)-fm(0xc4203aa5c0, 0x1c, 0xc42056c700, 0x18220a0)

Environment

  • Red Hat OpenShift Container Platform
    • 3.10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content