218 Commits

Author SHA1 Message Date
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
Michal Nasiadka
35f90a31eb CI: Fix init-swift
Container image naming scheme has changed

Change-Id: I775ea3f796290c670e4b04640f4429304dae609c
2022-10-10 08:19:17 +00:00
Michal Nasiadka
fc615ec9c6 CI: Enable rocky9-cells job
ProxySQL image has been published, this can be enabled now.

Change-Id: I8e4456750fc690b2d67b6572f2384b45f6199b62
2022-10-04 09:23:10 +02:00
Michal Nasiadka
ec0367c039 CI: Always build images for centos jobs
CentOS 9 Stream images are not getting published so we need to build
them every time.

Change-Id: I782ab105da4f23979dcbe2348c7141a1ae272b9a
2022-10-03 12:47:41 +00:00
Michal Nasiadka
c026666551 Add Rocky to default distro map and use published images
This patch also changes python version and default tag for centos.
prometheus-efk and venus jobs commented out, elasticsearch images
are unbuildable
cells is commented out because proxysql is unbuildable

Change-Id: Ic358f8b600317d3c2fc45130a59785225aea1153
2022-10-03 14:45:50 +02:00
Marcin Juszkiewicz
67607c679e Add CentOS Stream 9 / Rocky Linux 9 host support
Added c9s jobs are non voting, as agreed on PTG to focus on Rocky Linux 9.
Since both CS9 and RL9 have higher default fd limit (1073741816 vs
1048576 in CS8) - lowering that for:
* RMQ - because Erlang allocates memory based on this (see [1], [2], [3]).
* MariaDB - because Galera cluster bootstrap failed

Changed openvswitch_db healthcheck, because for unknown reason
the usual check (using lsof on /run/openvswitch/db.sock) is hanging
on "Bad file descriptor" (even with privileged: true).

[1]: https://github.com/docker-library/rabbitmq/issues/545
[2]: https://github.com/rabbitmq/cluster-operator/issues/959#issuecomment-1043280324
[3]: a8b627aaed

Depends-On: https://review.opendev.org/c/openstack/tenks/+/856296
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/856328
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/856443
Needed-By: https://review.opendev.org/c/openstack/kolla/+/836664
Co-Authored-By: Michał Nasiadka <mnasiadka@gmail.com>
Change-Id: I3f7b480519aea38c3927bee7fb2c23eea178554d
2022-09-08 16:33:25 +00:00
Zuul
b0dc2423bc Merge "Upgrade openEuler Distro" 2022-09-01 08:13:16 +00:00
Radosław Piliszek
5c58ea8f6a [CI] Run the cells scenario on Ubuntu
With CentOS-based jobs disabled, we don't have any job testing the
cells scenario. This patch adds it for Ubuntu.

Change-Id: Ic872242717006085f4dc586b0aea0e068f064a4b
2022-08-31 06:56:40 +00:00
wangxiyuan
bafdab171d Upgrade openEuler Distro
openEuler 20.03 LTS SP2 is out of date. This patch:
1. Upgrade openEuler to 22.03 TLS for host OS.
2. Switch guest OS from centOS 8 to ubuntu

Change-Id: If2ff036e965def141f67240945802611e1f4dc4e
2022-08-22 00:51:19 +00:00
Zuul
8ef21123ae Merge "Honour the linuxbridge experimental status" 2022-08-09 14:21:21 +00:00
Michal Nasiadka
532b81d6ee cephadm: Use distro-provided Quincy on Jammy
Ubuntu Jammy will only support Ceph Quincy.
Workaround for now - use Jammy in-distro packages for cephadm.

Change-Id: I30f071865b9b0751f1336414a0ae82571a332530
2022-08-05 13:48:31 +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
Radosław Piliszek
332fdca50f [CI] Fix storage upgrade jobs to run on Focal
As they should be.

Change-Id: I92c0998040174298716d886dd9fc6e97f791764b
2022-07-26 07:29:35 +00:00
Zuul
0f2c56ca54 Merge "Add support for Ubuntu Jammy Jellyfish (22.04 LTS)" 2022-07-21 14:12:15 +00:00
Dr. Jens Harbott
3e67ea6d2f Add support for Ubuntu Jammy Jellyfish (22.04 LTS)
* Add jammy to allowed Ubuntu distros in precheck

Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/847187
Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/850336
Change-Id: Ib68adc2e33bf211d9cec007a1edb9590cafaefd1
2022-07-19 16:51:48 +00:00
Michal Nasiadka
2d5c717490 CI: Add ovn upgrade jobs
Change-Id: I85f614e77ac88b274be5838f2a2d37b3c5e2af32
2022-06-27 17:07:45 +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
Marcin Juszkiewicz
ddd00ae9f0 CI: drop all CentOS Stream 8 jobs
As in Kolla - we can not support CS8 anymore due to Python 3.8+
requirement.

Change-Id: Id5567fdedf52e8808400c181e90243fee7f3e136
2022-06-08 14:37:36 +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
Zuul
2bbf5273c6 Merge "[CI] Move queue setting to project level" 2022-05-24 10:42:37 +00: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
Radosław Piliszek
171eabbf85 [CI] Move queue setting to project level
Per [1].

[1] http://lists.zuul-ci.org/pipermail/zuul-discuss/2022-May/001801.html

Change-Id: I2197b5436a4b4d4220c916d2f3129f49f13b70ec
2022-05-18 09:51:26 +02:00
Marcin Juszkiewicz
552f8aa121 CI: add binary->source upgrade job
Zed dropped binary images so we need to check does migration from binary
images works.

Dropped all other CI jobs

Change-Id: Id2d7ca01baca8e17a9780345e705ffb6cbffd8a7
2022-04-22 20:42:05 +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
b744772d23 Merge "CI: remove binary jobs" 2022-04-08 08:55:33 +00:00
6bb5022ea8 Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I49540d7ee6cb833eb986d6acf6eeab40086f59cc
2022-04-07 12:43:47 +00:00
Marcin Juszkiewicz
ed9c28196a CI: remove binary jobs
During Yoga PTG we agreed about dropping support for binary images in
Zed cycle.

Change-Id: I4ce431d866a17e3ae908d2d232e0be335d202f86
2022-04-05 11:26:37 +02:00
wangxiyuan
01ed75acef Add openEuler Distro support
openEuler is the newest open source operating system, which is quite
famous and widely used in China. This patch aims to add the OS support
in kolla-ansible for the host OS.

bp: support-openeuler-os

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

Change-Id: I66dc84f02c324dbc0787ec25d4bd92ada9362e94
2022-03-28 07:54:49 +00: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
Michal Nasiadka
7080ccfc3d Add Rocky Linux support as Host OS
Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/831642
Change-Id: I70dcd2d0cade52a23b3e219b7e0aaa31193ec938
2022-03-03 09:59:16 +00:00
Zuul
8b75f583e3 Merge "[CI] Add kolla-ansible-debian-source-zun job" 2022-02-28 15:33:20 +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
a6c0d90573 [CI] Add kolla-ansible-debian-source-zun job
To test Cinder LVM/iSCSI and Zun on Debian.

Change-Id: Ia8078302b699e939aeec7b23074073f3d6117125
2022-02-04 21:44:54 +00:00
Zuul
92e635bb0a Merge "[CI] Test Ironic on Debian" 2022-01-27 11:31:36 +00:00
Zuul
5dfb0d48bd Merge "[CI] Test Ironic when touching Neutron" 2022-01-21 12:18:25 +00:00
Zuul
1324be4f38 Merge "Revert "[CI] [to-revert] Avoid upgrades on CentOS Stream 8"" 2022-01-21 10:04:12 +00:00
Radosław Piliszek
63141a191d Revert "[CI] [to-revert] Avoid upgrades on CentOS Stream 8"
This reverts commit 9449bcfb705f6547dd1774c33fdcb65784b9a490.

Reason for revert: Ping bug fixed

Change-Id: If52d6757c8c57a6a32b2cf2a481b748e25fc5607
2022-01-20 13:30:54 +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
Zuul
45452c1ae2 Merge "[CI] Drop unused nodeset" 2022-01-18 09:21:06 +00:00
Radosław Piliszek
9449bcfb70 [CI] [to-revert] Avoid upgrades on CentOS Stream 8
CentOS Stream 8 currently has a bug which makes it require root
privileges for ping.
A workaround patch (see needed-by below) has been proposed, yet
the dependency on previous branches via the upgrade jobs make it
fail the CI.
Thus, this patch temporarily disables those jobs on CentOS Stream 8.
This patch is to be reverted once we patch the affected branches.

Needed-By: https://review.opendev.org/c/openstack/kolla-ansible/+/824681
Change-Id: I827ed30d0247f21478a45d96ae8396ec0e778d3b
2022-01-17 08:54:10 +00:00
Radosław Piliszek
5276efdc88 [CI] Drop unused nodeset
It is required for infra cleanup.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-December/026408.html

Change-Id: I6479e84b57bb988e7196f781644bb8f62b1f0406
2022-01-05 15:00:18 +00:00
Radosław Piliszek
ef8c4274d2 [CI] Test Ironic on Debian
Change-Id: Idc3e39716bcb0dccadbd0f72c2a354616b1acb38
2021-12-21 12:52:16 +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
Marcin Juszkiewicz
9d49c02a60 CI: make Debian source jobs voting
We have Debian support for quite a while. While binary target is not
always up-to-date (due to Debian OpenStack team policy of building only
released code, not git snapshots) source images are expected to just
work.

Change-Id: I2ed6061054bcea12d5b38974ee691e9632d32f05
2021-10-27 16:02:24 +02:00
4169290856 Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Iec3ec0e1a5b2d21bb5bda2db78b0192b54495e4e
2021-10-14 12:21:03 +00:00
Radosław Piliszek
b7e85d5282 [CI] Test Swift upgrades
Swift is a major OpenStack project. It could use testing upgrades.

New jobs are placed in the experimental pipeline to avoid
excessive CI load on general changes.

Change-Id: I8a089fdd1f21eb4c3e00c38ea9dfcecc77565bf5
Related-Bug: #1874691
2021-08-13 15:26:55 +00:00