Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1784046

Summary: Set SyslogIdentifier for container healthchecks
Product: Red Hat OpenStack Reporter: Cédric Jeanneret <cjeanner>
Component: tripleo-ansibleAssignee: Cédric Jeanneret <cjeanner>
Status: CLOSED WONTFIX QA Contact: Sasha Smolyak <ssmolyak>
Severity: medium Docs Contact:
Priority: medium    
Version: 15.0 (Stein)CC: jpichon
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-08 07:43:48 UTC Type: ---
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: 1784065    

Description Cédric Jeanneret 2019-12-16 15:02:51 UTC
This bug was initially created as a copy of Bug #1784043

I am copying this bug because: 
We need this BZ for tripleo-ansible integration.


Hello,

In order to have an easy way to collect the logs for the container healthchecks (managed via systemd timers), it would be really nice to set the "SyslogIdentified" in the healthcheck units - maybe something like "container-healthcheck".

This would allow to filter those logs at (r)syslog level and push them in a dedicated file, allowing for better monitoring via collectd/sensu without the need to call journald from within a container (this creates "some" SELinux issues due to the need of dbus and some other things).

This change is mandatory in order to be able to correct some SELinux policy that was added some time ago[1]




[1] https://bugzilla.redhat.com/show_bug.cgi?id=1738134

Comment 1 Cédric Jeanneret 2020-01-08 07:43:48 UTC
WONTFIX: we don't have tripleo-ansible for OSP-15