Description of problem: Customer is able to register masters with Azure api but not nodes. Nodes start up normally but if they enable azure cloud provider it fails to start. Version-Release number of selected component (if applicable): 3.7 How reproducible: Unconfirmed Steps to Reproduce: 1. Install openshift successfully 2. Add azure cloud config 3. Restart node Actual results: Kubelet failed to get node info: failed to get zone from cloud provider: invalid character 'B' looking for beginning of value] Expected results: Start normally Additional info: Will attach configs in private comment
Created attachment 1428249 [details] Output from journal of errors output from following command in sosreport: cat sos_commands/origin/journal* | grep zone
Not sure which kubelet.go is reporting this issue/responsible for cloud provider integration. Possibly https://github.com/openshift/kubernetes/blob/release-1.9.1/pkg/kubelet/kubelet.go but it only has similar messages, not the same.
Problem solved. Had to add: 169.254.169.254 to no_proxy settings
We should make sure to add cloud provider metadata endpoints to the list of no_proxy hosts by default.
PR: https://github.com/openshift/openshift-ansible/pull/8203
This is in 3.10
Verified in openshift-ansible-3.10.7-1.git.220.50204c4.el7.noarch.rpm For any installation with global proxy variables defined, '169.254.169.254' would be added to NO_PROXY list by default.