Commit Graph

128 Commits

Author SHA1 Message Date
Zuul 756ec498d3 Merge "Update Skyline configuration to enable SSO" 2024-04-19 17:14:36 +00:00
Michal Nasiadka 01e3fac180 CI: Mark OpenSearch as non voting
It's been failing since 2.13

Change-Id: I8e7ed01707ef6956ca6fff4c2f4ca0cd68ee252b
2024-04-10 14:19:25 -04:00
Zuul 439e7fa177 Merge "Revert "Pin zun jobs to Docker 20"" 2024-03-19 15:32:33 +00:00
Uwe Jäger a4e6e58e4e Update Skyline configuration to enable SSO
Change-Id: I5b4a30e605bb143cf342f83f0c811c25046269ef
2024-03-15 20:18:29 +01:00
Michal Nasiadka b04486df07 Bump ansible-core versions to 2.15 and 2.16
Change-Id: Iab40eb92c7e4a9092471bef9d4477a4fa34f1c85
2024-03-14 06:13:38 +00:00
Michal Nasiadka 7d897399f0 CI: Change prometheus jobs to voting and gating
Change-Id: I5bc50e390d0b8100a1b6bf5bd5c8b6ecdeb7cd6c
2024-02-15 10:59:38 +00:00
Michal Nasiadka 09fb029569 CI: Run SLURP upgrade job
Change-Id: I246b14c9b547c6a0ff0be68ad57e723839cc3275
2024-02-08 13:13:35 +00:00
hongbin 9c77220f6e Revert "Pin zun jobs to Docker 20"
This reverts commit 94a74f58c7.

Reason for revert: Zun/Kuryr-libnetwork has switched to "local" scope which doesn't require docker 20 anymore. It should work for latest docker version. Related patches:
https://review.opendev.org/c/openstack/zun/+/903884

Change-Id: Ieb545ae5a5917322f599728587c3f04ea8356126
2024-01-22 12:24:37 +00:00
Zuul 77c18fa615 Merge "CI: Use 2023.2 as previous_release" 2024-01-15 22:00:18 +00:00
Michal Nasiadka 6daadfdbcb CI: Use 2023.2 as previous_release
Change-Id: I30e9e8c6f59bf2b2f912d70178484ddcd657436e
2024-01-04 10:56:40 +01:00
Michal Nasiadka 9bc99b9434 Test haproxy single external frontend
Change-Id: Id25b4407a8170f69e4cd7278e0aff64c609ace7d
2024-01-03 08:31:14 +00:00
Zuul 418aa9b02a Merge "fluentd: Fix LE pos_file path after version bump" 2023-12-21 11:41:13 +00:00
Michal Nasiadka bf22f3dd09 fluentd: Fix LE pos_file path after version bump
Change-Id: Ia6db7d6a41ddbda8fcbf563dc55a0c65ef8db9be
2023-12-20 08:18:27 +00:00
Sven Kieske 85bd3f8710
CI: test job definitions when zuul files change
Signed-off-by: Sven Kieske <kieske@osism.tech>
Change-Id: Ifd3972435a17aeffed72fb51fca9bdd082d650b7
2023-12-15 16:08:34 +01:00
Michal Nasiadka d05a1560bc CI: Drop duplicated variables in base.yaml
Change-Id: I168f3bb81731e56ae338c4438ab4d024fa69d827
2023-12-15 13:17:19 +00:00
Michal Nasiadka f3a6c77b18 octavia-certificates: fix missing collection for ansible-core
community.crypto collection was omitted in ansible-core implementation
patch
adding in trigger for requirements-core.yml to all optional jobs

Change-Id: Ib6bdea51280e171d42d6d37b0ab96c31697fddbe
2023-11-13 13:00:14 +00:00
Boxiang Zhu 69d979c048 [CI] Add skyline scenario
Skyline is a new service for dashboard.
This patch adds a CI scenario which tests Skyline deployment.

Depends-On: https://review.opendev.org/c/openstack/kolla/+/826948
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/828464

Implements: blueprint skyline
Change-Id: I48488a24d6c8a03cd129929347b1bdac25f198b0
2023-11-08 09:28:53 +08:00
Will Szumski 37c2ab2aaa Support exposing prometheus_server externally
This avoids the need to use a proxy, or some other means, to connect to
Prometheus. This is disabled by default and can be enabled by setting
enable_prometheus_server_external to true.

Change-Id: Ia0af044ff436c2a204b357750a16ff49fcdfec45
2023-11-07 14:52:06 +00:00
Will Szumski 1235c7253d CI: Adds a kolla-variables parent job
This allows us to share variables between jobs without inheriting any
of the pre-run, post-run or cleanup playbooks of the parent job. These
run due to the zuul inheritance rules, see:

https://zuul-ci.org/docs/zuul/latest/config/job.html#job

Signed-off-by: Will Szumski <will@stackhpc.com>
Change-Id: Id0a34778accafdc62ebe916e81d69f31c6274d4c
2023-11-07 14:51:36 +00:00
James Kirsch 5581a28253 Add support for LetsEncrypt-managed certs
Add support for automatic provisioning and renewal of HTTPS
certificates via LetsEncrypt.

Spec is available at:
https://etherpad.opendev.org/p/kolla-ansible-letsencrypt-https

Depends-On: https://review.opendev.org/c/openstack/kolla/+/887347
Co-Authored-By: Michal Arbet <michal.arbet@ultimum.io>
Implements: blueprint letsencrypt-https
Change-Id: I35317ea0343f0db74ddc0e587862e95408e9e106
2023-11-07 10:59:51 +01:00
Michal Nasiadka 49cb1ce4b0 CI: add block support to validate-all-file.py
This change also refactors code a bit to allow additional checks
in the same os.walk loop

Change-Id: Ib40af3ee309c773afba4776183d162327a9a0e1c
2023-09-08 08:12:10 +00:00
Bartosz Bezak 309793d425 Set previous_release to stable/2023.1
Change-Id: Idbbd02b966922d5857ed54bac57668f0cf22113c
2023-06-20 10:43:20 +02:00
Martin Hiner 53e8b80ed3 Add container engine option to scripts
This patch add a way to choose container engine inside tool and test
scripts. This is in preparation for Podman introduction but still
leaves Docker as default container engine.

Signed-off-by: Martin Hiner <m.hiner@partner.samsung.com>
Change-Id: I395d2bdb0dfb4b325b6ad197c8893c8a0f768324
2023-04-28 16:16:55 +02:00
Radosław Piliszek 7367427338 [CI] Test Neutron with IPv6 networks
Make sure to actually test IPv6 connectivity to our test instance in the
IPv6 jobs.

Change-Id: I7845448804e191af356e82f8ad33c563ffd8ebd5
2023-03-26 09:34:53 +00:00
Michal Nasiadka 94a74f58c7 Pin zun jobs to Docker 20
Related-Bug: #2007142

Change-Id: I9ce2a9ce5413e77625201f3986967e31a679ad9c
2023-03-21 08:34:31 +00:00
Zuul db142a9b45 Merge "CI: Run hashivault jobs only for relevant changes" 2023-02-21 15:41:39 +00:00
Michal Nasiadka 45b79b5e26 CI: Run hashivault jobs only for relevant changes
Change-Id: I1850523d5aeaee9d377c08107239eff66e29f049
2023-02-21 13:30:19 +00:00
Michal Nasiadka 59002ded86 CI: Pin ansible-lint to <6.13.0
Change-Id: I13ee17a96033da75cbb377bce483f027127d646d
2023-02-16 15:34:24 +00:00
Bartosz Bezak 5f492f1390 Set previous_release to zed
Change-Id: Ie9832bd9cae497e7dbd2a03661361c125d8ec15a
2023-01-10 11:59:17 +01:00
Zuul 113242c864 Merge "Replace ElasticSearch and Kibana with OpenSearch" 2022-12-01 14:38:51 +00:00
Michal Nasiadka e1ec02eddf Replace ElasticSearch and Kibana with OpenSearch
This change replaces ElasticSearch with OpenSearch, and Kibana
with OpenSearch Dashboards. It migrates the data from ElasticSearch
to OpenSearch upon upgrade.

No TLS support is in this patch (will be a followup).

A replacement for ElasticSearch Curator will be added as a followup.

Depends-On: https://review.opendev.org/c/openstack/kolla/+/830373

Co-authored-by: Doug Szumski <doug@stackhpc.com>
Co-authored-by: Kyle Dean <kyle@stackhpc.com>
Change-Id: Iab10ce7ea5d5f21a40b1f99b28e3290b7e9ce895
2022-12-01 10:27:50 +00:00
Michal Nasiadka 63a7968d8d ovn: Break out role into ovn-db and ovn-controller roles
Instead of handling everything in one role - let's have small
fit-for-purpose roles, because in reality these are two hosts
roles and performance should be better with this approach.

[1]: https://docs.ovn.org/en/latest/intro/install/ovn-upgrades.html

Change-Id: I8f9dbe9d950323f16375ad5e1dbaedfb1be6585f
2022-11-28 13:52:30 +01:00
Doug Szumski adb8f89a36 Remove support for deploying OpenStack Monasca
Kolla Ansible is switching to OpenSearch and is dropping support for
deploying ElasticSearch. This is because the final OSS release of
ElasticSearch has exceeded its end of life.

Monasca is affected because it uses both Logstash and ElasticSearch.
Whilst it may continue to work with OpenSearch, Logstash remains an
issue.

In the absence of any renewed interest in the project, we remove
support for deploying it. This helps to reduce the complexity
of log processing configuration in Kolla Ansible, freeing up
development time.

Change-Id: I6fc7842bcda18e417a3fd21c11e28979a470f1cf
2022-11-11 15:48:11 +00:00
Michal Nasiadka aa1b19c3c0 CI: set cpu_model to Nehalem for kvm jobs
RHEL 9 are being compiled for the x86_64-v2 architecture which is
newer than the qemu default of qemu64. Nehalem is apparently the
oldest model that works for x86_64-v2 and is expected to work on
Intel and AMD cpus with kvm or qemu.

See devstack change [0].

[0]: Ibd6e11b59f3c8655bc60ace7383a08458b2177f2

Change-Id: Ia0a3620bae21984933756331bb5937ce681d3237
2022-10-27 15:19:05 +00:00
Radosław Piliszek 125646b911 Honour the linuxbridge experimental status
This patch follows upstream and disables linuxbridge testing.
Users are notified of the situation via the release note.

Change-Id: I524682ceb5287c14ef0ba99baae0c081850f4c5e
2022-08-03 15:19:40 +02:00
Michal Nasiadka ebe570bb84 CI: Switch upgrades xena->yoga to yoga->master
R-17: Switch source images to current release

Disable rocky8 and openeuler jobs as master no longer works with
python3.6.

Change-Id: I89dd99b5f25502f5ebe15a9e90ccecc4bd6feafa
2022-06-13 15:04:09 +02:00
Zuul 49422da8d9 Merge "[CI] Nullify attempts" 2022-05-30 12:26:07 +00:00
Radosław Piliszek 3cef2671ce [CI] Properly use Yoga u-c everywhere
Follow-up to [1].
This unbreaks CI which was broken by a recent change to
master upper-constraints. [2]

[1] I82c4ff3b246c7db65ac8660b096d4a9a15dda8d7
[2] https://review.opendev.org/c/openstack/requirements/+/843722/3/upper-constraints.txt#b244

Change-Id: Idc7a893f53c6975cc4a3f6090020d973fa2288bb
2022-05-29 16:56:40 +00:00
Radosław Piliszek 153956e458 [CI] Nullify attempts
Per Clark Boylan's feedback [1], retries cause a retry not only
for pre playbook failures but also for cases where Ansible detects
network connectivity issues and they are caused by disks getting
filled to their fullest. This is an issue we experience that
sometimes results in a POST_FAILURE but certain FAILUREs are
retried which wastes CI resources.
The problematic jobs are ceph jobs. They are to be looked into.
Backport to all branches.
We can adjust retries for the core jobs that do not exhibit the
nasty behaviour but first we can try running without retries
to measure the troublesomeness.

[1] https://review.opendev.org/c/openstack/kolla-ansible/+/843536

Change-Id: I32fc296083b4881e8f457f4235a32f94ed819d9f
2022-05-27 20:14:26 +02:00
Radosław Piliszek ae88173ff1 [CI] Keep testing with Yoga u-c
The projects started dropping support for Python 3.6 and thus
CentOS Stream 8 which K-A tests against, resulting in broken CI.
This change ensures that we keep upper-contraints also on Yoga as
we do for the images we deploy.

Change-Id: I82c4ff3b246c7db65ac8660b096d4a9a15dda8d7
2022-05-21 15:24:08 +02:00
Marcin Juszkiewicz 409e31d86e CI: no need to set install_type
Only upgrade jobs need it set. And template uses it only on upgrades.

Change-Id: I61d2174756746f0c68d9879122c7712416ae3f88
2022-04-12 12:20:41 +02:00
Zuul c02f8586e7 Merge "[CI] Add Venus scenario" 2022-03-23 12:28:52 +00:00
Radosław Piliszek 74ec1fab2a [CI] Add Venus scenario
Venus is a new service for log processing.
This patch adds a CI scenario which tests Venus deployment.

Depends-On: https://review.opendev.org/c/openstack/kolla/+/793795
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/793897
Co-Authored-By: jinyuanliu <liujinyuan@inspur.com>
Change-Id: I0c7ba9e1ae23623b690a213c91ab3a12524d73f8
2022-03-16 14:57:29 +00:00
Mark Goddard 91778aca76 [CI] Use Tenks in Ironic job
Installs Tenks [1] and uses it to create virtual machines to pose
as bare metal compute nodes.
The nodes are registered in Ironic, and used to provision
instances.

[1] https://docs.openstack.org/tenks/latest/

Depends-On: https://review.opendev.org/c/openstack/tenks/+/830182
Depends-On: https://review.opendev.org/c/openstack/tenks/+/830675
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/831055
Change-Id: Idfb8fbb50dc7442225967b2a2ec38ae7114f3c11
Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2022-03-05 20:03:36 +00:00
Mark Goddard f63f1f3082 Install openstack.kolla collection
This change adds an Ansible Galaxy requirements file including the
openstack.kolla collection. A new 'kolla-ansible install-deps' command
is provided to install the requirements.

With the new collection in place, this change also switches to using the
baremetal role from the openstack.kolla collection, and removes the
baremetal role from this repository.

Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/820168

Change-Id: I9708f57b4bb9d64eb4903c253684fe0d9147bd4a
2022-02-21 14:26:48 +00:00
Radosław Piliszek 9619b67458 [CI] Test Ironic when touching Neutron
Changes to Neutron can also affect Ironic.
Nova was already triggering these jobs.

Change-Id: I58d5f3d8e3512ee69a4d08438f4fd91ca15158b8
2022-01-19 10:04:45 +00:00
Mark Goddard feb70547c1 [release] Set previous_release to xena
This defines which release we upgrade from in CI.

Also remove some Wallaby upgrade compatibility code in CI playbooks

Change-Id: I18912178392973337ca4115dec3816f1b3944ad5
2021-11-09 17:37:00 +00:00
Zuul 2ecf0a8783 Merge "Support storing passwords in Hashicorp Vault" 2021-07-02 20:28:44 +00:00
Zuul e2bbded967 Merge "Update previous_release to Wallaby" 2021-07-01 10:31:44 +00:00
Scott Solkhon 6bf74aa20d Support storing passwords in Hashicorp Vault
This commit adds two new cli commands to allow an operator
to read and write passwords into a configured Hashicorp Vault
KV.

Change-Id: Icf0eaf7544fcbdf7b83f697cc711446f47118a4d
2021-06-30 15:16:12 +01:00