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
    • 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 15, 2024
  3. Oct 14, 2024
  4. 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
  5. 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
  6. Sep 26, 2024
  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
    • 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
      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 27, 2024
  20. Aug 23, 2024
  21. Aug 20, 2024
  22. Aug 16, 2024
    • Michal Arbet's avatar
      Fix nova-libvirt's secrets - device or resource is busy · 82a642ed
      Michal Arbet authored
      This patch removes the nova_libvirt_secret container volume because
      it is a complete antipattern, and during testing, I found that
      it causes problems. When it was necessary to copy libvirt secrets
      from /etc/kolla/nova-libvirt/secrets, the container logs reported that
      the resource is busy - precisely because it was a mounted container
      volume. This, of course, is unnecessary because the secrets are copied
      to the kolla host in /etc/kolla/nova-libvirt/secrets.
      
      Closes-Bug: #2073678
      Change-Id: I715a6a95f9d32d62a8199727ddbaddd0dd7baa2d
      82a642ed
  23. Aug 13, 2024
    • Alex-Welsh's avatar
      Fix prometheus.yml templating · 0acccc04
      Alex-Welsh authored
      This change fixes a bug in the prometheus.yml template which breaks
      alertmanager configuration
      
      Closes-Bug: 2076660
      Change-Id: I9adf34747a22d7d5aef31fad3f68f7880e18f022
      0acccc04
    • Sven Kieske's avatar
      external/internal vip: use proper ip comparison · a5f0e16c
      Sven Kieske authored
      The variable kolla_same_external_internal_vip in group_vars/all.yml
      was set to true or false depending on the jinja2 equality operator
      - == - which only checks if two objects are the same.
      
      This is problematic because IPs can be the same but have different
      string representations, e.g. leading zeroes in some octets, but still
      repesent the same instance of an IP.
      
      Example: 192.168.1.1 and 192.168.001.001 are the same.
      
      Fix this, by using the ansible.utils.ipaddr() jinja2 filter instead
      to increase robustness.
      
      Closes-Bug: #2076889
      Introduced-By: https://review.opendev.org/c/openstack/kolla/+/285005
      
      
      
      Signed-off-by: default avatarSven Kieske <kieske@osism.tech>
      Change-Id: Ied43b9d0c4b33bb514d367f3f99c2e30e104d139
      a5f0e16c
  24. Aug 12, 2024
  25. Aug 09, 2024
    • Christian Berendt's avatar
      Add fluentd_enable_watch_timer · 110686e6
      Christian Berendt authored
      By default, the watch timer in Fluentd is set to True.
      To save CPU and I/O consumption this can be set to False, which
      kolla-ansible has been hardcoding so far.
      
      When the watch timer is disabled, in_tail relies entirely
      on inotify. In certain constellations, this may not work
      reliably. In these cases, the watch timer needs to be activated, so this
      change adds a variable to make the setting configurable.
      
      Change-Id: Ic8ce6fbc3ed8f31d5d090e114b35703532679729
      110686e6
  26. Aug 08, 2024
    • Franciszek Przewozny's avatar
      Add /v3 suffix to OPENSTACK_KEYSTONE_URL · c0db4ac4
      Franciszek Przewozny authored
      Change I60162b54bc06e158534d29311d4474b34750c64d
      removed the '/v3' suffix from horizon_keystone_url variable,
      but the version is needed for some operations.
      This patch fixes the "Change password" Horizon function
      until Horizon bug #2073639 is resolved.
      
      Closes-Bug: #2073159
      Change-Id: I6ff46b47e9109d0757f2e5ce8019ba591b9892e1
      c0db4ac4
    • Stig Telfer's avatar
      Fix post-config of OVS for manila-share servers · 10b72b98
      Stig Telfer authored
      A host that is in the manila-share group, but not in controllers
      network, etc., will fail service deployment if it is not using the
      generic manila driver (eg, if it is using the CephFS native driver).
      This is because deployment of openvswitch-vswitchd is predicated on
      the drivers enabled for manila-share.  However, this predicate is not
      universally applied.  Where inventory group membership is used the
      dependency on openvswitch-vswitchd presence will fail.
      
      Closes-Bug: #1993285
      
      Change-Id: I821e513d24f2a1c59240d65ad68c3b5f2080e439
      10b72b98
    • Michal Nasiadka's avatar
      Bump codespell pin to <3 · 2a2cb92b
      Michal Nasiadka authored
      Adapt files to match new requirements, add assertIn to whitelist
      
      Change-Id: I516bbbb3a0f194e8fa08d04c0290b586963b8b55
      2a2cb92b
Loading