| Age | Commit message (Collapse) | Author | Files | Lines |
|
Currently if it somehow fails for 5 times - we get exit code 0.
Closes-Bug: #2052293
Change-Id: I2bdeb77e3133123053b05adcbde3a426c60f3304
(cherry picked from commit 94bd013ed55fd79bc4bfa33121c823927ec40b56)
|
|
* Use structure that allow for custom package version and base URL.
Change-Id: I169e51c0f5c691518ada1837990b5bdd2a3d1481
Closes-bug: #2020761
(cherry picked from commit 7f38e1df71eafb250b14c4e125c7313bd9218f7d)
|
|
ansible.posix 1.5.4 has been released and it broke the way
we use JSON callback plugin (it requires play.path) - see [1] and [2].
[1]: https://github.com/ansible-collections/ansible.posix/commit/3bbf2e3cd56775096fc8ce69e281142472b73cac
[2]: https://github.com/ansible-collections/ansible.posix/issues/461
Change-Id: I2f879e59a64b9039a8a27c40bd462fde4df73f43
(cherry picked from commit d965b1b3da9b8c2780a91781834a46f5886bd9c2)
|
|
We switched repo to provide Erlang 25 but not switched to it.
Change-Id: I8b0a2f27ccb3db61a38d8fe89676f99eed1e3d75
|
|
Swift deployment is broken since CVE-2022-38060 fixed sudoers file in
the I66476a2b396e2cbe41e68ac51f57aae1806b2ed8. The kolla-toolbox
container have their own virtualenv path differs from all other
containers. This change adds the correct sudoers secure_path
configuration needed only for kolla-toolbox conainer.
Related-Bug: #1985784
Change-Id: I3651576ee354364d639c187ff750491667ecab56
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
|
|
Change-Id: I13e3cf5a02dadcedd1ebbd54d56f7f633e6e3d68
|
|
We do not have Erlang 25 for CentOS Stream 9 on AArch64 so we revert to
use Erlang 24 from CentOS repository.
Also synced Erlang and RabbitMQ versions between images.
Change-Id: I1480de095eaea66c3a83a61ca3ff269953181e39
|
|
OpenStack 'zed' requires Python 3.8+ so RHEL 8 family has to go.
This changeset moves to CentOS Stream 9 while move to RockyLinux 9 is
planned as final solution.
CI moved to CentOS Stream 9 nodes.
Depends-on: https://review.opendev.org/c/openstack/kolla-ansible/+/839715
Change-Id: I113b9984294cf8663d3fc0c8840320e1d40ea731
|
|
Cap openstacksdk in kolla-toolbox to avoid ansible-openstack-collection
from failing.
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/844905
Change-Id: I4d7dcc413cd9ab0b9db550e1aed7d2229b04c5d1
|
|
As we have one type of images now some RUN calls could be merged so we
will have less layers in resulting images.
Change-Id: I5178c58fbd8c65efe825dc249c0f1368ef0fe8e0
|
|
Explicitly set the permissions on the kolla-toolbox kolla_extend_start
file. Also, since all extend_start files are sourced rather than
executed, the executable bits are now cleared throughout the project.
Change-Id: I5c2deb4a2e33575d57c852089f856a9acc6818d0
|
|
With binary install type dropped there is no need for this macro.
Change-Id: I7bdd29eb48a23faa04a98e785129d97258f05e64
|
|
We have one install_type only now so that infra stuff is not needed
anymore.
Change-Id: I60d50ba7699d46d001eaef365fb84b0ce8e9b262
|
|
Needed-By: https://review.opendev.org/c/openstack/kolla-ansible/+/832159
Change-Id: Ie90f13a568b4120531bbbf5982d2cbbf1f9c5995
|
|
This change adds and unifies an ability to override hardcoded URLs for
air-gapped environments via the usual blocks mechanism. Also, this
change replaces ENV with ARG instruction for the variables used only
in building images, and uses bash variable expansion where it possible.
This change is a continuation of the I46b77978926fc2b578a68d1aaa944b2198af0685
Change-Id: I1fbad333b1bc95484e6f4c5145d5936a0e2db84f
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
|
|
Also update Erlang to 24
Change-Id: Ifbaccc54896bab096a6d16dc7733941dd600cf39
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/828594
|
|
RabbitMQ requires Erlang 23+ and soon will bump to 24+.
On AArch64 we used version 22 as there was no other option. Now it is.
Change-Id: I667ccda5bb4edbfbfb97dfb0cea264837ed05cae
|
|
|
|
New pip has nice features for detection of conflicting
requirements.
When installing from PyPI, as we do in source images, running
the latest pip+setuptools+wheel is recommended.
Co-authored-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Change-Id: I4ae3a82cc796a60450c2a35beba32972964bc5d0
|
|
We are just overinstalling these.
PyMySQL is enough nowadays.
Change-Id: I074d9d13f52c208c0f3d92ea060b3b9abb6a6b9e
|
|
Change-Id: I55327cc3c686eae8f2da85ea957cae851e3041e4
|
|
In order to achieve logging to /var/log/kolla/ansible.log from different
users than default ansible - the config needs to be moved to global
location.
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/807679
Closes-Bug: #1942846
Change-Id: I4325fe031647a04766516afa528639d6ff0b5ae6
|
|
Change-Id: I4ce8244a3fb034493a75f4096de2640e11b48931
Closes-Bug: #1931867
|
|
Drop installation of pymongo because it is not used by Telemetry
since at least Queens [1] [2] and MongoDB is not deployed by
Kolla Ansible since Victoria.
[1] https://review.opendev.org/c/openstack/ceilometer/+/512700
[2] https://review.opendev.org/c/openstack/aodh/+/373043
Change-Id: Id44ab0fe673f01490cd8ca9c51f465ae7ad95e08
|
|
RabbitMQ 3.8.14 is the last version with Erlang 22 support
Change-Id: I1d68a47f78b925af76c44c61af7da1465371e721
|
|
Now that we run without erlang pinned by the repository itself,
let's pin it on our side.
Change-Id: Ifa491b102ad0db7f6dc645ca552d83b53bcf3b46
|
|
With RDO use we did not disabled some repositories. This patch disable
them and enable where needed.
Change-Id: Ia9d537fe9c1ad54789d2bfb4027254fbb3defe7e
|
|
Ansible 2.10 includes openvswitch.openvswitch collection in lower version than
2.0.0 - which fixes the bug that state: absent requires value: to be set.
Related change: https://review.opendev.org/c/openstack/kolla-ansible/+/750631
Change-Id: I92dab4394b7eebdcff7f90765cde078c1292312b
|
|
Change-Id: I63f6491919eba913bfd35a294b4cc17cc4c68603
|
|
|
|
Currently we use couple of curl options throughout Dockerfiles, this change
adds all common options to curlrc (-sSLf) and removes usage of those in
Dockerfiles.
Change-Id: I46b77978926fc2b578a68d1aaa944b2198af0685
|
|
Change-Id: I7a05751143fbf41a4d1754049d58cd434811bcc6
|
|
There is small subset of images where we need to know which install_type
or install_metatype is used. So add them only there (and their
children).
Change-Id: Ib7d5e36b958d6c8daf2989df32e29fa24b46c62a
Implements: blueprint infra-images
|
|
|
|
* "Use distribution-provided pip"
* "Use python's pip module invocation method"
* "Install pip earlier in order to avoid multiple installation"
* "Remove pip_version variable requirement and call"
Change-Id: Id0e738044a1931f9d611a7281a48ea4a593f1cf1
Closes-bug: #1893204
|
|
Required by https://review.opendev.org/#/c/750631/
Change-Id: I9e4e408ebc197b12ef128ec629fb648246ef6582
|
|
Defaults to 'image_prefix' for now but shows which images gets their
names changed soon.
Change-Id: I0608e8f62f28d6667b4c8753c47553e4cbf75503
|
|
We need to be sure that we use exact same version every time. So fetch
upper-constraints.txt file earlier and use it while installing
virtualenv package.
Change-Id: I61711a878b2bda9f0d2e88966f13121dfcddfda7
|
|
Shade is deprecated long time, and only kolla_sanity.py utilised by k-a swift
role is using that.
Closes-Bug: #1760517
Depends-On: https://review.opendev.org/733143
Change-Id: Ie2e17bba37494b320986c17b30b15b62dd71ba22
|
|
With the move to RHEL/CentOS 8 we no longer have Python 2 in our images
so there is no need for checking which Python version (2.x or 3.x) is
used inside of containers.
We also no longer have to support yum as a value for
distro_package_manager.
Partially-Implements: blueprint centos-rhel-8
Change-Id: Ie45cf3465fedddbde7856961527421883ba3d5c9
|
|
Upgrade and pin RabbitMQ to 3.8.
Upgrade Erlang to 22 to meet requirements:
https://www.rabbitmq.com/which-erlang.html
Start using bintray repository provided by RabbitMQ.
Linaro builds will be used for aarch64.
Implements: blueprint rabbitmq-version-upgrade
Closes-Bug: #1848452
Change-Id: I3d775fd832f2603181da89009cebc1370a61a023
|
|
This change includes a number of fixes to make CI functional.
* Blacklist ansible 2.8.9 in kolla-toolbox
Ansible 2.8.9 broke the OpenStack modules, see
https://bugs.launchpad.net/kolla/+bug/1866181 for details.
This causes us to fail with the following error:
/usr/lib64/python2.7/distutils/version.py\", line 40, in __init__
self.parse(vstring)
File "/usr/lib64/python2.7/distutils/version.py", line 105, in parse
match = self.version_re.match(vstring)\nTypeError: expected string or buffer
This change works around the issue by blacklisting ansible 2.8.9 in
the kolla-toolbox image.
* Drop CentOS 7 CI jobs. There are multiple issues with CentOS 7 now,
and we have CentOS 8 jobs in place so it's time to move on
* pin requirements to commit
ea42244642c3c091cb4f70917ae8d79af217b6af. This is required to avoid
oslo.cache 2.1.0, which breaks us. See
https://bugs.launchpad.net/kolla-ansible/+bug/1866008.
Change-Id: Iebc39bd804d2c4f553d42c285549f50f4c8bc8be
Closes-Bug: #1866181
Related-Bug: #1866008
|
|
Change-Id: I9692dda817ef134d647247431565e1b58cf9da41
|
|
backport: train, stein, rocky
Override in filter needs to follow the rule:
<image_name>_<call_type>_<override/append/remove>
`call_type` for `kolla_toolbox_pip_virtualenv_packages` should be
`pip_virtualenv_packages`, and `pip_packages` can't match with
`kolla_toolbox_pip_virtualenv_packages`, this makes
the value can't be overrode in template override.
Change-Id: I1dbe2dfd4bce73ce2285f45f997d45b5dcc95f4c
Closes-bug: #1865119
|
|
* Some further changes for python2 vs python3 packages
* Allow rabbitmq 3.7.*, since a newer erlang is available
* Switch from qemu-img-ev to qemu-img on CentOS 8
* bridge-utils no longer available on CentOS 8
* libvirt-daemon-driver-lxc no longer available on CentOS 8
* Mark some more images buildable for CentOS 8
Change-Id: Iaf5b68ff6d944ae730ca0b1d5832172c106a6c08
Partially-Implements: blueprint centos-rhel-8
Partially-Implements: blueprint centos-rhel-python-3
|
|
We want RabbitMQ 3.7.10-1 for Ubuntu. So set it in one place which is
designed for such things instead of doing it everytime we want to
install it.
Change-Id: Ib2b2d4e392aaf77bcdec24f9f5551cdf15d32d91
|
|
These are no longer used by kolla ansible, and were not used by any
other deployment tools.
Change-Id: I214b0b7d94717aa9aeae88363d5721396e7b6684
|
|
Disable external repositories by default and enable only when needed.
Depends-on: https://review.opendev.org/696480
Implements: blueprint repos-off-by-default
Change-Id: Icf2a8397a8349e0fe849d88d160409fd234480a9
|
|
This ensures we can use just the release name in OPENSTACK_RELEASE,
rather than the branch name.
TrivialFix
Change-Id: I1902a5039cb9318d7d70387dd2dc142d915fd298
|
|
This allows us to execute RabbitMQ Ansible modules in the kolla-toolbox
container using the kolla ansible kolla_toolbox module.
Partially Implements: blueprint support-nova-cells
Change-Id: I2c10c7b4f7dbdd87f2dda7c40fa44cded07c57a5
|