This repository was archived by the owner on Jul 30, 2021. It is now read-only.
generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 65
This repository was archived by the owner on Jul 30, 2021. It is now read-only.
CABPK controller contending lock with CAPI #271
Copy link
Copy link
Closed
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/activeIndicates that an issue or PR is actively being worked on by a contributor.Indicates that an issue or PR is actively being worked on by a contributor.
Milestone
Description
/kind bug
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
Running CABPK controller and CAPI controller in the same namespace. They are contending the leader elect lock
This is log from cabpk controller
yangshan-a02:v1alpha2 yangshan$ kubectl logs cabpk-controller-manager-644f88db48-s5npg -n b721480c4fc12e72896649c35c8543fb03ff1ea4 -f -c manager
I1004 16:29:14.967159 1 reflector.go:370] pkg/mod/k8s.io/[email protected]+incompatible/tools/cache/reflector.go:94: Watch close - *v1alpha2.Cluster total 0 items received
I1004 16:29:16.789416 1 leaderelection.go:326] lock is held by capi-controller-manager-74cb5b985f-kfmt6_009aa8d2-e577-11e9-be08-629a49ac5bcb and has not yet expired
What did you expect to happen:
They should both aqquire their own leader elect lock
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
I am running a set up with CAPI+CAPA+CABPK in one namespace. CAPI and CAPA seem to live with each other just fine. From the log, there is no error
Environment:
- Cluster API version: v0.2.2
- Cluster API Bootstrap Provider Kubeadm version: 0.1.1
- Cluster API Infrastructure Provider version: v0.4.0
- Kubernetes version: (use
kubectl version): 1.14 - OS (e.g. from
/etc/os-release):
Metadata
Metadata
Assignees
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/activeIndicates that an issue or PR is actively being worked on by a contributor.Indicates that an issue or PR is actively being worked on by a contributor.