-
Notifications
You must be signed in to change notification settings - Fork 15
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 is complete and does not open properly. #226
Comments
Looking at your stack trace, you're trying to expose the Nexus server in Kubernetes using OpenShift approach. Can you try modifying the CR to use https://github.com/m88i/nexus-operator/#network-on-kubernetes-114 |
Thanks, I will try |
|
I tried this configuration after installing operator but it didn't work. apiVersion: apps.m88i.io/v1alpha1 |
Hi! MinimumReplicasUnavailable means that you don't have the resources to start the pod: https://github.com/kubernetes/kubernetes/blob/3615291/pkg/controller/deployment/util/deployment_util.go#L98-L100 |
Describe the bug
Installation is complete and does not open properly.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Environment
A concise description of your environment: OpenShift or Kubernetes version, Nexus Operator version.
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.14", GitCommit:"89182bdd065fbcaffefec691908a739d161efc03", GitTreeState:"clean", BuildDate:"2020-12-18T12:11:25Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.15", GitCommit:"8f1e5bf0b9729a899b8df86249b56e2c74aebc55", GitTreeState:"clean", BuildDate:"2022-01-19T17:23:01Z", GoVersion:"go1.15.15", Compiler:"gc", Platform:"linux/amd64"}
Additional context
Error Stack:
` 2022-04-09T13:01:55.208Z INFO setup The operator is running as cluster scoped. It will watch and manage resources in all namespaces {"Env Var lookup": "WATCH_NAMESPACE"}
I0409 13:01:56.258949 1 request.go:645] Throttling request took 1.022870646s, request: GET:https://10.43.0.1:443/apis/apiextensions.k8s.io/v1beta1?timeout=32s
2022-04-09T13:01:57.836Z INFO controller-runtime.metrics metrics server is starting to listen {"addr": "127.0.0.1:8080"}
2022-04-09T13:01:57.843Z INFO setup starting manager
I0409 13:01:57.843811 1 leaderelection.go:243] attempting to acquire leader lease nexus-operator-system/363e6adb.m88i.io...
2022-04-09T13:01:57.845Z INFO controller-runtime.manager starting metrics server {"path": "/metrics"}
I0409 13:02:15.304955 1 leaderelection.go:253] successfully acquired lease nexus-operator-system/363e6adb.m88i.io
2022-04-09T13:02:15.305Z DEBUG controller-runtime.manager.events Normal {"object": {"kind":"ConfigMap","namespace":"nexus-operator-system","name":"363e6adb.m88i.io","uid":"832b343a-3278-431c-a690-c8ffa509b5ca","apiVersion":"v1","resourceVersion":"198657242"}, "reason": "LeaderElection", "message": "nexus-operator-controller-manager-6989b4747f-kc254_a8c5ba91-21be-49ff-ae2a-e76a50d49ea2 became leader"}
2022-04-09T13:02:15.305Z INFO controller Starting EventSource {"reconcilerGroup": "apps.m88i.io", "reconcilerKind": "Nexus", "controller": "nexus", "source": "kind source: /, Kind="}
2022-04-09T13:02:15.406Z INFO controller Starting EventSource {"reconcilerGroup": "apps.m88i.io", "reconcilerKind": "Nexus", "controller": "nexus", "source": "kind source: /, Kind="}
2022-04-09T13:02:15.508Z INFO controller Starting EventSource {"reconcilerGroup": "apps.m88i.io", "reconcilerKind": "Nexus", "controller": "nexus", "source": "kind source: /, Kind="}
2022-04-09T13:02:15.609Z INFO controller Starting EventSource {"reconcilerGroup": "apps.m88i.io", "reconcilerKind": "Nexus", "controller": "nexus", "source": "kind source: /, Kind="}
2022-04-09T13:02:15.710Z INFO controller Starting EventSource {"reconcilerGroup": "apps.m88i.io", "reconcilerKind": "Nexus", "controller": "nexus", "source": "kind source: /, Kind="}
2022-04-09T13:02:15.811Z INFO controller Starting EventSource {"reconcilerGroup": "apps.m88i.io", "reconcilerKind": "Nexus", "controller": "nexus", "source": "kind source: /, Kind="}
2022-04-09T13:02:15.912Z INFO controller Starting EventSource {"reconcilerGroup": "apps.m88i.io", "reconcilerKind": "Nexus", "controller": "nexus", "source": "kind source: /, Kind="}
I0409 13:02:16.962870 1 request.go:645] Throttling request took 1.044678154s, request: GET:https://10.43.0.1:443/apis/networking.k8s.io/v1?timeout=32s
2022-04-09T13:02:18.521Z ERROR controller-runtime.source if kind is a CRD, it should be installed before calling Start {"kind": "Route.route.openshift.io", "error": "no matches for kind "Route" in version "route.openshift.io/v1""}
github.com/go-logr/zapr.(*zapLogger).Error
sigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start
sigs.k8s.io/controller-runtime/pkg/manager.(*controllerManager).startRunnable.func1
2022-04-09T13:02:18.521Z ERROR setup problem running manager {"error": "no matches for kind "Route" in version "route.openshift.io/v1""}
github.com/go-logr/zapr.(*zapLogger).Error
main.main
runtime.main
The text was updated successfully, but these errors were encountered: