-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
gce: getInstancesByNames lookup by canonicalized names #26897
Comments
I firmly believe the issue is exactly what I reported because I was finally able to change the instance templates hostnames by using an overriden hostname (through kubelet Apparently the difference states in how CoreOS handles I can send a PR fixing this if you can confirm the behaviour on your side. |
I have also faced this issue, k8s
Now when I try to create a loadbalancer or nginx, this happens: (log from
As @glerchundi mentioned, can somebody please confirm this behaviour? |
Issues go stale after 30d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Hi guys,
I'm having a lot of troubles getting up my cluster with provider load balancers, concretely with GCE.
controller-manager
fails trying to retrieve instances by hostnames (usinggetInstancesByNames
method):I tried to compare the gce access implementation used in
1.1.4
(because I get into this when I was trying a cluster upgrade from1.1.4
to1.2.3
) with the master implementation and there is something that caught my attention.Why this piece of code doesn't make use of
canonicalizeInstanceName
-ed names instead of the ones provided by the user (by user I mean the full computer hostname):https://github.com/kubernetes/kubernetes/blob/v1.2.3/pkg/cloudprovider/providers/gce/gce.go#L2364-L2372
Maybe this is the reason why I'm getting 'instance not found' all the time.
Thanks in advance,
PD.: Before this I tried to search something related to this in stackoverflow and asked in slack with no answers at all...
The text was updated successfully, but these errors were encountered: