Default haproxy logging settings doesn't work with rsyslog (charmhelpers/contrib/openstack/templates)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
Fix Released
|
Medium
|
Jorge Niedbalski | ||
OpenStack Base Layer |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Keystone Charm |
Fix Released
|
Medium
|
Unassigned | ||
OpenStack Nova Cloud Controller Charm |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Description]
The HAProxyContext creates the /etc/haproxy/
section is defined as:
log {{ local_host }} local0
log {{ local_host }} local1 notice
This doesn't works with the default rsyslog configuration installed
by the package (trusty, xenial) /etc/rsyslog.
# Create an additional socket in haproxy's chroot in order to allow logging via
# /dev/log to chroot'ed HAProxy processes
$AddUnixListenS
# Send HAProxy messages to a dedicated logfile
if $programname startswith 'haproxy' then /var/log/
&~
We should fix the template to make it work by default.
Related branches
- Felipe Reyes (community): Approve
-
Diff: 12 lines (+2/-2)1 file modifiedcharmhelpers/contrib/openstack/templates/haproxy.cfg (+2/-2)
tags: | added: sts |
Changed in charm-helpers: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Jorge Niedbalski (niedbalski) |
Changed in charm-helpers: | |
status: | In Progress → Fix Committed |
Changed in charm-helpers: | |
status: | Fix Committed → Triaged |
Changed in charm-keystone: | |
status: | New → Triaged |
Changed in charm-nova-cloud-controller: | |
status: | New → Triaged |
Changed in charm-keystone: | |
importance: | Undecided → Medium |
Changed in charm-nova-cloud-controller: | |
importance: | Undecided → Medium |
Changed in charm-helpers: | |
status: | Triaged → Fix Released |
Changed in layer-openstack: | |
status: | New → Fix Committed |
Changed in layer-openstack: | |
milestone: | none → 22.04 |
Changed in layer-openstack: | |
status: | Fix Committed → Fix Released |
Marking charm tasks as Fix Released as this would have been included in the 17.08 charms release.