-
Notifications
You must be signed in to change notification settings - Fork 582
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
Azure Cloud Provider Writing Empty File On System #454
Comments
Referencing PR: #449 |
Does this work now? It worked when I tried it today. |
@HighwayofLife it didn't work for me but can try again. |
@rossedman Can you post the logs of kubelet to see what went wrong, thanks. |
@galal-hussein @HighwayofLife Still getting multiple failures. The only log entries without flag dumps is this:
This makes sense if the |
Here is the full rke config, I redacted some things just like labels and secrets:
|
Pretty confused. This is getting written to file system now. I'm not sure what changed. Having different errors. Will close as I determine what happened. I did a |
Alright, so as strange as this seems I'm getting very inconsistent results. Sometimes it gets written to some nodes, sometimes it doesnt get written, sometimes it gets written with line breaks between every line in the cloud-config.json |
One more addition to this. Now I am getting even more granular misses. Some of the fields will be empty. Just had a run where |
Still trying to track this down. every now and then the stars will align and the file will write to the servers and when it does I get this error: kubernetes/kubeadm#484 I tried to use kube 1.9 but was never able to get the files to write again. |
I have confirmed that this is an issue in the latest master. The log indicates that the cloud config is being deployed to the node, but the file is empty. I'm unclear why and am working on debugging it. I’ve confirmed that
However, the path doesn’t even show it was written to…
|
@HighwayofLife can you post your cluster.yml file, it maybe a problem with the cloud config, also can you get the logs of kubelet container |
This was fixed in #533 for me. |
This also fixed here https://github.com/rancher/rke-tools/blob/master/cloud-provider.sh#L32-L33 |
@HighwayofLife @galal-hussein Thanks! I just read the PR too. Super cool. Getting more familiar with the codebase, I'm guessing I could've fixed this 🥁 |
RKE version: v0.1.5-rc1
Docker version: (
docker version
,docker info
preferred) 17.09.1-ceOperating system and kernel: (
cat /etc/os-release
,uname -r
preferred) 4.14.19-coreosType/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO) Azure
cluster.yml file:
Steps to Reproduce:
Run RKE against an Azure cluster on CoreOS. The file is output to the system at
/etc/kubernetes/cloud-config.json
but nothing is written to the file. Causes API server to fail to start.Results:
API server fails to start causing deployment to fail.
The text was updated successfully, but these errors were encountered: