Skip to content
Snippets Groups Projects
  1. Sep 30, 2024
    • Michal Arbet's avatar
      Add ansible-core as a dependency · c02d736b
      Michal Arbet authored
      This patch adds ansible-core as a dependency to
      requirements.txt since there is really no reason
      not to have it in the requirements.txt, given that
      kolla-ansible project even has ansible in its name
      and ansible-core is a crucial dependency.
      
      Change-Id: I4d01b7eb944c4edf6a440f2b775221986509f7eb
      c02d736b
  2. Sep 27, 2024
  3. Sep 26, 2024
  4. Sep 24, 2024
  5. Sep 23, 2024
    • Michal Arbet's avatar
      Improvement of ProxySQL Monitoring Configuration · 79897566
      Michal Arbet authored
      This update enhances the monitoring of the databasecluster
      in ProxySQL. The default monitoring intervals were insufficient
      for reliably detecting failures in the Galera cluster environment.
      
      A detailed configuration for monitoring intervals has been
      introduced, providing better control over how quickly and accurately
      ProxySQL can identify issues.
      
        - Variables such as `mariadb_monitor_connect_interval`,
          `mariadb_monitor_galera_healthcheck_interval, and
          `mariadb_monitor_ping_interval` significantly reduce
          the time between connection checks.
      
        - Timeouts like `mariadb_monitor_galera_healthcheck_timeout`
          and `mariadb_monitor_ping_timeout` allow faster failure
          detection, while `mariadb_monitor_galera_healthcheck_max_timeout_count`
          sets the maximum number of allowed timeouts before marking a node as down.
      
      Calculation:
      
       - Galera healthcheck:
      
         4 seconds (interval) + 1 second (timeout) + 4 seconds (interval)
         + 1 second (timeout) = 10 seconds.
      
       - Ping healthcheck:
      
         3 seconds (interval) + 2 seconds (timeout) + 3 seconds (interval)
         + 2 seconds (timeout) = 10 seconds.
      
      Both the health check and ping check mechanisms will detect a node failure
      within a maximum of 10 seconds. Both processes (health check and ping)
      operate independently, and failure in either mechanism will mark the node
      as failed.
      
      Health Check Failure Detection: Up to 10 seconds.
      Ping Failure Detection: Up to 10 seconds.
      Connect Attempts: ProxySQL also tries to connect every 2 seconds, which
      helps monitor connectivity.
      
      These changes ensure that ProxySQL can detect issues in 10 seconds
      as haproxy, significantly reducing downtime compared to default settings.
      This adjustment enables faster and more reliable monitoring, improving system
      stability and reducing potential downtime in production environments.
      
      Change-Id: Ic28801519cdb35ed2387a1468b9df661847a5476
      79897566
    • Michal Arbet's avatar
      Fix ProxySQL startup mode to use --initial · 7723a6f4
      Michal Arbet authored
      The ProxySQL startup script was incorrectly using
      the `--reload` flag, which only reloads/merges the configuration
      without initializing the database from the config file [1]. This
      change corrects it to use the `--initial` flag, ensuring that
      the database is always reloaded from the configuration at startup.
      
      [1] https://proxysql.com/documentation/configuring-proxysql/#initialstartup
      
      Change-Id: I9cc721555a6d19409b6ac24432b6b34a83efc42c
      7723a6f4
    • Zuul's avatar
      a4fa5bcd
  6. 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
  7. Sep 19, 2024
    • Michal Arbet's avatar
      [Trivial] Fix ironic when proxysql is enabled · 323f10a7
      Michal Arbet authored
      This patch adds missing ironic_database_shard_id
      which is used by proxysql-config role to generate
      proxysql configuration.
      
      Change-Id: I11ddfe73c79cc59a97d119091c8b9a3f5eda001d
      323f10a7
    • Zuul's avatar
      Merge "Add a precheck to catch RMQ SLURP upgrades" · 7a9b0db7
      Zuul authored
      7a9b0db7
    • Michal Arbet's avatar
      Standardize python version paths · 91a4d8f7
      Michal Arbet authored
      This patch removes the hardcoded `distro_python_version`
      mapping and usage from the configuration and templates,
      aligning with the dynamic Python version detection
      introduced in the dependent patch below.
      
      The changes simplify the kolla-ansible roles by using
      general `python3` paths, ensuring compatibility across
      distributions without requiring version-specific handling.
      
      Template files for Horizon, Ironic, Skyline, and others
      have been updated to reflect this,
      improving maintainability and reducing complexity.
      
      Depends-On: https://review.opendev.org/c/openstack/kolla/+/926744
      Change-Id: I85431b058b4184d96600cf17aaf8de871a018d61
      91a4d8f7
  8. Sep 18, 2024
  9. Sep 17, 2024
  10. Sep 16, 2024
  11. Sep 13, 2024
  12. Sep 12, 2024
    • Pierre Riteau's avatar
      Separate outputs of kolla_toolbox inner module · 54076620
      Pierre Riteau authored
      Inner modules called by the kolla_toolbox module were returning stdout
      and stderr as a single output object. This could break JSON parsing if
      any data was present in stderr, for example warnings such as:
      
          [WARNING]: Collection ansible.posix does not support Ansible version 2.14.17
      
      Fix by using demux=True to separate the two streams. The stderr content
      is logged as it could be useful for troubleshooting or catching
      deprecation notices.
      
      Change-Id: Iad0476d4511f28c837794352c9a3e2f47113d9a1
      Closes-Bug: #2080544
      54076620
    • Sven Kieske's avatar
      make OIDCClaimDelimiter configurable · 4eddb2cb
      Sven Kieske authored
      
      Add a new variable keystone_federation_oidc_claim_delimiter
      to make this configurable for keycloak OIDC federation.
      
      Closes-Bug: #2080394
      
      Signed-off-by: default avatarSven Kieske <kieske@osism.tech>
      Change-Id: If14285f033ed4914fd3b28d7efcc95e1c9f273a5
      4eddb2cb
  13. Sep 11, 2024
Loading