aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2024-12-11Revert "CI: Pin requests to <2.32 for publish jobs"Michal Nasiadka1-9/+0
This reverts commit 428f37124986019bedc897469f9b1f3470b62082. Reason for revert: Should be fixed now Change-Id: Ife393e7f1b00fa37921e7822668d6a40dd467d5b
2024-11-29Revert "CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean (Dalmatian)"Michal Nasiadka1-1/+13
This reverts commit db0f87d3c8e1e7eccdeb1ea46216d530711680d3. Reason for revert: Epoxy cycle is on Change-Id: Ie2a747223b33039684650bede8863af0c8906d2f
2024-11-28CI: Use debian/ubuntu images from quay mirrorMichal Nasiadka1-0/+9
Change-Id: I3fab494e939478458c2c299303f5c2c91943e0ec
2024-11-06Fix handling configs in base imageMichal Arbet1-0/+460
This commit restructures the handling of configuration files in set_configs.py, introducing functions for managing default configuration files first. Closes-Bug: #2060855 Change-Id: If91e0330dc149143c82d2183b8ddf6fa9f68d80e
2024-10-24CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean (Dalmatian)Michal Nasiadka1-13/+1
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/933312 Change-Id: I0ce9e907594fd160a08ad7929d5bc4bca9abf536
2024-10-02CI: Move image building to a roleMichal Nasiadka1-10/+2
This role can be then used in kolla-ansible instead of setup_gate.sh Change-Id: Ibf04bd90a15e7d3949214d15a8b8e25f2050bb65
2024-10-01CI: Fix aarch64 publish jobs on x86Michal Nasiadka1-2/+2
Change-Id: I5c69d288a427d708b42deadac872a3a7368181e3
2024-09-30Switch to Ubuntu 24.04 LTSMichal Nasiadka1-8/+0
Add setuptools because Python3.12 dropped distutils Needed-By: https://review.opendev.org/c/openstack/kolla-ansible/+/925581 Change-Id: Ie12c43dc1de122c203edc28181366457ccd67834
2024-09-27CI: Build aarch64 images on x86Michal Nasiadka2-0/+7
Since aarch64 OpenDev nodes currently have issues that cause builds to time out (and we can't extend over 3 hours since that's OpenDev maximum). Change-Id: I20d8b7b6de007866f73c41272682f4532987c9e7
2024-06-11CI: Pin requests to <2.32 for publish jobsBartosz Bezak1-0/+9
Periodic jobs are failing because Zuul Ansible executor runs with Ansible 8 which uses community.docker collection that needs requests<2.32. Revert this patch when Zuul supports Ansible 10, and/or Ansible 9 gets fixed community.docker collection. [1] [1] https://github.com/ansible-collections/community.docker/issues/868 Related-Bug: #2066364 Change-Id: I1dda73b0bc9a9f57ec8fda3f2234449b04906410
2024-05-28Drop packaging requirement and unpin docker-pyMichal Nasiadka1-1/+1
Change-Id: I11d306be5e5bb3d5b05b50dd8ee64ac9424854a1
2024-01-03Merge "Revert "CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean ↵Zuul1-1/+13
(Bobcat)""
2023-12-20Revert "CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean (Bobcat)"Michal Nasiadka1-1/+13
This reverts commit 2ed66effa6e4a102919cb53a4b0737f852eb8674. Reason for revert: Let's use RDO trunk Change-Id: I3945fe5fd0aef2e12a7f6c60d714e69ea496083b
2023-12-14CI: Use newer podman/buildah on Ubuntu JammyMichal Nasiadka1-0/+8
Change-Id: Ifce506b49571950ee16e26aae06f20aa94567722
2023-12-12CI: Pin docker installation to <7Michal Nasiadka1-1/+1
Docker 7.0.0 introduced a pre build check for tag regex, that is most probably the culprit - see [1] and [2]. Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/903364 [1]: https://github.com/docker/docker-py/commit/a9b5494fd0574e520c735e1d0c4a303528d48063 [2]: https://github.com/docker/docker-py/issues/3195 Change-Id: I147c9715eb922abb6675a2786beaec85971718a8
2023-11-29podman: install "rich" dependencyMichal Nasiadka1-1/+1
This dependency was added to podman-py in version 4.8.0, but not added properly to their requirements. Install it explicitly for our tox and integration testing as a workaround. [0] https://github.com/containers/podman-py/issues/350 Change-Id: Ic0d9b2c26fe5474f579b72d6779243b7ad39b420
2023-11-28Drop docker-py from requirements.txtMichal Nasiadka1-0/+4
Since addition of podman - users need to install only one from docker|podman Change-Id: I622eefad3b2e93f334028d9c0775a2cca558a39c
2023-11-18Merge "CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean (Bobcat)"Zuul1-13/+1
2023-11-09CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean (Bobcat)Michal Nasiadka1-13/+1
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/900536 Change-Id: I1bc19f8198da3f9ab2ae2a8864c3349b21b0249e
2023-11-08CI: Move ephemeral disk config to a roleMichal Nasiadka1-70/+2
Change-Id: Ieee71aa22f4ec45fe03f50fd697c85dda952b4d0
2023-10-25Merge "CI: speed up podman on el9"Zuul1-0/+17
2023-10-24Merge "Revert "CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean""Zuul1-1/+13
2023-10-24CI: speed up podman on el9Jan Gutter1-0/+17
Before this commit the following warning message appeared in the podman log: Not using native diff for overlay, this may cause degraded performance for building images: kernel has CONFIG_OVERLAY_FS_REDIRECT_DIR enabled It appears that the default mount options for the overlay graph driver is badly optimised for Kolla builds on el9: * Enable native overlay diff https://mikeshade.com/posts/docker-native-overlay-diff/ https://github.com/containers/storage/commit/09480532cf49617d7c745fe1ee92487c60c49e1d https://github.com/containers/podman/blob/main/docs/tutorials/performance.md Things that did not appear to make a difference: * volume mounting /var/lib/container https://github.com/containers/buildah/issues/3666#issuecomment-1351992335 * enable transientStore https://www.redhat.com/sysadmin/speed-containers-podman-raspberry-pi note: currently incompatible with debian Change-Id: I002e88b4b6162f6732e622fd97639d543c66784c
2023-10-24CI: fix podman info log collectionJan Gutter1-1/+4
* capture podman config * podman info needs sudo permissions * before this fix, the podman info command failed with: Error: cannot set up namespace using "/usr/bin/newuidmap": should have setuid or have filecaps setuid: exit status 1 Change-Id: Ib3fe039a8c35421b56eedbd2d5197217b4a15a9a
2023-10-05Revert "CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean"Michal Nasiadka1-1/+13
This reverts commit 881e3925c7aa8c3bbe6897ea8790f109dc0a7fb8. Reason for revert: switch back to master, to be followed by switch to bobcat when available Change-Id: Ib8fdad41a669fc8404b8de2de5361db9547c4ea2
2023-09-21[CI] Add podman buildMichal Arbet3-40/+104
Change-Id: I41b89ec87a4849668102ca9c9cc79f0ef9944b85
2023-08-29Merge "Add comprehensive checks for container restarts"Zuul1-0/+71
2023-05-18Merge "ubuntu: use Antelope UCA"16.0.0.0rc1Zuul1-1/+0
2023-05-18ubuntu: use Antelope UCAMichal Nasiadka1-1/+0
Skip using the mirror for now, given the OpenDev AFS space issues. Change-Id: I8e55c699e493494b3e5c908c7e8c370ce992fdf5
2023-05-17CentOS/Rocky: use CentOS Cloud SIG repo instead of DeloreanMichal Nasiadka1-13/+1
Antelope was released, landed in CentOS repo, time to use it. Change-Id: I9fa8fd5dd9b75251363f1957d1e249e7cb4beb84
2023-05-08CI: Fix visibility publish taskMichal Nasiadka1-0/+1
Change-Id: I41bab698e17254d8c92e621ba9b88b6fe20c2300
2023-03-27CI: Ensure quay repo is public on publishMichal Nasiadka1-0/+9
Change-Id: Ib49e7c51be552a9aad0526841e7cffe588189371
2023-03-09Add comprehensive checks for container restartsDawud M1-0/+71
When adding a dashboard to grafana the containers aren't restarted when they should be. This is due to a bug in Kolla where the logic to determine whether or the container needs to be restarted fails in the case where the file does not exist in the container. This patch adds more comprehensive checks for container restarts in the set_configs.py file. This patch also adds a test to ensure that the functions work as expected. Closes-Bug: #1997984 Co-Authored-By: Will Szumski <will@stackhpc.com> Change-Id: I67f5f12700d7b55f26bff81e9b54559303da6d83
2023-02-21Merge "CI: Additional disk followup"Zuul2-80/+71
2023-02-21Merge "CI: update docker hub publish creds"Zuul1-2/+2
2023-02-21Merge "CI: Retry docker push on publish jobs"Zuul1-0/+6
2023-02-21CI: Additional disk followupMichal Nasiadka2-80/+71
state present only defines mount in /etc/fstab, does not do the actual mount Need to symlink /var/lib/docker to separate disk, work-dir only templates out dockerfiles and downloaded content Change-Id: I06e262cd48d33ccfc0634589c82dcac80dff51af
2023-02-20CI: Configure additional disk when availableMichal Nasiadka2-1/+80
It seems that on some nodepool providers (rax for sure), we get 40G boot disk and 80G additional disk, while on others we get 80G boot disk only. Change-Id: I179c41032239f5f0ce6055c79295b32c33fe67a5
2023-02-17CI: update docker hub publish credsMichal Nasiadka1-2/+2
Change-Id: Ieceadb1f56908ce752f48b0884ed5cf764bc1ecd
2023-02-16CI: Retry docker push on publish jobsMichal Nasiadka1-0/+6
We have a high number of POST_FAILURE jobs failing on at least one container push - let's fix that. Change-Id: I0015dd4d3ffe5b3e1202ebcfde2b2c72c4655b41
2023-02-07CI: store only templated out Dockerfiles in work_dirMichal Nasiadka1-1/+3
Change-Id: I0832d7997536f5f0dc195d5038545b6cc220f0fa
2023-02-07CI: Install ApparmorMichal Nasiadka1-0/+6
Docker 23.* is out and it started failing with apparmor_parser related messages - it seems apparmor is missing in the OpenDev image. Change-Id: I2a6d98e3c1d2d1b7c97a8e6172decbf56e77042d
2023-01-31CI: Add work dirMichal Nasiadka1-0/+1
It's useful to have a templated out version of the Dockerfiles in order to diagnose errors like "error on line xxx" after tests/templates/template-override.j2 gets applied. Change-Id: I5443454d8b020aa1c5552e11f6039e582a002431
2023-01-10CI: CentOS/Rocky: revert Delorean repo url at the endMarcin Juszkiewicz1-1/+4
We revert all repos to their normal versions. This change takes care of forgotten Delorean repos. Change-Id: I8bcddbd6ebf3119f4f56d86e47377f27b8671b1a
2022-10-03CI/centos/rocky: use repos from opendev mirrorMarcin Juszkiewicz1-29/+35
Repo definitions in RHEL 9 rebuilds use metalink method for most of entries which makes our use of sed obsolete. This patch adds file with definitions of all CS9 repos we use and moves all official definitions a side at start of build. After build our definitions get removed and official ones are restored. Similar is done for RockyLinux 9 builds but there RL9 repos are used from official mirrors while CS9/EPEL ones are from OpenDev mirrors. Final images will have repos in wrong enabled/disabled state. Change-Id: I04121fd5ca9894b6deeda3808808cbffd6b97811
2022-09-30Add RockyLinux 9 supportMichal Nasiadka1-17/+14
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/859570 Change-Id: I7af51d07b8a939c908aa072294061def57dd67de
2022-09-27Move to CentOS Stream 9Marcin Juszkiewicz2-11/+9
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
2022-08-29Fix CVE-2022-38060Radosław Piliszek1-18/+0
Closes-Bug: #1985784 Change-Id: I66476a2b396e2cbe41e68ac51f57aae1806b2ed8
2022-07-26Merge "[CI] Drop bindep"Zuul1-2/+0
2022-07-25Fix container image publish to Docker HubPierre Riteau1-0/+1
Publishing container images to Docker Hub was failing with: state is present but all of the following are missing: source This is caused by the recent Ansible upgrade by Zuul [1]: the source parameter is mandatory since Ansible 2.12. [1] https://review.opendev.org/c/openstack/project-config/+/849120 Change-Id: I232fe835f5a650c258243f1ee4720480f2e6e7b1