Skip to content
Snippets Groups Projects
  1. May 25, 2023
    • Bartosz Bezak's avatar
      Bump up Ansible supported versions to 6.x/7.x · 773eead3
      Bartosz Bezak authored
      This change bumps up the maximum supported Ansible version to 7.x
      (ansible-core 2.14.x) and minimum to 6.x (ansible-core 2.13.x).
      This synchronises Kayobe with Kolla Ansible.
      
      Change-Id: Ibffecaa8085bd38ebc8cded9a4bfebe77d59d515
      773eead3
  2. Dec 21, 2022
    • Scott Solkhon's avatar
      Add Hashi Vault support for Kolla passwords · 08bd6815
      Scott Solkhon authored
      This commit adds the necessary changes needed to support
      reading and writing Kolla passwords to a Hashicorp Vault server
      using Kolla-Ansible commands `kolla-readpwd` and `kolla-writepwd`.
      
      This follows the support that was added into Kolla-Ansible in
      the Change-Id Icf0eaf7544fcbdf7b83f697cc711446f47118a4d.
      
      Change-Id: I732988e6160cc64d663d6ef8179f04d3e1226537
      08bd6815
  3. Dec 14, 2022
  4. Dec 07, 2022
    • Mark Goddard's avatar
      Support configuration of swap · 0c074431
      Mark Goddard authored
      Supports creating and using swap files, or using pre-existing swap
      devices.
      
      Story: 2004958
      Task: 29390
      
      Change-Id: Iadb540f42036a4a63cdd5b695b82f1504b3a4a28
      0c074431
  5. Jun 09, 2022
  6. Mar 29, 2022
    • Mark Goddard's avatar
      Use jinja2.pass_context instead of contextfilter · c9c0019d
      Mark Goddard authored
      The contextfilter decorator was deprecated in jinja2 3.0.0, and has been
      dropped in 3.1.0. This results in the following warning, and failed
      attempts to use filters:
      
          [WARNING]: Skipping plugin (networks.py) as it seems to be invalid:
          module 'jinja2' has no attribute 'contextfilter'
      
      This change switches to use the pass_context decorator. The minimum
      version of Jinja2 is raised to 3 to ensure pass_context is present.
      
      This change also includes some changes to address issues with image
      builds in CI, caused by CentOS Scream.
      
      1. disable IPA image builds in seed deploy jobs
      
      IPA image builds will be split out into a separate job. For now, disable
      them.
      
      2. disable overcloud host image builds in seed deploy jobs
      
      Overcloud host image builds will be split out into a separate job. For
      now, disable them.
      
      Depends-On: https://review.opendev.org/c/openstack/kayobe/+/835279
      Change-Id: If657bf5b0117812d3c53942464cc41cf86cc8ad5
      c9c0019d
  7. Jan 28, 2022
    • Mark Goddard's avatar
      Bump up Ansible supported versions · fb5649bd
      Mark Goddard authored
      This change bumps up the maximum supported Ansible version to 5.x
      (ansible-core 2.12.x) and minimum to 4.x. This synchronises Kayobe with
      Kolla Ansible (see change Ia373f9cc3bb69eba0288bbb3e497e8cadb7cc4d3).
      
      ansible 5 / ansible-core 2.12 raises the minimum version of Python to
      3.8, so CentOS Stream 8 environments will typically get ansible 4 /
      ansible-core 2.11.
      
      Change-Id: If4477e7fa4c022ead6cda4a34a72b342f115936f
      fb5649bd
  8. Sep 29, 2021
    • Pierre Riteau's avatar
      Bump up Ansible supported versions · 0f2b1042
      Pierre Riteau authored
      This change bumps up the maximum supported Ansible version to 4.x
      (ansible-core 2.11.x) and minimum to 2.10. This synchronises Kayobe with
      Kolla Ansible (see change I8b9212934dfab3831986e8db55671baee32f4bbd).
      
      Uses of docker_image are updated. We must now provide the source
      parameter. When source is build (for molecule), we replace force by
      force_source and force_tag and move path and dockerfile under the build
      parameter.
      
      Use docker_image_info instead of docker_image_facts.
      
      Handle update of ansible inside kolla-ansible virtualenv and document
      how to do it for the kayobe virtualenv.
      
      Change-Id: I7a4530f4f63ddb37aa30a617db5944b97bc3e17f
      0f2b1042
    • Mark Goddard's avatar
      Import merge_configs and merge_yaml from Kolla Ansible · a04b5d6a
      Mark Goddard authored
      These action plugins will be useful for generating configuration files
      on the Ansible control host.
      
      Change-Id: I172c8e81936c93c8d6ce4e53c83083a44aa52e6b
      a04b5d6a
  9. Mar 24, 2021
  10. Oct 01, 2020
  11. Aug 13, 2020
    • Pierre Riteau's avatar
      Block Ansible 2.9.12 · f6f08df6
      Pierre Riteau authored
      Ansible 2.9.12 changed default permissions of created files to 600 [1].
      This breaks kayobe because kolla-ansible generates admin-openrc.sh owned
      by root:root with mode 0600, which kayobe fails to read to generate
      public-openrc.sh.
      
      Block only Ansible 2.9.12 as the next release should include a revert of
      this change.
      
      [1] https://github.com/ansible/ansible/issues/71200
      
      Depends-On: https://review.opendev.org/746220
      
      Change-Id: I3de408d384141eee1a088d222dca7d583251a297
      Story: 2008011
      Task: 40661
      f6f08df6
  12. May 12, 2020
  13. Apr 20, 2020
    • Radosław Piliszek's avatar
      Cleanup py27 support · 83bc574b
      Radosław Piliszek authored
      Removes and/or replaces all mentions of py27.
      
      Cleans up obsolete requirements and their lower-constraints.
      
      Update cliff minimum to 3.1.0 in requirements.txt, which has a fix for
      story 2005891.
      
      Change-Id: I52cffa2f1aee944f79c4618ea20b779755792f2a
      83bc574b
  14. Mar 05, 2020
  15. Feb 27, 2020
    • Mark Goddard's avatar
      Bump Ansible version range to 2.8 - 2.9 · ebd5aa44
      Mark Goddard authored
      Updates the minimum version of Ansible from 2.6 to 2.8, and the maximum
      supported version from 2.8 to 2.9.
      
      CentOS 8 requires Ansible 2.8.
      
      Change-Id: I3f8f7f8d7d37e3cb851965a491ac9c43030869d5
      Story: 2006574
      Task: 38826
      ebd5aa44
  16. Feb 25, 2020
    • Mark Goddard's avatar
      CentOS 8: Use ansible_playbook_python for localhost dependencies · a9113517
      Mark Goddard authored
      Currently we install python dependencies on the Ansible control host
      each time the ip-allocation and console-allocation roles are executed.
      This is inefficient, particularly in the case of the ip-allocation role
      which is run serially for all hosts. It is also unnecessary since we
      have these packages available in the Python environment used to execute
      kayobe.
      
      The kolla-ansible role also has an implicit dependency on PyYAML for
      managing kolla passwords.
      
      This change uses ansible_playbook_python as the Python interpreter for
      the necessary tasks in these roles to avoid installing dependencies on
      the system on CentOS 8 and Ubuntu. For CentOS 7 we still need to use the
      platform Python, due to needing SELinux bindings.
      
      Change-Id: Ic6a1c69a34241f4fbe617a0b12aec9b1528ba352
      Story: 2006574
      Task: 38825
      a9113517
  17. Dec 12, 2019
  18. Jul 08, 2019
  19. Jul 02, 2019
  20. Jun 17, 2019
    • Mark Goddard's avatar
      Restrict cliff to <2.15.0 · a3a71b91
      Mark Goddard authored
      Using Kayobe with cliff 2.15.0 fails with the following error:
      
      kayobe playbook run playbook.yml
      invalid conflict_resolution value: 'ignore'
      
      This change restricts cliff to <2.15.0.
      
      Also, fix git cloning previous release repos in CI to allow this patch
      to merge.
      
      Zuul provides repositories with all branches containing all prospective
      changes, not just the current branch. We can use this in the upgrade
      jobs to include changes to the previous release branch when a patch
      depends on them.
      
      Change-Id: I7966cf33f6133090d83232504b8c1da4c7817e0c
      Depends-On: https://review.opendev.org/665703/
      Story: 2005891
      Task: 33748
      a3a71b91
  21. Jun 11, 2019
    • Pierre Riteau's avatar
      Cap paramiko to releases below 2.5.0 · 686cf8d5
      Pierre Riteau authored
      This new version makes the kayobe-tox-molecule job fail with:
      
          ImportError: cannot import name py31compat
      
      Change-Id: Ieddf039483649cc7b575019409257b6ce5b3fb99
      686cf8d5
  22. Nov 07, 2018
    • Mark Goddard's avatar
      Bump Ansible to 2.6.x · a0b4ab57
      Mark Goddard authored
      Bump the maximum supported version of Ansible to 2.6.x for both Kayobe
      and Kolla Ansible.
      
      Change-Id: Ia8691d127bb6ce57dcd6fdac25f0357844f5cbaa
      Story: 2004287
      Task: 27839
      a0b4ab57
  23. Jun 06, 2018
    • Mark Goddard's avatar
      Support Ansible 2.5 · 07b2f06a
      Mark Goddard authored
      Raises the maximum Ansible version in requirements.txt to Ansible 2.5.x
      for both kayobe and kolla ansible.
      
      Also removes the hack to use a patched parted module for ceph block
      device management, as Ansible 2.4 contains the required fix.
      
      Change-Id: I0d2f564eb1ddb63b07829d6f0d918af26887db97
      Story: 2001649
      Task: 6668
      07b2f06a
  24. Mar 08, 2018
  25. Sep 18, 2017
  26. Jul 11, 2017
  27. Apr 24, 2017
  28. Apr 04, 2017
  29. Mar 17, 2017
  30. Mar 01, 2017
  31. Feb 28, 2017
Loading