Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[incubartor/etcd] unable to reach etcd from another namespace #7899

Closed
rwarford opened this issue Sep 21, 2018 · 4 comments
Closed

[incubartor/etcd] unable to reach etcd from another namespace #7899

rwarford opened this issue Sep 21, 2018 · 4 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@rwarford
Copy link

Is this a request for help?:

No

Is this a BUG REPORT or FEATURE REQUEST? (choose one):

BUG REPORT

Version of Helm and Kubernetes:

helm version
Client: &version.Version{SemVer:"v2.10.0", GitCommit:"9ad53aac42165a5fadc6c87be0dea6b115f93090", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.10.0", GitCommit:"9ad53aac42165a5fadc6c87be0dea6b115f93090", GitTreeState:"clean"}

kubectl version
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.5", GitCommit:"cce11c6a185279d037023e02ac5249e14daa2
2bf", GitTreeState:"clean", BuildDate:"2017-12-07T16:16:03Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"windows/amd6
4"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0
eaead", GitTreeState:"clean", BuildDate:"2018-03-26T16:44:10Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd6
4"}

Which chart:
incubator/etcd

What happened:
Installed etcd into a namespace called "etcd".
Installed vault into a namespace called "vault".
Attempted to get vault status with "vault status".
Got:
Error checking seal status: Error making API request.

URL: GET http://127.0.0.1:8200/v1/sys/seal-status
Code: 500. Errors:

What you expected to happen:
Expected result from vault:
Error checking seal status: Error making API request.

URL: GET http://127.0.0.1:8200/v1/sys/seal-status
Code: 400. Errors:

  • server is not yet initialized

How to reproduce it (as minimally and precisely as possible):
kubectl create namespace etcd
kubectl create namespace vault
helm install incubator/etcd --name etcd --namespace etcd
helm install incubator/vault --name vault --namespace vault --set vault.dev=false --set vault.config.storage.etcd.address="http://etcd.etcd:2379",vault.config.storage.etcd.path="vault"

Anything else we need to know:
Notice the error message from vault does not include a fully qualified domain name (FQDN). The FQDN should be etcd-0.etcd.etcd.svc.cluster.local. Just adding the namespace (etcd-0.etcd.etcd) is sufficient. I've verified that it's possible to fix this by updating the statefulset to include the namespace when joining members.

@stale
Copy link

stale bot commented Oct 21, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

@stale stale bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 21, 2018
@rwarford
Copy link
Author

Is there something more I need to do get this issue reviewed?

@stale stale bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 22, 2018
@stale
Copy link

stale bot commented Nov 21, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

@stale stale bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 21, 2018
@stale
Copy link

stale bot commented Dec 5, 2018

This issue is being automatically closed due to inactivity.

@stale stale bot closed this as completed Dec 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant