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

ETCDCache Storage: Connection failed #32

Open
khartahk opened this issue Apr 3, 2020 · 0 comments
Open

ETCDCache Storage: Connection failed #32

khartahk opened this issue Apr 3, 2020 · 0 comments

Comments

@khartahk
Copy link

khartahk commented Apr 3, 2020

I'm trying to integrate github-authorized-keys with bastion. It's working without the etcd caching. When I enable caching I get the following error (it still works just the key is always requested from github):

{"class":"ETCDCache","level":"error","method":"Set","msg":"Storage: Connection failed","time":"2020-04-03T20:04:22Z"}

etcd is installed on the host Ubuntu 18.04 and is visible in github-authorized-keys docker when running
docker exec -it github-authorized-keys netstat -tlpn
output:

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:2379          0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.1:2380          0.0.0.0:*               LISTEN      -

Running etcdctl --endpoints=http://localhost:2379 set foo bar works and returns bar

What am I missing?

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

1 participant