operator-sdk: My helm operator hang after I upgraded helm-operator from v1.33.0 to v1.34.0
Bug Report
What did you do?
I upgraded the helm-operator version from v1.33.0 to v1.34.0
What did you expect to see?
My helm operator deploy helm chart successfully
What did you see instead? Under which circumstances?
My helm operator hang doing new install.
I did notice there is great jump of version for helm-operator-plugins. Not sure if this related or not
- github.com/operator-framework/helm-operator-plugins v0.0.12-0.20231013185714-215d1f8a3e7d
+ github.com/operator-framework/helm-operator-plugins v0.1.3
I have anonymized the log output below.
Working helm operator log running v1.33.0
{"level":"info","ts":"2024-02-29T19:16:11Z","logger":"cmd","msg":"Version","Go Version":"go1.21.5","GOOS":"linux","GOARCH":"amd64","helm-operator":"v1.33.0","commit":"542966812906456a8d67cf7284fc6410b104e118"}
...
{"level":"info","ts":"2024-02-29T19:17:01Z","msg":"Starting EventSource","controller":"myhelm-controller","source":"kind source: *unstructured.Unstructured"}
{"level":"info","ts":"2024-02-29T19:17:01Z","msg":"Starting Controller","controller":"myhelm-controller"}
{"level":"info","ts":"2024-02-29T19:17:01Z","msg":"Starting workers","controller":"myhelm-controller","worker count":16}
{"level":"info","ts":"2024-02-29T19:17:12Z","msg":"Starting EventSource","controller":"myhelm-controller","source":"kind source: *unstructured.Unstructured"}
{"level":"info","ts":"2024-02-29T19:17:12Z","logger":"helm.controller","msg":"Watching dependent resource","ownerApiVersion":"my.example.com/v1alpha1","ownerKind":"myKind","apiVersion":"v1","kind":"Service"}
...
myhelm chart is deployed
helm operator log running v1.34.0
{"level":"info","ts":"2024-03-04T20:12:52Z","logger":"cmd","msg":"Version","Go Version":"go1.21.7","GOOS":"linux","GOARCH":"amd64","helm-operator":"v1.34.0","commit":"4e01bcd726aa8b0e092fcd3ab874961e276f3db3"}
...
{"level":"info","ts":"2024-03-04T20:13:43Z","msg":"Starting EventSource","controller":"myhelm-controller","source":"kind source: *unstructured.Unstructured"}
{"level":"info","ts":"2024-03-04T20:13:43Z","msg":"Starting Controller","controller":"myhelm-controller"}
{"level":"info","ts":"2024-03-04T20:13:44Z","msg":"Starting workers","controller":"myhelm-controller","worker count":16}
NO More Output
Environment
Operator type:
Kubernetes cluster type:
$ operator-sdk version
operator-sdk-v1.12.0+git
$ go version (if language is Go)
go: 1.21.1
$ kubectl version
Server Version: version.Info{Major:“1”, Minor:“27”, GitVersion:“v1.27.10+28ed2d7”, GitCommit:“c725f2ce5164bf4165b22d6c28dd0ace4b3b7e9b”, GitTreeState:“clean”, BuildDate:“2024-01-23T03:16:21Z”, GoVersion:“go1.20.12 X:strictfipsruntime”, Compiler:“gc”, Platform:“linux/amd64”}
Possible Solution
Additional context
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 36 (12 by maintainers)
@joelanford @acornett21 Can we reopen this issue, since based on the recent comments https://github.com/operator-framework/operator-sdk/pull/6769 doesn’t seem to have fixed it completely.
Hi @kschanrtp You’re in control of your operator controller image and it’s updates, if you want/need to update you can update the
Dockerfilein your own operator project to do so. Something like:Or if you only want to update the libraries with CVE’s you can do those individually.
@sudhir-kelkar I have not looked at this, I was just relating all the issues that came in, and asking if this still existed in 1.34.1, since 1.34.0 release was incomplete. I personally will not have time to look at this for a few weeks, I’m only a contributor to this project, not a dedicated maintainer.
@kschanrtp
1.34.0’s release did not complete fully. Can you try updating to1.34.1to see if this resolves your issue?