Skip to content
Snippets Groups Projects
  1. Sep 23, 2024
  2. Sep 20, 2024
    • Michal Arbet's avatar
      Fix IPv6 address format in ProxySQL configuration · 12eeccdd
      Michal Arbet authored
      This patch resolves an issue where ProxySQL could not
      bind due to incorrectly formatted IPv6 addresses in the
      `mysql_ifaces` configuration. The kolla's
      `put_address_in_context` filter is now used, ensuring
      the addresses are properly enclosed in square brackets
      for correct binding.
      
      Closes-Bug: #2081106
      Change-Id: Ic166b8d9a500023c8d23ec9fee03b28b268b26e7
      12eeccdd
  3. Sep 17, 2024
  4. Sep 13, 2024
  5. Sep 09, 2024
  6. Aug 30, 2024
  7. May 14, 2024
  8. Jan 05, 2024
  9. Jan 02, 2024
  10. Nov 07, 2023
  11. Aug 18, 2023
    • Léo Gillot-Lamure's avatar
      loadbalancer: remove support for haproxy_processes · b230858f
      Léo Gillot-Lamure authored
      Threads are the recommended way to scale CPU performance since HAProxy
      1.8.
      
      Official documentation says: « While "nbproc" historically used to be the only
      way to use multiple processors, it also involved a number of shortcomings
      related to the lack of synchronization between processes (health-checks, peers,
      stick-tables, stats, ...) which do not affect threads. As such, any modern
      configuration is strongly encouraged to migrate away from "nbproc" to
      "nbthread". ».
      
      Change-Id: I6f2e9d74e68703c8e0827e495945a75f020e1561
      b230858f
  12. Aug 02, 2023
    • Léo Gillot-Lamure's avatar
      loadbalancer: support cpu-map for threads · 789ac738
      Léo Gillot-Lamure authored
      The directive used has the same semantic as what is done above for nbproc > 1:
      it binds each thread to a CPU. It is simpler and does not require a loop because
      it uses the auto: syntax available in HAProxy 2.4.
      
      Change-Id: I1ce124b678140f5f4737df557683bb67bc7cfc66
      789ac738
    • Léo Gillot-Lamure's avatar
      loadbalancer: support setting nbthread with variable haproxy_threads · e0438286
      Léo Gillot-Lamure authored
      Threads are the recommended way to scale CPU performance since HAProxy
      1.8.
      
      Official documentation says: « While "nbproc" historically used to be the only
      way to use multiple processors, it also involved a number of shortcomings
      related to the lack of synchronization between processes (health-checks, peers,
      stick-tables, stats, ...) which do not affect threads. As such, any modern
      configuration is strongly encouraged to migrate away from "nbproc" to
      "nbthread". ».
      
      While more recent versions of HAProxy automatically detect the number of
      available CPU and enable threads for them, it can be useful to explicitely set
      the value.
      
      In this patch, setting cpu-map for threads is not supported.
      
      Change-Id: Id917c70f3dbe52f24f25d9403ba8151729e8966b
      e0438286
  13. Jun 28, 2023
  14. Oct 20, 2022
    • Michal Arbet's avatar
      Adds ability to configure ProxySQL's max replication lag · bee253e3
      Michal Arbet authored
      By default ProxySQL's default value of max_replication_lag
      is 0 which is in fact disabling this feature [1].
      If it is greater than 0, ProxySQL will regularly monitor
      replication lag and if it goes beyond the configured threshold
      it will temporary shun the host until replication catches up.
      
      This should be configurable via kolla-ansible as every
      openstack deployment can be different in terms of network
      delays, database load etc.. , so user should have option
      to configure when database backend will be shunned.
      
      [1] https://proxysql.com/documentation/main-runtime/
      
      Change-Id: I66171638abc712cb84b380042f1d29f54c499e73
      bee253e3
  15. Jul 29, 2022
  16. Feb 09, 2022
  17. Nov 16, 2021
  18. Aug 19, 2021
    • Michal Arbet's avatar
      Rename role haproxy to loadbalancer · ffd53512
      Michal Arbet authored
      For now role haproxy is maintaining haproxy
      and keepalived. In follow-up changes there is also
      proxysql added.
      
      This patch is *only* renaming/moving stuff to more
      prominent role loadbalancer, and moving also specific
      templates to subdirectory.
      
      This was done only to better diff in follow-up
      changes.
      
      Change-Id: I1d39d5bcaefc4016983bf267a2736b742cc3a555
      ffd53512
Loading