Skip to content

Replication stops working for a particular k/v secrets #105

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

Open
udhaya123 opened this issue May 10, 2022 · 0 comments
Open

Replication stops working for a particular k/v secrets #105

udhaya123 opened this issue May 10, 2022 · 0 comments

Comments

@udhaya123
Copy link

udhaya123 commented May 10, 2022

Hi, We have identified a usecase where consul-replicate abruptly stops syncing a particular k/v secret from one data centre to another. We'd like to understand if this is expected behaviour or if it should be considered a bug.

Scenario explantation:
Primary Datacenter: DC1
Disaster Recovery Datacenter: DC2
Consul-replicate configure to replicate data from DC1 -> DC2

The Consul-replicate services runs on one of the two vault application servers in DC2. The kv pairs are successfully replicated from DC1 to DC2. For example, when we create a new secret in DC1, Delete a secret or edit a secret, it successfully replicates to DC2.

However, the data replication for a particular k/v pair abruptly stops working if:

  1. We log on to Vault via the UI on DC2 to query a replicated secret. i.e to check if a key and its value has been successfully replicated across to DC2.
  2. Then go back DC1 and edit the keyname for this particular k/v pair.

From that point onward the replication for this k/v stops working. Key or password value changes stop replicating across to DC2 for this particular k/v pair.

The current version of consul-replicate is v0.3.1, we tried upgrading it to version v0.4.0 but the issue remains the same.

We have observed the same behaviour consistently across different vault and consul versions,
Production setup:
vault v0.11.6
consul v1.2.4

Test setup:
Vault v1.4.2
Consul v1..6.9

The issues is the same in prod and test.
Any help/guidance would be appreciated.

Note: Once we restart vault in DC2, the replication seems to work ok for all the k/v pairs.

Thanks,

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