Bug 2143152

Summary: STF | Ansible collectd | Permission denied when collectd exec plugin tries to parse collectd-sensubility.conf file
Product: Red Hat OpenStack Reporter: Leonid Natapov <lnatapov>
Component: tripleo-ansibleAssignee: Martin Magr <mmagr>
Status: CLOSED WONTFIX QA Contact: Leonid Natapov <lnatapov>
Severity: high Docs Contact:
Priority: high    
Version: 17.1 (Wallaby)CC: lmadsen, mmagr
Target Milestone: gaKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2143333 (view as bug list) Environment:
Last Closed: 2022-12-16 16:42:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1872351, 2143333    

Description Leonid Natapov 2022-11-16 08:22:43 UTC
Overcloud deployed with collectd-container-ansible.yaml
After collectd container was started collectd.log file shows the following error:


[2022-11-15 15:53:19] exec plugin: Unable to parse command, ignoring line: "Failed to parse config file: open /etc/collectd-sensubility.conf: permission denied"



It looks like the code is trying to set /etc/ to 750, but the config file itself is 644 https://github.com/openstack/tripleo-ansible/blob/master/tripleo_ansible/roles/tripleo_collectd/tasks/configure_collectd.yml#L179