Kube Util could not get api url from kubeconfig

Bug #1669788 reported by Chung Chih, Hung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-kubernetes
Confirmed
Undecided
Chung Chih, Hung

Bug Description

Kube Util could not get api url from kubeconfig when cluster name is not match with current-context

Current code flow will iterator each cluster in kube config, and then find matched name with current context. The cluster's server could not been found if cluster name is not match with current context. We should find match context name instead cluster name, and then using context's cluster name to find cluster. Finally get the cluster's server

Changed in kolla-kubernetes:
assignee: nobody → Chung Chih, Hung (lyanchih)
summary: - Kube Util could not get api url
+ Kube Util could not get api url from kubeconfig
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-kubernetes (master)

Fix proposed to branch: master
Review: https://review.openstack.org/441145

Changed in kolla-kubernetes:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-kubernetes (master)

Change abandoned by Jeffrey Zhang (jeffrey.zhang@99cloud.net) on branch: master
Review: https://review.openstack.org/441145

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.