Skip to content
Snippets Groups Projects
  1. Sep 21, 2022
  2. Aug 29, 2022
  3. Aug 05, 2022
    • Marcin Juszkiewicz's avatar
      loadbalancer: ignore missing keepalived container · f6a1e607
      Marcin Juszkiewicz authored
      During deployment I got this error:
      
      RUNNING HANDLER [loadbalancer : Stop master haproxy container]
      ok: [192.168.66.143]
      
      RUNNING HANDLER [loadbalancer : Stop master proxysql container]
      ok: [192.168.66.143]
      
      RUNNING HANDLER [loadbalancer : Stop master keepalived container]
      fatal: [192.168.66.143]: FAILED! => changed=false
        msg: 'No such container: keepalived to stop'
      
      Looks like we forgot to allow keepalived to not be present.
      
      Change-Id: I720c719a6a6b35c5c2d5b5ee59b48349e58bac82
      f6a1e607
  4. Jul 29, 2022
    • Mark Goddard's avatar
      haproxy-config: move firewalld reload handler to haproxy role · 492bc744
      Mark Goddard authored
      With the handler in the haproxy-config role, it gets triggered once for
      every service that changes the firewall config. This happens because the
      role is included dynamically. If we move the handler to the haproxy
      role, which is only included once, the handler will trigger at most
      once.
      
      This is a follow up for Iea3680142711873984efff2b701347b6a56dd355.
      
      Change-Id: Iad9ed241026435085bc9a0f5802818010b47830f
      492bc744
    • Michal Arbet's avatar
      Add proxysql support for database · de973b81
      Michal Arbet authored
      Kolla environment currently uses haproxy
      to fullfill HA in mariadb. This patch
      is switching haproxy to proxysql if enabled.
      
      This patch is also replacing mariadb's user
      'haproxy' with user 'monitor'. This replacement
      has two reasons:
        - Use better name to "monitor" galera claster
          as there are two services using this user
          (HAProxy, ProxySQL)
        - Set password for monitor user as it's
          always better to use password then not use.
          Previous haproxy user didn't use password
          as it was historically not possible with
          haproxy and mariadb-clustercheck wasn't
          implemented.
      
      Depends-On: https://review.opendev.org/c/openstack/kolla/+/769385
      Depends-On: https://review.opendev.org/c/openstack/kolla/+/765781
      Depends-On: https://review.opendev.org/c/openstack/kolla/+/850656
      
      Change-Id: I0edae33d982c2e3f3b5f34b3d5ad07a431162844
      de973b81
  5. Jul 27, 2022
    • k-s-dean's avatar
      adds firewalld configuration based on enabled services · 8553e52a
      k-s-dean authored
      This change introduces automated configuration of firewalld and adds
      a new filter for extracting services from the project_services dict.
      the filter selects any enabled services and their haproxy element
      and returns them so they can be iterated over.
      This commit also enables automated configuration of firewalld from enabled
      openstack services and adds them to the defined zone and reloads the
      system firewall.
      
      Change-Id: Iea3680142711873984efff2b701347b6a56dd355
      8553e52a
  6. Jul 25, 2022
    • Michal Nasiadka's avatar
      Fix var-spacing · dcf5a8b6
      Michal Nasiadka authored
      ansible-lint introduced var-spacing - let's fix our code.
      
      Change-Id: I0d8aaf3c522a5a6a5495032f6dbed8a2be0251f0
      dcf5a8b6
  7. May 31, 2022
  8. May 26, 2022
  9. May 23, 2022
  10. Apr 20, 2022
  11. Feb 09, 2022
  12. Dec 31, 2021
    • Pierre Riteau's avatar
      Move project_name and kolla_role_name to role vars · 56fc74f2
      Pierre Riteau authored
      Role vars have a higher precedence than role defaults. This allows to
      import default vars from another role via vars_files without overriding
      project_name (see related bug for details).
      
      Change-Id: I3d919736e53d6f3e1a70d1267cf42c8d2c0ad221
      Related-Bug: #1951785
      56fc74f2
  13. Nov 16, 2021
  14. Sep 30, 2021
  15. Sep 16, 2021
  16. 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