Skip to content
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: timed out for http://localhost:4001/v2/keys/ #1380

Closed
andrewmichaelsmith opened this issue Sep 19, 2014 · 5 comments
Closed

ERROR: timed out for http://localhost:4001/v2/keys/ #1380

andrewmichaelsmith opened this issue Sep 19, 2014 · 5 comments

Comments

@andrewmichaelsmith
Copy link
Contributor

When following the "run locally" guide I ran in to this issue:

root@kub:~/kubernetes# hack/local-up-cluster.sh
Building local go components
Starting etcd
ERROR: timed out for http://localhost:4001/v2/keys/

I found that is the function start_etcd which is calling (something like):

root@kub:~# etcd -name test -data-data /tmp/  -bind-addr 127.0.0.1:40001
flag provided but not defined: -name

I'm on Ubuntu 14.04 and installed etcd using the go get / go install as detailed in getting-started-guides/locally.md.

Update: This is because I'm using go get / go install.

If you take a look at https://github.com/coreos/etcd it says not to use the master branch (breaking changes).

You need to install etcd from the releases, not from go get.

So I suppose the guide should be updated to point to https://github.com/coreos/etcd/releases/ ?

andrewmichaelsmith added a commit to andrewmichaelsmith/kubernetes that referenced this issue Sep 19, 2014
To address kubernetes#1380, current version of etcd on master is incompatible with current version of kubernetes on master
@lavalamp
Copy link
Member

Hm, I thought we fixed this already? I guess maybe it was wrong in multiple places.

@andrewmichaelsmith
Copy link
Contributor Author

Certainly in the locally guide here: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/locally.md

It lists a "go get, go install" way to get etcd

@lavalamp
Copy link
Member

Thanks for the fix!

@mingfang
Copy link

what exact version of etcd do we need?

@brendandburns
Copy link
Contributor

If you look in the install-etcd.sh script it shows the revision we chose.

https://github.com/GoogleCloudPlatform/kubernetes/blob/master/hack/install-etcd.sh

Brendan
On Oct 25, 2014 9:49 PM, "Ming Fang" notifications@github.com wrote:

what exact version of etcd do we need?


Reply to this email directly or view it on GitHub
#1380 (comment)
.

deads2k pushed a commit to deads2k/kubernetes that referenced this issue Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants