No way to configure connection retries and timeouts through the charm

Bug #1988094 reported by Tiago Pasqualini da Silva
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Octavia Charm
Fix Committed
Undecided
Unassigned

Bug Description

octavia-charm does not expose the configuration for timeouts and number of retries when trying to reach an amphora[1]. The default value is huge, which makes the failover process take a really long time when both amphorae are lost (up to 1 hour). Making those values configurable would make it possible for admins to tune that for their specific cloud needs.

[1] https://docs.openstack.org/octavia/latest/configuration/configref.html#haproxy_amphora.connection_max_retries

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

Reviewed: https://review.opendev.org/c/openstack/charm-octavia/+/855092
Committed: https://opendev.org/openstack/charm-octavia/commit/d1d369c70314532eea341e8cce4247727f4d8410
Submitter: "Zuul (22348)"
Branch: master

commit d1d369c70314532eea341e8cce4247727f4d8410
Author: Tiago Pasqualini <email address hidden>
Date: Mon Aug 29 18:29:39 2022 -0300

    Add amphora connection timeouts options to charm

    This patch adds the possibility to configure the number of retries
    and the timeout between those retries when connection to the
    amphorae.

    Closes-bug: #1988094
    Change-Id: Idf25c327fe34f751f622a3a467a5ba8f73125681

Changed in charm-octavia:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-octavia (stable/zed)

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/charm-octavia/+/873909

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-octavia (stable/yoga)

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/charm-octavia/+/881380

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-octavia (stable/zed)

Reviewed: https://review.opendev.org/c/openstack/charm-octavia/+/873909
Committed: https://opendev.org/openstack/charm-octavia/commit/f3617cafd8063fc0b97c23337fe79061ef28baab
Submitter: "Zuul (22348)"
Branch: stable/zed

commit f3617cafd8063fc0b97c23337fe79061ef28baab
Author: Tiago Pasqualini <email address hidden>
Date: Mon Aug 29 18:29:39 2022 -0300

    Add amphora connection timeouts options to charm

    This patch adds the possibility to configure the number of retries
    and the timeout between those retries when connection to the
    amphorae.

    Closes-bug: #1988094
    Change-Id: Idf25c327fe34f751f622a3a467a5ba8f73125681
    (cherry picked from commit d1d369c70314532eea341e8cce4247727f4d8410)

tags: added: in-stable-zed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-octavia (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/charm-octavia/+/881380
Committed: https://opendev.org/openstack/charm-octavia/commit/af0e077bf05ca97853bf58b4a746e2b67cf429e3
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit af0e077bf05ca97853bf58b4a746e2b67cf429e3
Author: Tiago Pasqualini <email address hidden>
Date: Mon Aug 29 18:29:39 2022 -0300

    Add amphora connection timeouts options to charm

    This patch adds the possibility to configure the number of retries
    and the timeout between those retries when connection to the
    amphorae.

    Closes-bug: #1988094
    Change-Id: Idf25c327fe34f751f622a3a467a5ba8f73125681
    (cherry picked from commit d1d369c70314532eea341e8cce4247727f4d8410)
    (cherry picked from commit f3617cafd8063fc0b97c23337fe79061ef28baab)

tags: added: in-stable-yoga
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.