Consul is repeatedly spamming my logs with messages of the form:
[ERROR] agent: Coordinate update error: error="ACL not found"
and
[ERROR] agent.anti_entropy: failed to sync remote state: error="ACL not found"
At this point I’ve pared down my policy that is assigned to the agent token to the following:
rules = jsonencode({
node_prefix = {
"" = {
policy = "write"
}
}
agent_prefix = {
"" = {
policy = "write"
}
}
service_prefix = {
"" = {
policy = "read"
}
}
})
I would be using node-identity, but since the vault consul backend still doesn’t work with that, this is what I’m trying for the moment until I figure out how to get the templating to work better. This is similar to this unanswered thread from 2021.
Is there any way to get a useful error message out of consul for these cases? Something with even a fraction more context might help debug what is going on. I’m running Consul 1.16.1 from Hashicorp’s own repo on debian, so I have to assume the build I have is fine or other people would have noticed a problem.