heat charm does not allow to set haproxy timeout

Bug #1735184 reported by Michał Ajduk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat Charm
Fix Released
High
Liam Young

Bug Description

Setup:
heat charm with HA settings enabled.

Openstack heat stack-list sometimes takes more than the default haproxy server timeout of 30s.

The timeout configuration is supported by charmhelpers/contrib/openstack/context.py:

        if config('haproxy-server-timeout'):
            ctxt['haproxy_server_timeout'] = config('haproxy-server-timeout')

However the heat charm does not allow increasing this timeout and only the default one from charmhelpers/contrib/openstack/templates/haproxy.cfg is used:

{%- if haproxy_server_timeout %}
    timeout server {{ haproxy_server_timeout }}
{%- else %}
    timeout server 30000

Please add support to increase heat server timeout

Tags: 4010
Liam Young (gnuoy)
Changed in charm-heat:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Liam Young (gnuoy)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-heat (master)

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

Changed in charm-heat:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-heat (master)

Reviewed: https://review.openstack.org/526674
Committed: https://git.openstack.org/cgit/openstack/charm-heat/commit/?id=86b670d3eecd08917076a5f599c627afb11d246f
Submitter: Zuul
Branch: master

commit 86b670d3eecd08917076a5f599c627afb11d246f
Author: Liam Young <email address hidden>
Date: Fri Dec 8 12:59:14 2017 +0000

    Expose haproxy timeout options

    For some reason heat never got the haproxy config options exposed
    in its config.yaml. This fixes that.

    Change-Id: I657a88eb0971d37bf4685fd986b99fd436f8c69b
    Partial-Bug: #1735184

Revision history for this message
Tilman Baumann (tilmanbaumann) wrote :

+1 haproxy-timeout support in master looks good.

James Page (james-page)
Changed in charm-heat:
status: In Progress → Fix Released
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.