Add support for setting timeouts for octavia backend member and frontend clients

Bug #1797130 reported by Kamil Sambor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Kamil Sambor

Bug Description

The procedure we are following manually to change the timeouts is:

1.- Log-in into overcloud controller
2.- Add the files on https://github.com/openstack/octavia/tree/stable/queens/octavia/common/jinja/haproxy/templates
      on /var/lib/config-data/puppet-generated/octavia/
3.- Modify the base.j2 file to increase the default timeout_client and timeout_server values (for instance from 50000 to 500000,
      i.e., from 50 seconds to 500 seconds): https://github.com/openstack/octavia/blob/stable/queens/octavia/common/jinja/haproxy/templates/base.j2#L42-L43
4.- Edit file /var/lib/config-data/puppet-generated/octavia/etc/octavia/octavia.conf to point to the haproxy template just copied (note it is mounted in a different
      directory inside the container):
      [haproxy_amphora]
      haproxy_template = /var/lib/kolla/config_files/src/haproxy.cfg.j24.- restart octavia-worker container
5.- Restart octavia-worker container
6.- Trigger openshift-ansible provisioning playbooks

Adding support in TripleO/Director would help configuring the timeouts with the required values and the changes would be persistent to upgrades/updates.

Version-Release number of selected component (if applicable): OSP 14

Kamil Sambor (ksambor)
Changed in tripleo:
assignee: nobody → Kamil Sambor (ksambor)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

Changed in tripleo:
status: New → In Progress
Changed in tripleo:
importance: Undecided → Medium
milestone: none → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/609431
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=72996097b63dfa6c364558948305ea36f5e903a2
Submitter: Zuul
Branch: master

commit 72996097b63dfa6c364558948305ea36f5e903a2
Author: Kamil Sambor <email address hidden>
Date: Wed Oct 10 16:37:58 2018 +0200

    Add posibilities to set default timeouts for octavia

    Expose timeouts values for octavia frontend client
    and backend member by parameters:
    * OctaviaTimeoutClientData
    * OctaviaTimeoutMemberConnect
    * OctaviaTimeoutMemberData
    * OctaviaTimeoutTcpInspect

    Change-Id: I07afa4e15c595f984cba23672f910993495851ff
    Closes-Bug: 1797130
    Depends-On: https://review.openstack.org/609420/

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 10.2.0

This issue was fixed in the openstack/tripleo-heat-templates 10.2.0 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.