Skip to content
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

Installation fails in ROKS #19

Open
andrewkandzuba opened this issue Nov 11, 2021 · 1 comment
Open

Installation fails in ROKS #19

andrewkandzuba opened this issue Nov 11, 2021 · 1 comment

Comments

@andrewkandzuba
Copy link

CP4MCM installation fails when the target platform is OCP of ROKS cluster of 4.6 version so that CP4MCM deployment is not available.

The Installation logs are attached bellow.

It is possible that the reason of the behavior is about failure of the following pod: ibm-management-orchestrator-6d9fb4bf76-wbrtc. It crashed with the following log:

{"level":"info","ts":1636657428.3470438,"logger":"cmd","msg":"Operator Version: 0.0.1"}
{"level":"info","ts":1636657428.3471086,"logger":"cmd","msg":"Go Version: go1.14.15"}
{"level":"info","ts":1636657428.3471153,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"}
{"level":"info","ts":1636657428.347119,"logger":"cmd","msg":"Version of operator-sdk: v0.18.0"}
{"level":"info","ts":1636657428.347666,"logger":"leader","msg":"Trying to become the leader."}
I1111 19:03:49.596213       1 request.go:621] Throttling request took 1.042867013s, request: GET:https://172.21.0.1:443/apis/template.openshift.io/v1?timeout=32s
{"level":"info","ts":1636657438.0723329,"logger":"leader","msg":"Found existing lock with my name. I was likely restarted."}
{"level":"info","ts":1636657438.0723765,"logger":"leader","msg":"Continuing as the leader."}
I1111 19:03:59.622625       1 request.go:621] Throttling request took 1.481794472s, request: GET:https://172.21.0.1:443/apis/operator.open-cluster-management.io/v1?timeout=32s
{"level":"info","ts":1636657447.6421874,"logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":"0.0.0.0:8383"}
{"level":"info","ts":1636657447.642628,"logger":"cmd","msg":"Registering Components."}
I1111 19:04:09.644523       1 request.go:621] Throttling request took 1.905038411s, request: GET:https://172.21.0.1:443/apis/project.openshift.io/v1?timeout=32s
{"level":"info","ts":1636657457.1484315,"logger":"cmd","msg":"Could not generate and serve custom resource metrics","error":"discovering resource information failed for OperandConfig in operator.ibm.com/v1alpha1: unable to retrieve the complete list of server APIs: proxy.open-cluster-management.io/v1beta1: the server is currently unable to handle the request"}
I1111 19:04:19.648865       1 request.go:621] Throttling request took 2.487947553s, request: GET:https://172.21.0.1:443/apis/migration.k8s.io/v1alpha1?timeout=32s
{"level":"info","ts":1636657466.7751484,"logger":"metrics","msg":"Metrics Service object updated","Service.Name":"ibm-management-orchestrator-metrics","Service.Namespace":"openshift-operators"}
I1111 19:04:29.675502       1 request.go:621] Throttling request took 2.835007992s, request: GET:https://172.21.0.1:443/apis/operators.coreos.com/v1alpha2?timeout=32s
{"level":"info","ts":1636657476.279688,"logger":"cmd","msg":"Could not create ServiceMonitor object","error":"unable to retrieve the complete list of server APIs: proxy.open-cluster-management.io/v1beta1: the server is currently unable to handle the request"}
{"level":"info","ts":1636657476.2797625,"logger":"cmd","msg":"Starting the Cmd."}
{"level":"info","ts":1636657476.28001,"logger":"controller-runtime.manager","msg":"starting metrics server","path":"/metrics"}
{"level":"info","ts":1636657476.2801425,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"installation-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1636657476.380749,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"installation-controller","source":"kind source: /, Kind="}
I1111 19:04:39.681102       1 request.go:621] Throttling request took 3.275188281s, request: GET:https://172.21.0.1:443/apis/metal3.io/v1alpha1?timeout=32s
{"level":"error","ts":1636657485.888115,"logger":"controller-runtime.source","msg":"if kind is a CRD, it should be installed before calling Start","kind":"OperandRequest.operator.ibm.com","error":"no matches for kind \"OperandRequest\" in version \"operator.ibm.com/v1alpha1\"","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/home/travis/gopath/pkg/mod/github.com/go-logr/[email protected]/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start\n\t/home/travis/gopath/pkg/mod/sigs.k8s.io/[email protected]/pkg/source/source.go:105\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/home/travis/gopath/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:165\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start\n\t/home/travis/gopath/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:198\nsigs.k8s.io/controller-runtime/pkg/manager.(*controllerManager).startLeaderElectionRunnables.func1\n\t/home/travis/gopath/pkg/mod/sigs.k8s.io/[email protected]/pkg/manager/internal.go:514"}
{"level":"error","ts":1636657485.8882432,"logger":"cmd","msg":"Manager exited non-zero","error":"no matches for kind \"OperandRequest\" in version \"operator.ibm.com/v1alpha1\"","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/home/travis/gopath/pkg/mod/github.com/go-logr/[email protected]/zapr.go:128\nmain.main\n\tcp4mcm-installer/cmd/manager/main.go:131\nruntime.main\n\t/home/travis/.gimme/versions/go1.14.15.linux.amd64/src/runtime/proc.go:203"}
@andrewkandzuba
Copy link
Author

install-2021-11-11.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant