- May 25, 2023
-
-
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
-
- Dec 21, 2022
-
-
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
-
- Dec 14, 2022
-
-
Michal Nasiadka authored
This change bumps up the maximum supported Ansible version to 6.x (ansible-core 2.13.x) and minimum to 5.x. This synchronises Kayobe with Kolla Ansible. Shebang has been removed from modules due to [1]. os_openstacksdk_version has been added as openstack cloud modules don't support versions greater than 0.99. [1]: https://github.com/ansible/ansible/pull/76677 Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/867546 Change-Id: Ibb00f6d079442a8509411ae8a71d74fd7bd8cccd
-
- Dec 07, 2022
-
-
Mark Goddard authored
Supports creating and using swap files, or using pre-existing swap devices. Story: 2004958 Task: 29390 Change-Id: Iadb540f42036a4a63cdd5b695b82f1504b3a4a28
-
- Jun 09, 2022
-
-
Will Szumski authored
Change-Id: I2823016294e7df63f63be9ab26535b3962a71ebe
-
- Mar 29, 2022
-
-
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
-
- Jan 28, 2022
-
-
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
-
- Sep 29, 2021
-
-
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
-
Mark Goddard authored
These action plugins will be useful for generating configuration files on the Ansible control host. Change-Id: I172c8e81936c93c8d6ce4e53c83083a44aa52e6b
-
- Mar 24, 2021
-
-
Michal Nasiadka authored
Molecule also needs to be bumped to support Ansible 2.10 lint: section changed in Molecule 3.x - adapted. molecule-docker added do test-reqs because it code has moved to it from molecule core pytest-testinfra and pytest-molecule needed for testinfra tests to work [1]: https://github.com/ansible-community/molecule/issues/2872 Change-Id: I0299f5126ebd080f3912a76294b0013abe7747a0
-
- Oct 01, 2020
-
-
Pierre Riteau authored
Updates the minimum version of Ansible from 2.8 to 2.9. Change-Id: Icd5a23b3e723c14ae214d6c4e982109406dd0611
-
- Aug 13, 2020
-
-
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
-
- May 12, 2020
-
-
Mark Goddard authored
1. Blacklist Ansible 2.9.8 Ansible 2.9.8 includes a regression on the fileglob plugin [1] that causes the Kolla Ansible HAProxy role to fail. This change blacklists Ansible 2.9.8 to work around the issue. 2. Use ensure-docker role instead of install-docker The install-* roles are being deprecated and renamed to follow the ensure-* naming convention [2]. [1] https://github.com/ansible/ansible/issues/69450 [2] http://lists.zuul-ci.org/pipermail/zuul-announce/2020-April/000071.html Change-Id: Iab1d84e6a8c1b3dd81e53279309153687677a061 Story: 2007659 Task: 39748
-
- Apr 20, 2020
-
-
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
-
- Mar 05, 2020
-
-
Mark Goddard authored
Backport: train OpenStack Ansible modules were broken in Ansible 2.8.9. This affects kolla-toolbox, and kayobe's ansible install for tasks that interact with APIs. See https://github.com/ansible/ansible/issues/68042 and https://bugs.launchpad.net/kolla/+bug/1866181. This change blacklists ansible 2.8.9 for Kayobe and Kolla Ansible. A separate change will be made to kolla to blacklist ansible 2.8.9 from the kolla-toolbox image. Depends-On: https://review.opendev.org/711485 Change-Id: I535ab240b7ab8f3ab104b49170e4a9ee01fc482b Story: 2007383 Task: 38959
-
- Feb 27, 2020
-
-
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
-
- Feb 25, 2020
-
-
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
-
- Dec 12, 2019
-
-
Will Szumski authored
Updates the minimum version of Ansible from 2.5 to 2.6, and the maximum supported version from 2.7 to 2.8. Change-Id: I5aeb28424a8d1920b58ca73e37131d8cbfeabf29
-
- Jul 08, 2019
-
-
Pierre Riteau authored
Change-Id: Ia7d069bc49037c9961bce2a7814fae5745ae8a91
-
- Jul 02, 2019
-
-
Mark Goddard authored
Updates the minimum version of Ansible from 2.4 to 2.5, and the maximum supported version from 2.6 to 2.7. Change-Id: If8071a9b5c85e5e69fbb333e91c84d10c20d80f3 Story: 2006143 Task: 35639
-
- Jun 17, 2019
-
-
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
-
- Jun 11, 2019
-
-
Pierre Riteau authored
This new version makes the kayobe-tox-molecule job fail with: ImportError: cannot import name py31compat Change-Id: Ieddf039483649cc7b575019409257b6ce5b3fb99
-
- Nov 07, 2018
-
-
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
-
- Jun 06, 2018
-
-
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
-
- Mar 08, 2018
-
-
Mark Goddard authored
Python Build Reasonableness (PBR) [1] is used by most OpenStack projects for building python packages, so we should fall into line here. [1] https://pypi.python.org/pypi/pbr Change-Id: Ic74a62eeb65e7158ce75a082e68652c2e50a2a91 Story: #2001637 Task: #6648
-
- Sep 18, 2017
-
-
Mark Goddard authored
-
Mark Goddard authored
Kayobe has a dependency on ansible, which is currently capped to 2.2. Docker has decided to rename the docker-py python module to docker, and made some backwards incompatible API changes to go along with it. Kolla-ansible requires us to use docker (not docker-py) on the target hosts, but this is not supported for the docker_container and docker_image ansible modules that kayobe uses with ansible 2.2. Upgrading to ansible 2.3 allows us to support the new docker python package.
-
- Jul 11, 2017
-
-
Mark Goddard authored
Ansible 2.3 has been found not to work with some parts of kayobe.
-
- Apr 24, 2017
-
-
Stig Telfer authored
-
- Apr 04, 2017
-
-
stack authored
-
- Mar 17, 2017
-
-
stack authored
-
- Mar 01, 2017
-
-
Mark Goddard authored
Unit tests can be run via: tox -e py27 Style checks can be run via: tox -e pep8
-
- Feb 28, 2017
-
-
Mark Goddard authored
The CLI replaces all existing shell scripts except for configure-kayobe.sh. Other shell scripts are now removed.
-