aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2026-04-07CI: Drop changing visibility using uriMichal Nasiadka1-10/+0
It has not been working and leaks secret Related-Bug: #2147406 Change-Id: If5c1905a096d776811ce932cb040e20f5dfebf82 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com> (cherry picked from commit 8745919e6ce5b9648776ab8f8a9d8947b4d1f252)
2026-01-12CI: Fix publish job secret aliasesBartosz Bezak1-1/+1
Change-Id: Ib7c2d8419932e049db871053c3b4faad791c3566 Signed-off-by: Bartosz Bezak <bartosz@stackhpc.com> (cherry picked from commit 5a47700917e51ce4f3fe5bc4b4197f09bf0fce32)
2025-10-06CI: Update API token for fixing repo visibilityMichal Nasiadka1-1/+1
Change-Id: Iae913ff1b917104fdbb3257c24386f22f6764a03 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2025-10-02Add support for rpm to repos.yamlMichal Nasiadka1-12/+1
Add the ability to configure repositories in the same way as we do Debuntu ones - via repos.yaml. Removes .repo files from base - since these are not needed there anymore. gpgcheck = 1 is default in docker/base/dnf.conf Change-Id: I7df7d452c45c57c434d5b4ad15a87963e4d6d0d4 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2025-10-01Move to Rocky Linux 10Michal Nasiadka1-17/+2
Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/961237 Change-Id: Idd809f5efd2d308c1565d7635e67af0a431d18f7 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2025-09-18CI: Use UCA mirror for UbuntuMichal Nasiadka1-0/+1
Change-Id: I80070b3c3658948c7157564fb8a79e6dd427f1d1 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2025-09-08CI: fix secrets for erlang COPR periodic jobBartosz Bezak1-1/+1
It was created with extra newlines. Change-Id: I9394e5ecf913385870396fa51401748ca0de5e22 Signed-off-by: Bartosz Bezak <bartosz@stackhpc.com>
2025-09-03CI: add weekly COPR RPM build Erlang jobBartosz Bezak1-0/+18
Updating Erlang RPMs for aarch64 in Fedora COPR build system [1] [2]. Using COPR webhooks feature [3]. [1] https://copr.fedorainfracloud.org/coprs/g/openstack-kolla/rabbitmq-erlang-26 [2] https://copr.fedorainfracloud.org/coprs/g/openstack-kolla/rabbitmq-erlang-27 [3] https://docs.pagure.org/copr.copr/user_documentation.html#custom-webhook Change-Id: Ibd4450d14691aca627d99c321b313420ce6dd6f2 Signed-off-by: Bartosz Bezak <bartosz@stackhpc.com>
2025-08-29Merge "Remove RDO/Delorean"Zuul1-13/+1
2025-08-29Remove RDO/DeloreanMichal Nasiadka1-13/+1
RDO has staffing problems and has decided to only support SLURP releases - let's drop reliance on that repository. Change-Id: I56f86a1c5262e3ee2bcbb52cae53c3b2655ed87f Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2025-08-26CI: Drop dump_info.shMichal Nasiadka1-6/+0
It should not be required anymore, all these information are dumped by different means (generic zuul playbooks, etc). Change-Id: I80569b6fe9e4d779a5448015b8ad9caf09e5abf6 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2025-08-07CI: use opendevmirror for debian/ubuntu buildsBartosz Bezak1-1/+1
Depends-On: https://review.opendev.org/c/opendev/system-config/+/956760 Change-Id: I136bb702b20e941611dd90830e81c9d358a2e355 Signed-off-by: Bartosz Bezak <bartosz@stackhpc.com>
2025-07-17Merge "Move to CentOS Stream 10"Zuul1-16/+1
2025-07-16Move to CentOS Stream 10Michal Nasiadka1-16/+1
Known missing packages: - mod_auth_mellon - missing SAML support in Keystone/Horizon - built in Kolla COPR - glusterfs-fuse in manila-share - built in Kolla COPR - collectd/telegraf - no opstools repository - redis - needs a switch to valkey - python3-ethtool - not required for neutron-mlnx-agent since 6 years [1] Building packages in Kolla COPR is a temporary solution until these show up in EPEL10. [1]: Id2cae3ac9ff049e9fc8225551f99e1e99a87fc65 Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/951751 Change-Id: I7074fabcf95184fcfd2561648ae1e05acfb0bc11 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2025-07-11CI: Drop publishing to DockerHubMichal Nasiadka1-18/+0
Change-Id: I9d1f24b98f1d7c8f29b0dba45105b0263f961ca5 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2025-06-19Fix kolla-set-configs --check to detect state mismatchMichal Arbet1-0/+44
If a configuration file is tracked in the state file but no longer appears in config.json, it should either be restored or removed. This patch introduces a new exception StateMismatch and updates execute_config_check() to detect such cases. If any destination path is present in the defaults state but missing from config.json, we now raise StateMismatch. A dedicated unit test has been added to verify this behavior. Closes-Bug: #2114173 Signed-off-by: Michal Arbet <michal.arbet@ultimum.io> Change-Id: I6e0b4aaa5722990e3ac647578023f474db3d4381
2025-05-21Fix mock_open() expectations for Python 3.13+Michal Nasiadka1-9/+26
Python 3.13 introduces a behavior change in unittest.mock.mock_open(), which now calls close() when exiting the context manager as described in bpo-44185 [1]. This causes additional mock calls to appear, breaking strict mock_calls assertions. This patch fix tests and add compatibility for Python 3.13. From mock documentation [2]: "bpo-44185: unittest.mock.mock_open() will call the close() method of the file handle mock when it is exiting from the context manager. Patch by Samet Yaslan." [1] https://bugs.python.org/issue44185 [2] https://mock.readthedocs.io/en/latest/changelog.html Change-Id: Ib8e2a8a20a828c4c69deedd307c9b726f51489f8
2025-05-06CI: Fix pip mirror multilineMichal Nasiadka1-5/+5
Change-Id: Ic75fdaedfa62816fae0cc0b7924425b574feb1ee
2025-02-21Merge "CI: Use ansible-lint for CI roles and playbooks"Zuul5-29/+46
2025-02-21CI: Add rocky support to process_build_logs.pyMichal Nasiadka1-1/+1
Change-Id: I57e05a235359547a4477dc869e92047818dc5c15
2025-02-20CI: Use ansible-lint for CI roles and playbooksMichal Nasiadka5-29/+46
Removing dbus-python deps because now a-c-k handles that. Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/942179 Change-Id: I97a97da73a7ccb27789e979656867e4adfe8a633
2025-02-18Merge "CI: Move pre tasks into roles"Zuul1-195/+1
2025-02-18Allow to use configure_user macro for external templatesAndriy Kurilin3-0/+53
Commit 79a234239516b94b1b79c7ddafcc4fbe4e3ba155 introduced an ability to build 'in-house'/'not-built-in' projects with Kolla. This commits extends this feature with an ability to use configure_user macro for 'not-built-in' users. The implementation is done the same way as for 'sources', i.e. engine after registers new section structure as soon as it finds unknown '<project>-user' section. In addition, the documentation and CI are extended to cover ``--docker-dir`` option. Change-Id: I690d9f3829083f2493bf286a1c45764b9699219b
2025-02-17CI: Move pre tasks into rolesMichal Nasiadka1-195/+1
Change-Id: If5aa7371d14041d6e0efca866341be2894fd6f87
2024-12-12Merge "Revert "CI: Pin requests to <2.32 for publish jobs""Zuul1-9/+0
2024-12-11Merge "Revert "CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean ↵Zuul1-1/+13
(Dalmatian)""
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