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

Unable to get controller manager pod working #248

Open
harche opened this issue Nov 5, 2024 · 5 comments
Open

Unable to get controller manager pod working #248

harche opened this issue Nov 5, 2024 · 5 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@harche
Copy link

harche commented Nov 5, 2024

What happened:
I am trying to install latest development version own my cluster but for some reason the controller manager pod keeps complaining about following error,

2024-11-05T20:06:22Z	INFO	controller-runtime.webhook	Starting webhook server
2024-11-05T20:06:22Z	INFO	controller-runtime.webhook	Registering webhook	{"path": "/mutate-leaderworkerset-x-k8s-io-v1-leaderworkerset"}
2024-11-05T20:06:22Z	INFO	controller-runtime.builder	Registering a validating webhook	{"GVK": "leaderworkerset.x-k8s.io/v1, Kind=LeaderWorkerSet", "path": "/validate-leaderworkerset-x-k8s-io-v1-leaderworkerset"}
2024-11-05T20:06:22Z	INFO	controller-runtime.webhook	Registering webhook	{"path": "/validate-leaderworkerset-x-k8s-io-v1-leaderworkerset"}
2024-11-05T20:06:22Z	INFO	controller-runtime.certwatcher	Updated current TLS certificate
2024-11-05T20:06:22Z	INFO	controller-runtime.builder	Registering a mutating webhook	{"GVK": "/v1, Kind=Pod", "path": "/mutate--v1-pod"}
2024-11-05T20:06:22Z	INFO	controller-runtime.webhook	Registering webhook	{"path": "/mutate--v1-pod"}
2024-11-05T20:06:22Z	INFO	controller-runtime.webhook	Serving webhook server	{"host": "", "port": 9443}
2024-11-05T20:06:22Z	INFO	controller-runtime.builder	Registering a validating webhook	{"GVK": "/v1, Kind=Pod", "path": "/validate--v1-pod"}
2024-11-05T20:06:22Z	INFO	controller-runtime.certwatcher	Starting certificate watcher
2024-11-05T20:06:22Z	INFO	controller-runtime.webhook	Registering webhook	{"path": "/validate--v1-pod"}
2024-11-05T20:06:22Z	INFO	Starting workers	{"controller": "leaderworkerset", "controllerGroup": "leaderworkerset.x-k8s.io", "controllerKind": "LeaderWorkerSet", "worker count": 1}
2024/11/05 20:06:30 http: TLS handshake error from 10.129.0.22:41300: remote error: tls: bad certificate

Not sure what might be going wrong, any pointer is highly appreciated. Thanks.
What you expected to happen:
Manager pod to run without any error

How to reproduce it (as minimally and precisely as possible):
Simply executed kubectl apply --server-side -k github.com/kubernetes-sigs/lws/config/default?ref=main to get latest development version on my cluster.

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version):
$ kubectl version 
Client Version: v1.32.0-alpha.0.1043+91859c4cd2fba4
Kustomize Version: v5.4.2
Server Version: v1.31.2
  • LWS version (use git describe --tags --dirty --always): v0.4.0-32-gcdfbe81
  • Cloud provider or hardware configuration:
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@harche harche added the kind/bug Categorizes issue or PR as related to a bug. label Nov 5, 2024
@harche harche changed the title Unable to get manager working Unable to get controller manager pod working Nov 5, 2024
@kannon92
Copy link
Contributor

kannon92 commented Nov 6, 2024

cc @liurupeng @ahg-g

@liurupeng
Copy link
Collaborator

ok, checking

@ahg-g
Copy link
Contributor

ahg-g commented Nov 24, 2024

@harche are you still running into this issue? I am not able to reproduce.

@kannon92
Copy link
Contributor

This seems to be an issue when deploying LWS to Openshift clusters.

@ahg-g
Copy link
Contributor

ahg-g commented Dec 12, 2024

This seems to be an issue when deploying LWS to Openshift clusters.

Did you manage to root cause the issue? how are you deploying LWS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

4 participants