Monday, 2018-03-19

*** kushalMFX0QH has joined #openstack-kayobe01:25
*** egonzalez has joined #openstack-kayobe07:44
*** dougsz has joined #openstack-kayobe08:41
*** mgoddard has joined #openstack-kayobe09:29
*** openstackgerrit has joined #openstack-kayobe10:56
openstackgerritMark Goddard proposed openstack/kayobe master: WIP: Add CI job for molecule tests  https://review.openstack.org/55302010:56
openstackgerritMark Goddard proposed openstack/kayobe master: WIP: Add CI job for molecule tests  https://review.openstack.org/55302011:37
*** dougsz has quit IRC11:55
openstackgerritMark Goddard proposed openstack/kayobe master: WIP: Add CI job for molecule tests  https://review.openstack.org/55302012:58
openstackgerritMark Goddard proposed openstack/kayobe master: Add CI job for molecule tests  https://review.openstack.org/55302013:04
openstackgerritDoug Szumski proposed openstack/kayobe master: Add support for deploying Apache Kafka  https://review.openstack.org/55264014:23
openstackgerritDoug Szumski proposed openstack/kayobe master: Use control group for Zookeeper  https://review.openstack.org/55423914:23
*** anadahzlp has joined #openstack-kayobe15:57
*** egonzalez has quit IRC15:58
*** diranerpi_ has joined #openstack-kayobe16:11
diranerpi_Hi16:16
diranerpi_There is a way to customize telegraf config file like we done for other service (nova.conf ...) through {{ kolla_config_path }}/config/telegraf.conf.16:16
diranerpi_In fact i'm trying to add docker metric support by adding this16:16
diranerpi_http://paste.openstack.org/show/704659/16:16
diranerpi_But nothing happens , telegraf.conf file were not update on overcloud host after reconfigure the service16:17
diranerpi_I think that i need to add special section in this file https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/telegraf/templates/telegraf.conf.j216:21
diranerpi_and add an option in kolla.yml to enable telegraf docker metric support16:22
mgoddardhi diranerpi_: here is where the config file is templated: https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/telegraf/tasks/config.yml#L2916:47
mgoddardbecause the file format is not supported for merging, it uses 'with_first_found' - you need to override all config options16:47
mgoddardIt looks like it has some support for additional config via 'plugins': https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/telegraf/tasks/config.yml#L4816:48
mgoddardthis seems a bit broken though - the plugin configs need to be added into the kolla-ansible role under ansible/roles/telegraf/templates/config/16:49
mgoddardalso, it's checking 'item.value.enabled | bool' when item is a string, which will blow up16:49
mgoddardI don't think it has been tested16:50
mgoddardfinally, kayobe doesn't yet support adding extra config for telegraf16:51
mgoddardwould not be too hard to add though16:51
diranerpi_mgoddard: Hi mgoddard16:53
diranerpi_Thanks for those information16:53
diranerpi_it's not as simple as expected :-)16:54
mgoddarddiranerpi_: it never is!16:56
diranerpi_life is too hard ^^16:58
mgoddardwe wouldn't have jobs if it was easy :)16:59
mgoddardI would recommend fixing the kolla-ansible telegraf config17:00
mgoddardfirst of all, s/item.value.enabled/service.enabled/ on L5917:01
*** dougsz has joined #openstack-kayobe17:01
diranerpi_Ok !17:01
mgoddardthen modify the with_fileglob to look somewhere sensible, e.g. {{ node_custom_config }}/telegraf/plugins/17:02
mgoddardmaybe keep the existing fileglob for backwards compat17:02
mgoddardthen we can add kayobe support for telegraf config17:02
mgoddardktibi has made similar changes in kayobe previously, he should be able to help17:03
diranerpi_ok ! i will check it with him17:04
diranerpi_thanks again mgoddard17:04
mgoddardnp17:06
*** diranerpi_ has quit IRC17:09
*** dougsz has quit IRC18:20
*** openstackgerrit has quit IRC18:48
*** mgoddard has quit IRC21:14

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!