From: John O'Loughlin Date: Thu, 24 May 2018 09:06:33 +0000 (+0000) Subject: Configure collectd to load ipmi before PMU X-Git-Tag: opnfv-7.1.0~34 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=4fa004981ab3073bcec477d36900924990bcfccd;p=barometer.git Configure collectd to load ipmi before PMU Collectd loads config files in alphabetical order. Ansible creates the config files for collectd. In this patch we change the name ipmi.conf to 0_ipmi.conf This will allow ipmi to be loaded before PMU. If PMU is loaded before ipmi the container will crash. This is a bug in collectd 5.8 Change-Id: I3334a3a1970f596e36f665698649d6c04fd38fbb Signed-off-by: John O Loughlin --- diff --git a/docker/ansible/roles/config_files/tasks/ipmi.yml b/docker/ansible/roles/config_files/tasks/ipmi.yml index da3f42bd..5ea62c47 100644 --- a/docker/ansible/roles/config_files/tasks/ipmi.yml +++ b/docker/ansible/roles/config_files/tasks/ipmi.yml @@ -38,7 +38,7 @@ - name: enable ipmi plugin template: src: ipmi.conf.j2 - dest: "{{ config_file_dir }}/ipmi.conf" + dest: "{{ config_file_dir }}/0_ipmi.conf" when: ipmi0_exists|succeeded and ipmi_devintf|succeeded and ipmi_devsi|succeeded tags: - ipmi