[RFE] allow to activate HTTP logging in haproxy

Bug #1733801 reported by Cédric Jeanneret deactivated
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
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)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 8.1.0

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/584509

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (stable/pike)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 7.4.15

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.