Skip to content
Snippets Groups Projects
  1. Jan 21, 2025
  2. Jan 09, 2025
  3. Jan 08, 2025
  4. Dec 09, 2024
  5. Dec 08, 2024
    • Michal Arbet's avatar
      [CI] Fix testing inventory template due Ansible 2.16.14 breakage · 393ee5b0
      Michal Arbet authored
      Ansible 2.16.14 includes a fix for CVE-2024-11079 [1], which results
      in the following error:
      
          jinja2.exceptions.UndefinedError:
              'ansible.vars.hostvars.HostVarsVars
               object' has no attribute 'ansible_host'
      
      This issue occurs because Ansible now includes `localhost` in
      `hostvars` without the `ansible_host` variable set, which
      unexpectedly breaks our test inventory rendering.
      
      This patch adds a filter to exclude `localhost`
      during the rendering process, as it is irrelevant for our purposes.
      
      [1] https://github.com/ansible/ansible/pull/84353
      
      Change-Id: Ie7ae47e5a624da31cf6cc5cd3c9239450487b8ed
      (cherry picked from commit 0298699a)
      393ee5b0
  6. Dec 04, 2024
  7. Nov 29, 2024
  8. Nov 22, 2024
  9. Nov 04, 2024
    • Michal Nasiadka's avatar
      Fix Octavia cert generation · 6c2d911f
      Michal Nasiadka authored
      I have no clue how it worked previously in CI, but now
      it's using default path to the inventory - which does
      not exist.
      
      In addition to that, type=int in cliff will default to
      None, so the check had to be rewritten - because we
      always did cert expiry check instead of generating them.
      
      Change-Id: I84d71558c2666ba2cfa47054f782d25ff0c1f691
      (cherry picked from commit cd8ecfc8)
      6c2d911f
  10. Oct 28, 2024
    • Roman Krček's avatar
      Rewrite kolla-ansible CLI to python · 9ea63dc3
      Roman Krček authored
      
      Moving the CLI to python allows for easier
      maintenance and larger feature-set.
      
      This patch introduces a few breaking changes!
      The changes stem the nature of the cliff package.
      - the order of parameters must be
        kolla-ansible <action> <arguments>
      - mariadb_backup and mariadb_recovery now are
        mariadb-backup and mariadb-recovery
      
      Closes-bug: #1589020
      Signed-off-by: default avatarRoman Krček <roman.krcek@tietoevry.com>
      Change-Id: I9749b320d4f5eeec601a055b597dfa7d8fb97ce2
      9ea63dc3
  11. Oct 25, 2024
  12. Oct 24, 2024
    • Michal Nasiadka's avatar
      CI: Add ProxySQL exception to check-logs.sh · 49cebeaf
      Michal Nasiadka authored
      After switching to ProxySQL as default we see following logs:
      CRITICAL neutron [None req-c214fdae-5da7-402d-92b0-0572c278a5b5 - - - - - -] Unhandled error: sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (9001, 'Max connect timeout reached while reaching hostgroup 0 after 10150ms')
      
      Mainly in upgrade jobs, which otherwise pass successfuly - just fail on this
      check.
      
      Change-Id: I4336ec62a0a2dfbe815842f1bacb02135bcf4c0e
      49cebeaf
  13. Oct 17, 2024
  14. Oct 14, 2024
  15. Oct 04, 2024
  16. 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
  17. Sep 17, 2024
  18. Sep 06, 2024
  19. Aug 29, 2024
  20. Aug 28, 2024
    • Matus Jenca's avatar
      CI: Fix upgrade jobs failing on adding new certificates · 07882b9d
      Matus Jenca authored
      There is a bug in current `tests/upgrade.sh`. If a
      developer adds a new type of certificate i.e. for
      RabbitMQ, it is not generated on upgrade because the
      script does not run the `certificates` role.
      This fix adds the `certificates` role to the script.
      
      Change-Id: Ib257f8342c392b78e02ae31588ce5c6f8943f5b8
      07882b9d
  21. Aug 27, 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 16, 2024
  24. Aug 12, 2024
  25. Aug 09, 2024
  26. Aug 08, 2024
  27. Jul 22, 2024
    • Mark Goddard's avatar
      CI: test interface names with dashes · a42b0b5e
      Mark Goddard authored
      Interface names with dashes can cause problems in Ansible since dashes
      are replaced with underscores when referencing facts.
      
      Change-Id: Ib15f81120d353ebcf8965dc0aaba90f3a9b0ec44
      Related-Bug: #1927357
      a42b0b5e
  28. Jul 10, 2024
    • Michal Arbet's avatar
      [CI] Force config drive for ipv6 jobs · 11685a8f
      Michal Arbet authored
      As our CI is ipv6 only and using cirros for tests.
      Therefore we need to set force_config_drive = true.
      
      Change-Id: I07058a4b30d0de1aaf8e82656024c5f6a99b290b
      11685a8f
  29. Jul 09, 2024
  30. Jul 08, 2024
    • Ivan Halomi's avatar
      Fix podman healtcheck when not enabled · 59bebd41
      Ivan Halomi authored
      
      There was a bug where setting the test command
      for the health check to 'NONE' would throw an error
      in podman_worker. This was problematic since K-A
      uses 'NONE' as an indicator that the health check is not enabled.
      
      Closes-Bug: #2071912
      Change-Id: I3140bb79eace58b23f579be3da569c502c52c38c
      Signed-off-by: default avatarIvan Halomi <ivan.halomi@tietoevry.com>
      59bebd41
  31. Jul 03, 2024
  32. Jun 26, 2024
    • Pedro Henrique's avatar
      Fix the docker container dimensions comparison for short notation · a086b780
      Pedro Henrique authored
      When using short notations like `1g` or `512m` to define the
      container dimensions, we are always getting the container to
      being restarted in each kolla-ansible run, even with no real
      changes in the container configs.
      
      Change-Id: Ic8e2dd42b95a8f5c2141a820c55642a3ed7beabd
      Closes-Bug: #2070494
      a086b780
  33. Jun 14, 2024
  34. Jun 13, 2024
Loading