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

[v2] DNS resolution failing when using vault go binary #1681

Closed
scottillogical opened this issue Apr 22, 2021 · 2 comments
Closed

[v2] DNS resolution failing when using vault go binary #1681

scottillogical opened this issue Apr 22, 2021 · 2 comments

Comments

@scottillogical
Copy link

scottillogical commented Apr 22, 2021

Reproduced on TP 2.1.2 and 2.2.0 and vault 1.0.0 and 1.7.1. This previously worked on tp v1.

git:(master) ✗ export VAULT_ADDR='http://vault-sandbox-scott.sandbox-scott:8200'
git:(master) ✗ vault status
Error checking seal status: Get "http://vault-sandbox-scott.sandbox-scott:8200/v1/sys/seal-status": dial tcp: lookup vault-sandbox-scott.sandbox-scott on 8.8.8.8:53: no such host
git:(master) ✗ curl http://vault-sandbox-scott.sandbox-scott:8200/v1/sys/seal-status
{"type":"shamir","initialized":true,"sealed":false,"t":3,"n":5,"progress":0,"nonce":"","version":"1.7.0","migration":false,"cluster_name":"vault-cluster-f5d424fe","cluster_id":"16fd5e25-8032-1dbe-76e2-0a1e931296e0","recovery_seal":true,"storage_type":"file"}

Steps to reproduce:

  1. Install vault into your namespace via helm helm -n $namespace install --wait --create-namespace vault-$namespace hashicorp/vault
  2. boot up telepresence 2 via tp connect (--mapped-namepaces didnt help)
  3. Install vault locally and attempt to to connect to the deployed vault with the above steps
@scottillogical
Copy link
Author

I resolved this by using a version of vault built with CGO_ENABLED=1

@scottillogical
Copy link
Author

reference to underlying vault issue for posterity hashicorp/vault#1159

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