OSSM: SMCP v2.5.0 upgrade/install hangs with istiod in CrashLoopBackOf

Solution Verified - Updated -

Issue

  • Upgrading the smcp to .spec.version:v2.5 causes istiod to be in CrashLoopBackOff
  • Errors are of the general form
{"level":"error","time":"2024-04-03T22:01:46.265463Z","scope":"kube","msg":"failed to create informer for certificates.k8s.io/v1/CertificateSigningRequest: no informer found for certificates.k8s.io/v1, Resource=certificatesigningrequests","controller":"a
nalysis-controller"}
{"level":"error","time":"2024-04-03T22:01:46.265691Z","scope":"kube","msg":"failed to create informer for core/v1/EndpointSlice: no informer found for /v1, Resource=endpointslices","controller":"analysis-controller"}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x48a4e52]

goroutine 143 [running]:
istio.io/istio/pilot/pkg/config/kube/crdclient.handleCRDAdd(0xc0007cba40, {0xc000d23050, 0x24})
        /remote-source/istio/app/pilot/pkg/config/kube/crdclient/client.go:450 +0x6d2
istio.io/istio/pilot/pkg/config/kube/crdclient.NewForSchemas({0x5f73300, 0xc0013ced00}, {{0xc00007c029, 0x5}, {0x7fffef5baed9, 0xd}, {0x588000a, 0x13}, 0x0, 0x0}, ...)
        /remote-source/istio/app/pilot/pkg/config/kube/crdclient/client.go:189 +0xa33
istio.io/istio/pkg/config/analysis/incluster.NewController(0x87a6e40?, {0x5f579b8?, 0xc001221830}, {0x5f73300, 0xc0013ced00}, {0xc00007c029, 0x5}, {0xc0000840ce, 0xc}, 0xc000480560, ...)
        /remote-source/istio/app/pkg/config/analysis/incluster/controller.go:53 +0x3b1
istio.io/istio/pilot/pkg/bootstrap.(*Server).initInprocessAnalysisController.func1.1(0xc00023e910?)
        /remote-source/istio/app/pilot/pkg/bootstrap/configcontroller.go:318 +0xe5
created by istio.io/istio/pilot/pkg/leaderelection.(*LeaderElection).create.func1
        /remote-source/istio/app/pilot/pkg/leaderelection/leaderelection.go:141 +0xb8

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.x
  • Red Hat OpenShift Service Mesh (OSSM)
    • 2.5.0

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