Open venkatnpedada opened 2 years ago
Hey @venkatnpedada
Do you have ACL enabled? If so you need to create an ACL policy and associated ACL token in the cli to match your key_prefix
.
I'll linked a detailed answer here from one of our engineers that outlines those steps, and a tutorial we have on ACL setup that might be helpful to look at
have same issue, I set new kv in dc A, but this key is absent in dc B. ACL enabled and service has permissions to write.
Consul KV put is not working in cross datacenter setup
When I tried to put a KV from the datacenter A consul-client to datacenter B consul cluster, Im seeing below permission error. But I have given enough permissions for all the datacenter consul clusters
Reproduction Steps
Steps to reproduce this issue, eg:
gave below permission in both datacenter A and datacenter B consul clusters
Below is the error I got when i tried to put a KV from the datacenter A consul-client to datacenter B consul cluster,