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

Allow for consul service registration without having to use Consul as storage backend #3279

Closed
Gufran opened this issue Sep 1, 2017 · 3 comments
Labels
core Issues and Pull-Requests specific to Vault Core feature-request
Milestone

Comments

@Gufran
Copy link

Gufran commented Sep 1, 2017

Feature Request:
At the moment service discovery feature is only available if vault is configured to use Consul KV as storage backend. When using other storage backends such as DynamoDB one has to go out of their way to ensure that vault service is correctly reflected in catalog. There is no simple configuration.

For an example lets say I wish to use DynamoDB storage and also register active.vault.service.consul and standby.vault.service.consul, I'll need to add two service definitions in local consul agent with same name and different tag. At any given point in time only one of those two services is bound to be healthy depending on the status of Vault agent.
Furthermore, the catalog will wrongly report half of the vault services as unhealthy and that sets off all kind of godforsaken alerts.

Other option is to write some sort of script which would register and deregister vault service in catalog with appropriate tags, but reliability is a big concern.

@mjarmy
Copy link
Contributor

mjarmy commented Dec 6, 2019

The associated PR for this issue, #7887, has been merged, and will be present in the 1.4 release of Vault.

@Skaronator
Copy link
Contributor

Looks like Christmas came early, thanks!

@briankassouf
Copy link
Contributor

Closing since #7887 is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Issues and Pull-Requests specific to Vault Core feature-request
Projects
None yet
Development

No branches or pull requests

5 participants