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
Fixing vSphere Cloud Provider to use "vsphere-cloud-provider" to create ClientBuilder #57286
Fixing vSphere Cloud Provider to use "vsphere-cloud-provider" to create ClientBuilder #57286
Conversation
…ud Provider is not using lower case naming while creating clientBuilder. With this fix, ClientBuilder is created using lowercase naming.
/assign @abrarshivani |
/ok-to-test |
CI isn't going to do much for us here, since this was failing as-is and wasn't caught by CI |
totally @liggitt we'd need that just to keep the bots happy (and get the thing merged eventually). Not sure if there is a way to do this without kicking off the tests for folks who are not maintainers |
@rohitjogvmw Where you able to produce same failure scenario? |
@rohitjogvmw I was able to succeed in deploying a K8s cluster with official google container image (gcr.io/google_containers/hyperkube-amd64:v1.9.0) and cloud provider as vsphere.
|
@abrarshivani I also ran into this issue.
|
Hi @abrarshivani, |
@andremarianiello For me controller manager is up all the time. It seems that @rohitjogvmw has successfully tested and verified the fix. @rohitjogvmw Sure, I will approve it. BTW, just curious to know how you were able to reproduce it? |
/approve |
@abrarshivani what is the name of the created vsphere service account on your healthy cluster? |
@abrarshivani, my change is confirmed by @andremarianiello. |
@andremarianiello Thanks for validating the change. Following are the pods running on Kubernetes cluster configured with vsphere cloud provider.
Following are the service accounts,
K8s cluster version:
|
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abrarshivani, rohitjogvmw Associated issue: #57279 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/test pull-kubernetes-e2e-gce |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
…-upstream-release-1.9 Automatic merge from submit-queue. Automated cherry pick of #57286 upstream release-1.9 Cherry pick of #57286 on release-1.9 #57286: Fixing vSphere Cloud Provider to use "vsphere-cloud-provider" to create ClientBuilder **Release note:** ``` This fixes controller manager crash in certain vSphere cloud provider environment. ``` cc: @rohitjogvmw @abrarshivani
What this PR does / why we need it:
vSphere cloud Provider is not using lower case naming while creating clientBuilder.
With this fix, ClientBuilder is created using lowercase naming.
With mixed upper-lower case name, controller manager is crashing.
Which issue(s) this PR fixes
Fixes # #57279
Special notes for your reviewer:
None
Release note: