use of config_template plugin breaks ceilometer.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
High
|
Kevin Carter |
Bug Description
When overrides are applied to ceilometer.conf.j2 the various messaging_urls are not rendering into the resulting file, causing meters and events to not be collected.
ceilometer.conf relies on duplicate "messaging_urls" entries within the ini-format config file
(see https:/
When an override is specified (using ceilometer_
Related: http://
Simplified Repro: https:/
Contents of that gist included below but formatting will always fail
#bug.conf.j2
#{{ ansible_managed}}
[DEFAULT]
bug_is = multiple entries with the same key get collapsed to one entry
magic_phrases = abracadabra
magic_phrases = presto changeo
---
# bug_playbook.yml
- name: Demo config_template bug
hosts: all
tasks:
- name: Apply config template after duplicate keys are produced
config_
src: "{{ item.src }}"
dest: "{{ item.dest }}"
with_items:
- src: "bug.conf.j2"
dest: "/tmp/output.conf"
vars:
overrides:
foo:
bar: baz
Changed in openstack-ansible: | |
status: | Confirmed → In Progress |
Many thanks to alextricity25 for helping to track this down