[RFE] allow to activate HTTP logging in haproxy

Bug #1733801 reported by Cédric Jeanneret deactivated on 2017-11-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Medium
Cédric Jeanneret deactivated

Bug Description

Dear Stackers,

In order to get a full debugging from HAProxy, a new option should be added in the "defaults" section:
option httplog

This will allow haproxy to output all the http logs - in case the listener is NOT set to http, it will fallback to tcp logging.

Changed in tripleo:
assignee: nobody → Cédric Jeanneret (cjeanneret-c2c)

Fix proposed to branch: master
Review: https://review.openstack.org/522177

Changed in tripleo:
status: New → In Progress
Changed in tripleo:
milestone: none → queens-3
importance: Undecided → Medium

Reviewed: https://review.openstack.org/522177
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=323cd64c5829812545a7aa3afea5617566d6bbdf
Submitter: Zuul
Branch: master

commit 323cd64c5829812545a7aa3afea5617566d6bbdf
Author: Cédric Jeanneret <email address hidden>
Date: Wed Nov 22 09:42:23 2017 +0100

    Added new parameter: $activate_httplog

    This allows to get the full HTTP log (and TCP if not HTTP) from HAProxy,
    in case you need any debug from that central point.

    In case you want timers for those entries, you might want to use the
    already present "$haproxy_globals_override" parameter and set its
    content to:
    { 'log' => '/dev/log local0 debug' }

    Change-Id: I4667317cbd453875585521b22b0ccbdb208f5353
    Closes-Bug: 1733801

Changed in tripleo:
status: In Progress → Fix Released

This issue was fixed in the openstack/puppet-tripleo 8.1.0 release.

Reviewed: https://review.openstack.org/584509
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=f0db40f2964406882834ec080a767ea3b77f28c8
Submitter: Zuul
Branch: stable/pike

commit f0db40f2964406882834ec080a767ea3b77f28c8
Author: Cédric Jeanneret <email address hidden>
Date: Wed Nov 22 09:42:23 2017 +0100

    Added new parameter: $activate_httplog

    This allows to get the full HTTP log (and TCP if not HTTP) from HAProxy,
    in case you need any debug from that central point.

    In case you want timers for those entries, you might want to use the
    already present "$haproxy_globals_override" parameter and set its
    content to:
    { 'log' => '/dev/log local0 debug' }

    Change-Id: I4667317cbd453875585521b22b0ccbdb208f5353
    Closes-Bug: 1733801
    (cherry picked from commit 323cd64c5829812545a7aa3afea5617566d6bbdf)

tags: added: in-stable-pike

This issue was fixed in the openstack/puppet-tripleo 7.4.15 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers