Fix the wrong setting for Grafana session
The provider_config is configured wrong. And Grafana only supports one Memcached instance for session, which is bad for high available. Use mysql to provider the session storage. TrivialFix Change-Id: I889a961d7f36f44701654fbac04b4bff05043506
This commit is contained in:
parent
5a427a941f
commit
0c15da00c8
@ -23,8 +23,8 @@ password = {{ grafana_database_password }}
|
||||
ssl_mode = disable
|
||||
|
||||
[session]
|
||||
provider = memcache
|
||||
provider_config = {% for host in groups['memcached'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
||||
provider = mysql
|
||||
provider_config = grafana:{{ grafana_database_password }}@tcp({{ grafana_database_address }}/grafana
|
||||
|
||||
cookie_name = grafana_sess
|
||||
cookie_secure = false
|
||||
|
Loading…
Reference in New Issue
Block a user