-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reconciler error happening on my pod while running with ansible-operator.version v1.19.1 and v1.20.0 #5767
Comments
Hi @becalledbyJoyce, Thanks for submitting the issue. Can you provide us with context around this.
Any other information will be helpful in debugging this. If I understand correctly, this issue shows up only after 1.17.0, correct? Please let me know the answer to the above questions and I will take a look at it. |
Hi @VenkatRamaraju / @asmacdo , Is there update on my request. Thanks and regards, |
The go version used is not the go version supported. Could you please use go 1.17 and let us know if the error persists? |
HI @camilamacedo86 , We are already using the version and we are getting the above vulnerabilities. |
hi @camilamacedo86 , cant you do anything regarding this request. without the go version update, we will face vulnerability in our product. |
Hi @becalledbyJoyce, see the error:
That shows an issue to connect to these apis. I mean, It does not seem to be related to what is scaffold by default and by SDK tool. It is related to what is implemented by you in your specific project and/or your specific environment. Regards the go version it is not supported with the latest SDK release and we are working to support it in the next releases. More info: kubernetes-sigs/kubebuilder#2559. However, you are using Ansible so you do not need to have to go installed either. So, maybe if you provide additional info we might find something to try to help you out: Do we need to know the steps to reproduce this issue? |
Hi @camilamacedo86 , Thanks and regards, |
@becalledbyJoyce could you try upgrading to operator-sdk 1.22? This uses go 1.18. If this is still an issue please reopen. |
Bug Report
What did you do?
We are trying with ansible-operator.version v1.19.1 and v1.20.0 on our pod and its get "reconciler error"
{"level":"error","ts":1651176144.8050282,"logger":"controller.masterdatamanagement-controller","msg":"Reconciler error","name":"mdm-cr","namespace":"mdmcpd","error":"Get "https://x.x.x.x/apis/mdm.cpd.ibm.com/v1/namespaces/mdmcpd/masterdatamanagements/mdm-cr\": dial tcp x.x.x.x: connect: connection refused","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227"}
{"level":"error","ts":1651176144.8061016,"logger":"reconciler","msg":"Unable to update the status to mark cr as running","job":"3368134264259628468","name":"mdm-cr","namespace":"mdmcpd","error":"Get "https://x.x.x.x/apis/mdm.cpd.ibm.com/v1/namespaces/mdmcpd/masterdatamanagements/mdm-cr\": dial tcp x.x.x.x: connect: connection refused","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:114\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:311\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227"}
{"level":"error","ts":1651176144.8062005,"logger":"controller.masterdatamanagement-controller","msg":"Reconciler error","name":"mdm-cr","namespace":"mdmcpd","error":"Get "https://x.x.x.x/apis/mdm.cpd.ibm.com/v1/namespaces/mdmcpd/masterdatamanagements/mdm-cr\": dial tcp x.x.x.x: connect: connection refused","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227"}
error: http2: server sent GOAWAY and closed the connection; LastStreamID=3, ErrCode=NO_ERROR, debug=""
What did you expect to see?
We don't expect any reconciler error(expect to be working like 1.17.0)
What did you see instead? Under which circumstances?
Environment
Operator type:
Ansible
Kubernetes cluster type:
Openshift
$ operator-sdk version
<ansible-operator.version>v1.19.1</ansible-operator.version>
and
<ansible-operator.version>v1.20.0</ansible-operator.version>
$ go version
(if language is Go)$ kubectl version
Server Version: version.Info{Major:"1", Minor:"21", BuildDate:"2022-03-10T05:52:32Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"linux/amd64"}
Possible Solution
Additional context
Please find the full error
{"level":"error","ts":1651176144.8050282,"logger":"controller.masterdatamanagement-controller","msg":"Reconciler error","name":"mdm-cr","namespace":"mdmcpd","error":"Get "https://x.x.x.x/apis/mdm.cpd.ibm.com/v1/namespaces/mdmcpd/masterdatamanagements/mdm-cr\": dial tcp x.x.x.x: connect: connection refused","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227"}
{"level":"error","ts":1651176144.8061016,"logger":"reconciler","msg":"Unable to update the status to mark cr as running","job":"3368134264259628468","name":"mdm-cr","namespace":"mdmcpd","error":"Get "https://x.x.x.x/apis/mdm.cpd.ibm.com/v1/namespaces/mdmcpd/masterdatamanagements/mdm-cr\": dial tcp x.x.x.x: connect: connection refused","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:114\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:311\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227"}
{"level":"error","ts":1651176144.8062005,"logger":"controller.masterdatamanagement-controller","msg":"Reconciler error","name":"mdm-cr","namespace":"mdmcpd","error":"Get "https://x.x.x.x/apis/mdm.cpd.ibm.com/v1/namespaces/mdmcpd/masterdatamanagements/mdm-cr\": dial tcp x.x.x.x: connect: connection refused","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227"}
error: http2: server sent GOAWAY and closed the connection; LastStreamID=3, ErrCode=NO_ERROR, debug=""
The text was updated successfully, but these errors were encountered: