Bug 2143152 - STF | Ansible collectd | Permission denied when collectd exec plugin tries to parse collectd-sensubility.conf file
Summary: STF | Ansible collectd | Permission denied when collectd exec plugin tries to...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ga
: ---
Assignee: Martin Magr
QA Contact: Leonid Natapov
URL:
Whiteboard:
Depends On:
Blocks: 1872351 2143333
TreeView+ depends on / blocked
 
Reported: 2022-11-16 08:22 UTC by Leonid Natapov
Modified: 2022-12-16 16:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2143333 (view as bug list)
Environment:
Last Closed: 2022-12-16 16:42:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-20202 0 None None None 2022-11-16 08:31:07 UTC

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


Note You need to log in before you can comment on or make changes to this bug.