Last active
July 21, 2017 15:53
-
-
Save nocode99/ecc6bb314051d30831bd1a6994b1b40b to your computer and use it in GitHub Desktop.
Consul 0.9.0 Issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"agent": { | |
"": { | |
"policy": "write" | |
} | |
}, | |
"key": { | |
"": { | |
"policy": "write" | |
} | |
}, | |
"node": { | |
"": { | |
"policy": "write" | |
} | |
}, | |
"service": { | |
"": { | |
"policy": "write" | |
} | |
}, | |
"session": { | |
"": { | |
"policy": "write" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"agent": { | |
"": { | |
"policy": "read" | |
} | |
}, | |
"key": { | |
"": { | |
"policy": "read" | |
} | |
}, | |
"node": { | |
"": { | |
"policy": "read" | |
} | |
}, | |
"service": { | |
"": { | |
"policy": "read" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"advertise_addr": "x.x.x.x", | |
"client_addr": "0.0.0.0", | |
"datacenter": "dc1", | |
"data_dir": "/opt/consul", | |
"log_level": "INFO", | |
"node_name": "app", | |
"server": false, | |
"enable_script_checks": true, | |
"acl_agent_token": "{{ acl_agent_token }}", | |
"acl_datacenter": "dc1", | |
"acl_down_policy": "extend-cache" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017/07/21 15:00:35 [DEBUG] agent: Check 'am_i_master' script '/etc/consul.d/scripts/watch_service.py' output: slave | |
2017/07/21 15:00:35 [DEBUG] agent: Check 'am_i_master' is passing | |
2017/07/21 15:00:35 [DEBUG] agent: Check 'app_port' is passing | |
2017/07/21 15:00:37 [DEBUG] agent: Check 'mem' script '/etc/consul.d/scripts/check_mem.py -w 70 -c 85' output: OK: UsedMem%: 9% (FreeMem: 6856 MB) | |
2017/07/21 15:00:37 [DEBUG] agent: Check 'mem' is passing | |
2017/07/21 15:00:38 [DEBUG] agent: Check 'cpu' script '/etc/consul.d/scripts/check_cpu.py -w 70 -c 85' output: OK: Total=2% | cpu=2%;70;85;0; cpu0=1%;98;100;0; cpu1=3%;98;100;0; | |
2017/07/21 15:00:38 [DEBUG] agent: Check 'cpu' is passing | |
2017/07/21 15:00:38 [DEBUG] memberlist: Initiating push/pull sync with: 10.10.10.10:8301 | |
2017/07/21 15:00:40 [DEBUG] agent: Check 'am_i_master' script '/etc/consul.d/scripts/watch_service.py' output: slave | |
2017/07/21 15:00:40 [DEBUG] agent: Check 'am_i_master' is passing | |
2017/07/21 15:00:41 [DEBUG] agent: Service 'integration-app' in sync | |
2017/07/21 15:00:41 [ERR] consul: RPC failed to server 13.13.13.13:8300: rpc error: rpc error: Permission denied | |
2017/07/21 15:00:41 [WARN] agent: Check 'am_i_master' registration blocked by ACLs | |
2017/07/21 15:00:41 [ERR] consul: RPC failed to server 14.14.14.14:8300: rpc error: rpc error: Permission denied | |
2017/07/21 15:00:41 [WARN] agent: Check 'app_service_port' registration blocked by ACLs | |
2017/07/21 15:00:41 [ERR] consul: RPC failed to server 12.12.12.12:8300: rpc error: Permission denied | |
2017/07/21 15:00:41 [WARN] agent: Check 'cpu' registration blocked by ACLs | |
2017/07/21 15:00:41 [ERR] consul: RPC failed to server 13.13.13.13:8300: rpc error: rpc error: Permission denied | |
2017/07/21 15:00:41 [WARN] agent: Check 'mem' registration blocked by ACLs | |
2017/07/21 15:00:41 [ERR] consul: RPC failed to server 14.14.14.14:8300: rpc error: rpc error: Permission denied | |
2017/07/21 15:00:41 [WARN] agent: Check 'app_port' registration blocked by ACLs | |
2017/07/21 15:00:41 [DEBUG] agent: Node info in sync | |
2017/07/21 15:00:42 [DEBUG] agent: Check 'mem' script '/etc/consul.d/scripts/check_mem.py -w 70 -c 85' output: OK: UsedMem%: 9% (FreeMem: 6859 MB) | |
2017/07/21 15:00:42 [DEBUG] agent: Check 'mem' is passing | |
2017/07/21 15:00:44 [DEBUG] agent: Check 'cpu' script '/etc/consul.d/scripts/check_cpu.py -w 70 -c 85' output: OK: Total=0% | cpu=0%;70;85;0; cpu0=0%;98;100;0; cpu1=0%;98;100;0; | |
2017/07/21 15:00:44 [DEBUG] agent: Check 'cpu' is passing | |
2017/07/21 15:00:45 [DEBUG] agent: Check 'am_i_master' script '/etc/consul.d/scripts/watch_service.py' output: slave | |
2017/07/21 15:00:45 [DEBUG] agent: Check 'am_i_master' is passing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"advertise_addr": "x.x.x.x", | |
"bootstrap_expect": 3, | |
"ui": true, | |
"client_addr": "0.0.0.0", | |
"datacenter": "dc1", | |
"data_dir": "/opt/consul", | |
"log_level": "INFO", | |
"node_name": "consul-server", | |
"server": true, | |
"enable_script_checks": true, | |
"acl_master_token": "root", | |
"acl_default_policy": "allow", | |
"acl_agent_token": "{{ acl_agent_token }}", | |
"acl_datacenter": "dc1", | |
"acl_down_policy": "extend-cache" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment