Skip to content
Snippets Groups Projects
  1. Oct 17, 2024
    • Michal Arbet's avatar
      Fix mariadb backup unable to create history table · e3ce0711
      Michal Arbet authored
      The backup user was missing the necessary CREATE
      privilege for the mariadb_backup_history table
      within the mysql schema, causing backups to fail
      when attempting to create this table.
      
      This patch addresses the issue by granting the backup
      user the required CREATE permission specifically for
      the mariadb_backup_history table. With this change,
      the backup process can now complete successfully
      without manual intervention for user permissions.
      
      Closes-Bug: #2061889
      Change-Id: Ic92c8959972329adbd4b89c521aa87678f25b4e4
      e3ce0711
    • jayjahns's avatar
      Change from PERCONA_SCHEMA to mysql for mariabackup · 7aea1d3e
      jayjahns authored
      In 2023.1, mariadb was at version 10.6, which meant that
      the PERCONA_SCHEMA.xtrabackup_history table was used to
      log historicals for backups.
      
      Starting in 2023.2 onwards, mariadb is at version 10.11, and the
      default table used is now mysql.mariadb_backup_history.
      
      Because the mysql database already exists, there is no reason
      to try and create it. Instead, we just need to update the defaults
      and ensure the permissions get added to the correct database.
      
      Related-Bug: #2061889
      Change-Id: If146d8f896c70374884807d42ca0e12df3276d48
      7aea1d3e
    • Michal Arbet's avatar
      Switch mariadb's loadbalancer from HAProxy to ProxySQL · 8f0a4bcb
      Michal Arbet authored
      It's been some time since ProxySQL has been
      with us in Kolla. Let's switch the load balancer
      for MariaDB connections from HAProxy to ProxySQL.
      
      Depends-On: https://review.opendev.org/c/openstack/kolla/+/928956
      Change-Id: I42ba4fb83b5bb31058e888f0d39d47c27b844de5
      8f0a4bcb
    • Michal Arbet's avatar
      Adjust ProxySQL shunning behavior for single-node clusters · dafac823
      Michal Arbet authored
      In single-node clusters, ProxySQL shuns the server on MySQL
      errors, causing failures during upgrades or container restarts.
      This change increases the timeout to 10 seconds, allowing
      the backend time to recover and preventing immediate errors
      in CI environments.
      
      Change-Id: I70becdc3fcb4ca8f7ae31d26097d95bdc6dd67eb
      dafac823
  2. Oct 16, 2024
  3. Oct 15, 2024
  4. Oct 14, 2024
  5. Oct 08, 2024
    • Michal Nasiadka's avatar
      ovn: Fix FQDN-based deployments · 35e59efa
      Michal Nasiadka authored
      Since [1] Neutron puts requested-chassis entry with a name taken
      from the agent, which results in FQDN-based name on FQDN-based
      deployments. It does not match what we set in hostname in OVS.
      
      [1]: I4e3c001dd3bb37b86fda8b9495a3c5178c3e736d
      
      Closes-Bug: #2080552
      Change-Id: I3ae03aa2e09bc445f0f5a95a43bf210f06685cc1
      35e59efa
  6. Sep 29, 2024
    • Michal Arbet's avatar
      Do not copy TLS files for backend if turned off · 1540618f
      Michal Arbet authored
      This patch fixes an issue where backend related
      certificates are attempted to be copied when
      ``kolla_copy_ca_into_containers`` is enabled but
      ``kolla_enable_tls_backend`` is disabled.
      
      The fix consists of these specific tasks now
      being limited by the condition ``kolla_enable_tls_backend``
      
      Closes-Bug: #2080381
      
      Change-Id: I7ccae4c501ce332519edef336bcceefae9f9568b
      1540618f
  7. 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
    • Maksim Malchuk's avatar
      Add configuration for NTP server in Ironic Inspector DHCP server · 5a37bd6a
      Maksim Malchuk authored
      
      Followup on Ib69fc0017b3bfbc8da4dfd4301710fbf88be661a. This change
      adds the ability to provide the NTP (time source) server for multiple
      DHCP ranges in the Ironic Inspector DHCP server.
      
      Change-Id: I4bbfef3a391b8582ae73cbe06138715b43584dec
      Signed-off-by: default avatarMaksim Malchuk <maksim.malchuk@gmail.com>
      5a37bd6a
  8. Sep 21, 2024
  9. 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
    • Piotr Milewski's avatar
      Typo for purestorage nvme driver · cc377b58
      Piotr Milewski authored
      Closes-Bug: #2081149
      Change-Id: I9969492571e5e9864d4acb95b1af172264cfbd66
      cc377b58
  10. 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
    • 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
  11. Sep 17, 2024
  12. Sep 16, 2024
    • Michal Arbet's avatar
      Do not remove inventory file if placed in /etc/kolla · 18899a7d
      Michal Arbet authored
      This patch fix issue when inventory file is deleted
      by kolla-ansible -i /etc/kolla/inventory destroy call.
      
      Now, inventories are available in tools/cleanup-host
      so we can ignore their removal.
      
      Closes-Bug: #2052706
      Change-Id: If89e94356de515b40ca4e8c023979cd498146303
      18899a7d
  13. Sep 13, 2024
  14. 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
  15. Sep 09, 2024
  16. Sep 05, 2024
  17. Sep 03, 2024
    • Roman Krček's avatar
      Refactor dev mode · b3275272
      Roman Krček authored
      Build upon changes in kolla which change strategy of installing projects
      in containers when in dev mode. This fixes problems where when package
      file manifest changes, the changes were not reflected in to
      devmode-enabled container.
      
      It changes the strategy of installing projects in dev mode in containers.
      Instead of bind mounting the project's git repository to the venv
      of the container, the repository is bind mounted to
      /dev-mode/<project_name> from which the it is installed using pip
      on every startup of the container using kolla_install_projects script.
      
      Also updates docs to reflect the changes.
      
      Depends-On: https://review.opendev.org/c/openstack/kolla/+/925712
      
      
      Closes-Bug: #1814515
      Singed-off-by: default avatarRoman Krček <roman.krcek@tietoevry.com>
      Change-Id: If191cd0e3fcf362ee058549a1b6c244d109b6d9a
      b3275272
  18. Aug 30, 2024
  19. Aug 29, 2024
  20. Aug 27, 2024
  21. Aug 23, 2024
  22. Aug 21, 2024
    • leiyashuai's avatar
      Remove "distutils" library · b3a66ef3
      leiyashuai authored
      Library "distutils" is deprecated in Python 3.10:
      https://peps.python.org/pep-0632/
      
      The versions previously referenced using StrictVersion should be old
      enough that they will not be used in a Dalmatian deployment:
      
      - Ansible 2.11
      - Docker API 1.42, included since Docker engine 23.0.0
      
      Change-Id: Ie315004715a1cb5a91dd54bc64b0a8fd0af650ec
      b3a66ef3
  23. Aug 20, 2024
Loading