How to Change the Debug Level for PF9-consul Logs?
Problem
# cat /opt/pf9/etc/pf9-ha/conf.d/pf9-ha.conf | grep -i "consul_log_level"
consul_log_level = debug
# cat /opt/pf9/etc/pf9-consul/conf.d/server.json
{"bootstrap_expect": 3, "server": true, "datacenter": "3", "data_dir": "/opt/pf9/consul-data-dir/", "advertise_addr": "172.20.113.39", "bind_addr": "172.20.113.39", "disable_remote_exec": true, "log_level": "debug", "node_name": "011ed680-aa4d-451d-8756-e257a9678e12", "retry_join": ["172.20.113.32", "172.20.113.33", "172.20.113.34", "172.20.113.35", "172.20.113.36", "172.20.113.37", "172.20.113.38", "172.20.113.39", "172.20.113.40", "172.20.113.41"], "encrypt": "QjJYWTVxc3ZRU2E0eWMtMw==", "verify_incoming": true, "verify_outgoing": true, "verify_server_hostname": false, "ca_file": "/opt/pf9/etc/pf9-consul/consul_ca.pem", "cert_file": "/opt/pf9/etc/pf9-consul/consul_cert.pem", "key_file": "/opt/pf9/etc/pf9-consul/consul_key.pem"}[root@aidc-ostack-prd8 ~]#Environment
Procedure
mysql> update roles set customizable_settings = REPLACE (customizable_settings, "debug", "info") where id="pf9-ha-slave_5.6.6-969"; 2. Hosts table need to be updated - It should start reflecting the config to the already on-boarded hosts.Last updated
