-
Notifications
You must be signed in to change notification settings - Fork 40k
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
error: couldn't read version from server: Get https://10.245.1.2/api: dial tcp 10.245.1.2:443: connection refused #10522
Comments
the same for the first time when i ran v0.20.1 (the published one) |
here is the installation log on my core i5-5200U ubuntu 14.04 3.16 kernel
|
See my comment on #10158 (comment) |
I think @dchen1107 is probably right. There's a 0.20.2 brewing already (and we should have it out later today), so hang tight. |
I just tried this also with Release 0.20.2 Candidate on Ubuntu 14.04 with VirtualBox, Vagrant and I am seeing:
|
@dchen1107 - Is there someone on your team that could take a look? |
Honestly no, everyone is busy, and working on either cluster or network related issue. But I talked to @mikedanese briefly, he kindly agree to take a look. @mikedanese The cloud provider here is Vagrant, if you could reproduce the issue, that would be huge help. Feel free to re-assign it to me if you are blocked. Thanks! |
cc/ @justinsb since he looked into vagrant issue lately. cc/ @derekwaynecarr on Vagrant. |
+1, 0.20.2 still has this issue |
+1 |
The fix for this issue is this PR: |
Assigning issue to me since I am focused today on closing out remaining Vagrant setup issues. |
Sigh, I'm sorry. So busy working through unassigned PRs I forgot to work through my own queue. |
@derekwaynecarr, I was running into the same issue and cherry picked your changes in #10492, but still have the same issue. Prior to those changes the kubelet never started on the master. With the changes it does start, but I still get:
It looks like #10562 also needed before vagrant works correctly. |
this error is gone in 0.21.0 rc (39b013a)
|
I am using Mac OSX 10.10.5 / VMWare Fusion / bento/fedora-21/ Vagrant 1.7.4 / and built kubernetes from master (GitVersion:"v1.1.0-alpha.1.687+818946080904c8") and I am seeing this issue when I run ./cluster/kube-up.sh Each machine instance has been created/updated. |
I'm running into a similar issue with a Kubernetes cluster on AWS. I set it up last week and now can't connect to the master node: oamasood@ldmsdloan01:~/src/Talent-Web/web2py$ kubectl cluster-info Any help would be appreciated. |
I find that if you wait for the master and minion to calm down on activity after a bit (~5 minutes) the kubectl commands work, however the problem is I don't see any nodes running. I have re-installed virtual box, made sure my .kube directory is clean and I am now pulling just the stock vagrant box cube fedora 21 and kubernetes 1.0.4 release. I do not see any docker processes running on my minion. Other than that it seems that the cluster is running: $ ./cluster/kubectl.sh get cs $ ./cluster/kubectl.sh cluster-info yggdrasil:kubernetes jonathantronson$ vagrant ssh master [vagrant@kubernetes-minion-1 ~]$ sudo docker ps |
The only errors in my minion salt log are: 2015-09-16 23:40:22,049 [salt.loaded.int.module.cmdmod][ERROR ][2668] Command 'systemctl status docker.service' failed with return code: 3 2015-09-16 23:40:22,049 [salt.loaded.int.module.cmdmod][ERROR ][2668] output: * docker.service - Docker Application Container Engine |
Hi, I am running the latest version of kubernetes tar ball (v1.1.3) and facing issues with ./kube-up.sh cluster "vagrant" set. Waiting for each minion to be registered with cloud provider Thank You |
Mac 10.11.2 installing kubernetes 1.1.3 got same issue:
I think the fix didn't catch the root cause. |
same issues on 1.1.7 cluster "vagrant" set. |
when I rerun the cluster/kube-up.sh, the error still exist, and can't get nodes/services etc status. The first time, it works. weird. |
@derekwaynecarr can u help to take a look this issues? thanks |
@henryon - can you open a new issue and describe what host environment you are using? Are you testing from master or a branch? cc me on the issue. |
@derekwaynecarr I used released version 1.1.7. btw, I tried several times. even at the last step failed. I can run ./cluster/kubectl.sh get pods/services etcs. seems during verify stage. it will search local kubectl files? I am not sure. as on my Mac , there have some mismatch version kubectl file. |
I experience the very same issue on AWS and, usually, I can't connect to my cluster anymore the day after I had set it up - which is a huge blocker. Here's the output from
|
I expreience the same issue on Ubuntu.
|
The issue disappeared for me with the following version:
|
I encounter the same problem,can you give me a detail configuration of kuberenetes? ➜ ubuntu /opt/bin/kubectl version |
On latest Kubernetes version Release 0.20.1 Candidate I get the following when you setup cluster with "./cluster/kube-up.sh". This is on Mac OSX with VirtualBox, Vagrant
Any ideas, thanks
....
==> minion-3: * INFO: Running daemons_running()
==> minion-3: * INFO: Salt installed!
Wrote config for vagrant to /Users/user1/.kube/config
Each machine instance has been created/updated.
Now waiting for the Salt provisioning process to complete on each machine.
This can take some time based on your network, disk, and cpu speed.
It is possible for an error to occur during Salt provision of cluster and this could loop forever.
Validating master
Validating minion-1
Validating minion-2
Validating minion-3
.....
Waiting for each minion to be registered with cloud provider
error: couldn't read version from server: Get https://10.245.1.2/api: dial tcp 10.245.1.2:443: connection refused
kubernetes user1$ ./cluster/kubectl.sh get nodes
error: couldn't read version from server: Get https://10.245.1.2/api: dial tcp 10.245.1.2:443: connection refused
The text was updated successfully, but these errors were encountered: