Hi,
I hope someone can help me. I want to know which ACL the "consul monitor" is trying to use. Cause my consul monitor command have a lot of this errors:
2017/08/03 14:51:58 [ERR] agent: Coordinate update error: rpc error: ACL not found
2017/08/03 14:52:15 [ERR] agent: Coordinate update error: rpc error: ACL not found
2017/08/03 14:52:15 [ERR] agent: failed to sync remote state: rpc error: ACL not found
2017/08/03 14:52:42 [ERR] agent: Coordinate update error: rpc error: ACL not found
2017/08/03 14:52:43 [ERR] agent: failed to sync remote state: rpc error: ACL not found
2017/08/03 14:53:04 [ERR] agent: Coordinate update error: rpc error: ACL not found
2017/08/03 14:53:06 [ERR] agent: failed to sync remote state: rpc error: ACL not found
2017/08/03 14:53:22 [ERR] agent: failed to sync remote state: rpc error: ACL not found
2017/08/03 14:53:31 [ERR] agent: Coordinate update error: rpc error: ACL not found
2017/08/03 14:53:48 [ERR] agent: failed to sync remote state: rpc error: ACL not found
2017/08/03 14:53:58 [ERR] agent: Coordinate update error: rpc error: ACL not found
2017/08/03 14:54:15 [ERR] agent: failed to sync remote state: rpc error: ACL not found
2017/08/03 14:54:15 [ERR] agent: Coordinate update error: rpc error: ACL not found
2017/08/03 14:54:31 [ERR] agent: Coordinate update error: rpc error: ACL not found
In my consul.confg I have a acl_token, but this token isn't working. How can I set a policy for this?
I was thinking that the default policy behavior should be enough.
Here is my configuration:
{
"ui": true,
"retry_join_ec2": {
"region": "us-east-1",
"tag_key": "consul-server",
"tag_value": "True"
},
"disable_remote_exec": true,
"domain": "consul.",
"data_dir": "/opt/consul/data",
"dns_config": {
"allow_stale": false,
"max_stale": "5s",
"node_ttl": "0s",
"service_ttl": {
"*": "0s"
},
"enable_truncate": false, "only_passing": false
},
"log_level": "INFO",
"enable_syslog": true,
"node_name": "server01",
"server": true,
"client_addr": "0.0.0.0",
"addresses" : {
"rpc": "127.0.0.1"
},
"bind_addr": "172.16.37.219",
"datacenter": "DC",
"bootstrap": true,
"ports": {
"dns": 8600,
"http": 8500,
"https": -1,
"rpc": 8400,
"serf_lan": 8301,
"serf_wan": 8302,
"server": 8300
},
"acl_enforce_version_8": false,
"acl_datacenter": "DC",
"acl_default_policy": "allow",
"acl_down_policy": "deny",
"acl_master_token": "12345c",
"acl_token": "54321c",
"acl_ttl": "300s",
"atlas_acl_token": "anonymous",
"http_api_response_headers": {
"Access-Control-Allow-Origin": "*"
},
"rejoin_after_leave": true,
"leave_on_terminate": false,
"disable_update_check": false
}
Best Regards,