Ask Your Question
0

Cannot Deploy kolla-ansible telegraf

asked 2019-01-02 09:10:28 -0500

Marianito80 gravatar image

updated 2019-01-04 05:04:15 -0500

Hi! I'm trying to deploy a development opentstack in a virtual environment. I passed de the bootstrap and prechecks, but i got an error in the deployment. i get an error from ansible trying to copy configuration file of telegraf on each node.

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\..........................

Using ansible 2.7 with python2

Thanks. Mariano

edit retag flag offensive close merge delete

2 answers

Sort by ┬╗ oldest newest most voted
0

answered 2019-01-04 05:10:27 -0500

updated 2019-01-04 05:15:40 -0500

Hi, is a bug on this line of the template https://github.com/openstack/kolla-an...

is an easy fix, here is the bug tracking this bug https://bugs.launchpad.net/kolla-ansi...

Thanks for raising it

edit flag offensive delete link more
0

answered 2019-01-04 07:09:09 -0500

Marianito80 gravatar image

Great, I compare the file with the original in deployment and deleted the lines about redis. Now i'm figthting with some ceph errors jajaja.

Thanks you very much Eduardo for your answer.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-01-02 09:10:28 -0500

Seen: 147 times

Last updated: Jan 04