adamant-kite-43734
02/16/2024, 10:33 AMbulky-sunset-52084
autoscaling/v2
instead of v2beta2. Do you have HPA objects in your cluster with the API version v2beta2? It is odd that the result of this is a nil pointer deref - but nonetheless that looks to at least maybe be related.prehistoric-ocean-43977
02/19/2024, 10:59 AMtime="2024-02-19T09:48:16Z" level=info msg="Starting <http://admissionregistration.k8s.io/v1|admissionregistration.k8s.io/v1>, Kind=MutatingWebhookConfiguration controller"
time="2024-02-19T09:48:16Z" level=info msg="Starting batch/v1, Kind=CronJob controller"
time="2024-02-19T09:48:16Z" level=info msg="Starting <http://catalog.cattle.io/v1|catalog.cattle.io/v1>, Kind=App controller"
time="2024-02-19T09:48:16Z" level=info msg="Starting apps/v1, Kind=Deployment controller"
E0219 09:48:16.809142 56 runtime.go:79] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)
goroutine 4052 [running]:
<http://k8s.io/apimachinery/pkg/util/runtime.logPanic({0x37fcf00|k8s.io/apimachinery/pkg/util/runtime.logPanic({0x37fcf00>?, 0x6e644e0})
/go/pkg/mod/k8s.io/apimachinery@v0.25.4/pkg/util/runtime/runtime.go:75 +0x99
<http://k8s.io/apimachinery/pkg/util/runtime.HandleCrash({0x0|k8s.io/apimachinery/pkg/util/runtime.HandleCrash({0x0>, 0x0, 0xc006da9320?})
/go/pkg/mod/k8s.io/apimachinery@v0.25.4/pkg/util/runtime/runtime.go:49 +0x75
panic({0x37fcf00, 0x6e644e0})
/usr/lib64/go/1.19/src/runtime/panic.go:884 +0x212
<http://github.com/rancher/rancher/pkg/controllers/managementagent/endpoints.convertIngressToServicePublicEndpointsMap(|github.com/rancher/rancher/pkg/controllers/managementagent/endpoints.convertIngressToServicePublicEndpointsMap(>{0x49da9b0?, 0xc007499e40}, 0x0)
/go/src/github.com/rancher/rancher/pkg/controllers/managementagent/endpoints/endpoints.go:312 +0x9cf
<http://github.com/rancher/rancher/pkg/controllers/managementagent/endpoints.(*WorkloadEndpointsController).UpdateEndpoints(0xc002636000|github.com/rancher/rancher/pkg/controllers/managementagent/endpoints.(*WorkloadEndpointsController).UpdateEndpoints(0xc002636000>, {0xc0069a0240, 0x25}, 0xc0074ac000)
/go/src/github.com/rancher/rancher/pkg/controllers/managementagent/endpoints/workload_endpoints.go:89 +0x7c5
<http://github.com/rancher/rancher/pkg/controllers/managementagent/workload.(*CommonController).syncDeployments(0xc00156c3c0|github.com/rancher/rancher/pkg/controllers/managementagent/workload.(*CommonController).syncDeployments(0xc00156c3c0>, {0xc0069a0240, 0x25}, 0x2?)
/go/src/github.com/rancher/rancher/pkg/controllers/managementagent/workload/workload_common.go:133 +0x126
<http://github.com/rancher/rancher/pkg/generated/norman/apps/v1.(*deploymentController).AddHandler.func1({0xc0069a0240|github.com/rancher/rancher/pkg/generated/norman/apps/v1.(*deploymentController).AddHandler.func1({0xc0069a0240>?, 0x25?}, {0x3f941c0?, 0xc00690cab0?})
/go/src/github.com/rancher/rancher/pkg/generated/norman/apps/v1/zz_generated_deployment_controller.go:156 +0x42
<http://github.com/rancher/norman/controller.(*genericController).AddHandler.func1({0xc0069a0240|github.com/rancher/norman/controller.(*genericController).AddHandler.func1({0xc0069a0240>, 0x25}, {0x4981430?, 0xc00690cab0})
/go/pkg/mod/github.com/rancher/norman@v0.0.0-20230426211126-d3552b018687/controller/generic_controller.go:57 +0x18b
<http://github.com/rancher/lasso/pkg/controller.SharedControllerHandlerFunc.OnChange(0x3f941c0|github.com/rancher/lasso/pkg/controller.SharedControllerHandlerFunc.OnChange(0x3f941c0>?, {0xc0069a0240?, 0x403a40d?}, {0x4981430?, 0xc00690cab0?})
/go/pkg/mod/github.com/rancher/lasso@v0.0.0-20230428185353-36908edf817b/pkg/controller/sharedcontroller.go:29 +0x38
<http://github.com/rancher/lasso/pkg/controller.(*SharedHandler).OnChange(0xc004aa5310|github.com/rancher/lasso/pkg/controller.(*SharedHandler).OnChange(0xc004aa5310>, {0xc0069a0240, 0x25}, {0x4981430, 0xc00690cab0})
/go/pkg/mod/github.com/rancher/lasso@v0.0.0-20230428185353-36908edf817b/pkg/controller/sharedhandler.go:75 +0x23f
<http://github.com/rancher/lasso/pkg/controller.(*controller).syncHandler(0xc000408dc0|github.com/rancher/lasso/pkg/controller.(*controller).syncHandler(0xc000408dc0>, {0xc0069a0240, 0x25})
/go/pkg/mod/github.com/rancher/lasso@v0.0.0-20230428185353-36908edf817b/pkg/controller/controller.go:232 +0x93
<http://github.com/rancher/lasso/pkg/controller.(*controller).processSingleItem(0xc000408dc0|github.com/rancher/lasso/pkg/controller.(*controller).processSingleItem(0xc000408dc0>, {0x35ba260?, 0xc006da9320?})
/go/pkg/mod/github.com/rancher/lasso@v0.0.0-20230428185353-36908edf817b/pkg/controller/controller.go:213 +0x105
<http://github.com/rancher/lasso/pkg/controller.(*controller).processNextWorkItem(0xc000408dc0)|github.com/rancher/lasso/pkg/controller.(*controller).processNextWorkItem(0xc000408dc0)>
/go/pkg/mod/github.com/rancher/lasso@v0.0.0-20230428185353-36908edf817b/pkg/controller/controller.go:190 +0x46
<http://github.com/rancher/lasso/pkg/controller.(*controller).runWorker(0xc006e556a0?)|github.com/rancher/lasso/pkg/controller.(*controller).runWorker(0xc006e556a0?)>
/go/pkg/mod/github.com/rancher/lasso@v0.0.0-20230428185353-36908edf817b/pkg/controller/controller.go:179 +0x25
<http://k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1(0x627261686f?)|k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1(0x627261686f?)>
/go/pkg/mod/k8s.io/apimachinery@v0.25.4/pkg/util/wait/wait.go:157 +0x3e
<http://k8s.io/apimachinery/pkg/util/wait.BackoffUntil|k8s.io/apimachinery/pkg/util/wait.BackoffUntil>(0x544f4e1412726576?, {0x49732a0, 0xc006da1c80}, 0x1, 0xc005b08720)
/go/pkg/mod/k8s.io/apimachinery@v0.25.4/pkg/util/wait/wait.go:158 +0xb6
<http://k8s.io/apimachinery/pkg/util/wait.JitterUntil(0x7265767265730b22|k8s.io/apimachinery/pkg/util/wait.JitterUntil(0x7265767265730b22>?, 0x3b9aca00, 0x0, 0x2d?, 0x696669747265632d?)
/go/pkg/mod/k8s.io/apimachinery@v0.25.4/pkg/util/wait/wait.go:135 +0x89
<http://k8s.io/apimachinery/pkg/util/wait.Until(0x632e736c74072274|k8s.io/apimachinery/pkg/util/wait.Until(0x632e736c74072274>?, 0x120a384a00327472?, 0x632d72656e676973?)
/go/pkg/mod/k8s.io/apimachinery@v0.25.4/pkg/util/wait/wait.go:92 +0x25
created by <http://github.com/rancher/lasso/pkg/controller.(*controller).run|github.com/rancher/lasso/pkg/controller.(*controller).run>
/go/pkg/mod/github.com/rancher/lasso@v0.0.0-20230428185353-36908edf817b/pkg/controller/controller.go:147 +0x2a7
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=0x0 pc=0x2cacc0f]