The vsphere-problem-detector-operator pod gets panic after upgrading cluster to OpenShift 4.13

Solution Verified - Updated -

Issue

  • The vsphere problem detector operator pod keeps restarting with the below error message.
2023-05-23T16:49:02.055807598Z I0523 16:49:02.055774       1 zones.go:121] Checking tags for multi-zone support.
2023-05-23T16:49:02.059043220Z panic: runtime error: invalid memory address or nil pointer dereference
2023-05-23T16:49:02.059043220Z [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x1fcd2ad]
2023-05-23T16:49:02.059043220Z 
2023-05-23T16:49:02.059043220Z goroutine 710 [running]:
2023-05-23T16:49:02.059076136Z github.com/openshift/vsphere-problem-detector/pkg/check.CheckZoneTags(0xc000f56000)
2023-05-23T16:49:02.059076136Z  github.com/openshift/vsphere-problem-detector/pkg/check/zones.go:134 +0x28d
2023-05-23T16:49:02.059076136Z github.com/openshift/vsphere-problem-detector/pkg/operator.runSingleClusterCheck(0x7f9050ec2a68?, {0x29b9736, 0xd}, 0x2b38d88, 0x0?)
2023-05-23T16:49:02.059076136Z  github.com/openshift/vsphere-problem-detector/pkg/operator/vsphere_check.go:235 +0xed
2023-05-23T16:49:02.059076136Z github.com/openshift/vsphere-problem-detector/pkg/operator.(*vSphereChecker).enqueueClusterChecks.func1()
2023-05-23T16:49:02.059076136Z  github.com/openshift/vsphere-problem-detector/pkg/operator/vsphere_check.go:183 +0x2d
2023-05-23T16:49:02.059076136Z github.com/openshift/vsphere-problem-detector/pkg/operator.(*CheckThreadPool).worker.func1(0x2a11af9?, 0x0?)
2023-05-23T16:49:02.059076136Z  github.com/openshift/vsphere-problem-detector/pkg/operator/pool.go:40 +0x55
2023-05-23T16:49:02.059076136Z github.com/openshift/vsphere-problem-detector/pkg/operator.(*CheckThreadPool).worker(0xc000a754b8, 0x2b3b508?)
2023-05-23T16:49:02.059076136Z  github.com/openshift/vsphere-problem-detector/pkg/operator/pool.go:41 +0xe7
2023-05-23T16:49:02.059076136Z github.com/openshift/vsphere-problem-detector/pkg/operator.NewCheckThreadPool.func1()
2023-05-23T16:49:02.059076136Z  github.com/openshift/vsphere-problem-detector/pkg/operator/pool.go:28 +0x25
2023-05-23T16:49:02.059095793Z created by github.com/openshift/vsphere-problem-detector/pkg/operator.NewCheckThreadPool
2023-05-23T16:49:02.059095793Z  github.com/openshift/vsphere-problem-detector/pkg/operator/pool.go:27 +0x73

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.13

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