From 07f564ec5072aa8aac649557c1a176b3b85a5cba Mon Sep 17 00:00:00 2001 From: Sai Sindhur Malleni Date: Wed, 6 Nov 2019 11:43:13 -0500 Subject: [PATCH] Use localhost for mysql collectd plugin Using {{undercloud_ctlplane_ip_address.stdout}} leads to something like 192_168_24_1 and a new namespace within graphite. Change-Id: Ic5cf9a181d87a72ca58c5fe0ce01b99936736062 --- .../roles/collectd/templates/undercloud.collectd.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/install/roles/collectd/templates/undercloud.collectd.conf.j2 b/ansible/install/roles/collectd/templates/undercloud.collectd.conf.j2 index 2c4f2cf60..43a5a8b5e 100644 --- a/ansible/install/roles/collectd/templates/undercloud.collectd.conf.j2 +++ b/ansible/install/roles/collectd/templates/undercloud.collectd.conf.j2 @@ -190,7 +190,7 @@ PreCacheChain "PreCache" {% endif %} - Host "{{undercloud_ctlplane_ip_address.stdout}}" + Host "localhost" User "root" Password "{{undercloud_mysql_password.stdout}}" InnodbStats true