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. Oct 25, 2024
  8. Oct 04, 2024
  9. 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
  10. Sep 17, 2024
  11. Sep 06, 2024
    • Michal Nasiadka's avatar
      CI: Fix prometheus upgrade jobs · 88475b22
      Michal Nasiadka authored
      prometheus-msteams group got removed with I93d28ef138b4e784465f3a7eaa11101ea5877050
      and is needed in upgrade jobs
      
      Change-Id: Ief26303993128e327228ee438fe4fec5ff5c46e7
      88475b22
  12. Aug 27, 2024
  13. Aug 08, 2024
  14. 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
  15. 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
  16. Jul 03, 2024
  17. May 27, 2024
  18. May 16, 2024
    • Mark Goddard's avatar
      Revert "Allow setting any_errors_fatal true for gather-facts" · 9cebdb5d
      Mark Goddard authored
      This reverts commit 5b431f0f.
      
      Reason for revert: the any_errors_fatal play parameter is not templated
      by Ansible (tested up to ansible-core 2.15.9). This behaviour is
      demonstrated in [1].
      
      This means that "{{ kolla_ansible_setup_any_errors_fatal }}" is always
      interpreted as 'true', regardless of the value of
      kolla_ansible_setup_any_errors_fatal.  This is particularly bad because
      the default value of kolla_ansible_setup_any_errors_fatal is false.
      
      We now have gather_facts_max_fail_percentage which can be set to 0 to
      provide the same functionality.
      
      [1] https://github.com/markgoddard/ansible-experiments/tree/master/15-fatal-errors
      
      Change-Id: I2e0ea49701b5900eae26434bcdb6b1bb44507ee7
      9cebdb5d
  19. Apr 25, 2024
  20. Apr 24, 2024
  21. Apr 22, 2024
  22. Mar 18, 2024
  23. Mar 15, 2024
  24. Mar 13, 2024
  25. Feb 15, 2024
  26. Feb 14, 2024
  27. Feb 13, 2024
  28. Jan 30, 2024
  29. Jan 26, 2024
  30. Jan 22, 2024
  31. Jan 17, 2024
  32. Jan 05, 2024
  33. Jan 03, 2024
  34. Dec 20, 2023
Loading