telegraf template error

Bug #1810505 reported by Eduardo Gonzalez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Nick Jones

Bug Description

telegraf config file template fails to render due an extra {{ on it.

TASK [telegraf : Copying over telegraf config file] ************************************************************************************************
failed: [control01] (item=/home/vagrant/kolla-ansible/ansible/roles/telegraf/templates/telegraf.conf.j2) => {"changed": false, "item": "/home/vagrant/kolla-ansible/ansible/roles/telegraf/templates/telegraf.conf.j2", "msg": "AnsibleError: template error while templating string: expected token 'end of print statement', got ':'. String: [global_tags]\n[agent]\n interval = \"10s\"\n round_interval = true\n metric_batch_size = 1000\n metric_buffer_limit = 10000\..........................

https://github.com/openstack/kolla-ansible/blob/22d3857ce734830a67e7b32b42da9a154835bd71/ansible/roles/telegraf/templates/telegraf.conf.j2#L81

Changed in kolla-ansible:
status: New → Triaged
importance: Undecided → Medium
Nick Jones (yankcrime)
Changed in kolla-ansible:
assignee: nobody → Nick Jones (yankcrime)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.openstack.org/628416

Changed in kolla-ansible:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/628416
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=683f65aaf3cf903a1a1ebe83b917bb79276901b0
Submitter: Zuul
Branch: master

commit 683f65aaf3cf903a1a1ebe83b917bb79276901b0
Author: Nick Jones <email address hidden>
Date: Fri Jan 4 12:08:53 2019 +0000

    Fix Telegraf configuration template

    Remove the erroneous curly braces that prevent the Telegraf
    configuration template from being rendered.

    Change-Id: Ibb8738b258245b4e43d5d877b156ed296fc66e4e
    Closes-Bug: 1810505

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 8.0.0.0b1

This issue was fixed in the openstack/kolla-ansible 8.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.