9895 Commits

Author SHA1 Message Date
Maksim Malchuk
ba0b307f73 Mark bifrost as buildable and build containers from correct tarballs
Mark bifrost as buildable since [1] is merged and new tarball
is posted [2]. Also this change fixes an issue that containers were
built from old tarballs still exist on [3].

[1]: https://review.opendev.org/c/openstack/bifrost/+/909844
[2]: https://tarballs.opendev.org/openstack/bifrost/
[3]: https://tarballs.opendev.org/openstack/

Change-Id: I7b491f54d78398dadf080532aef694301e0bbe7b
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2024-02-27 23:55:38 +03:00
Michal Nasiadka
a876b1cca8 toolbox: Improve retry loop for ansible-galaxy
Currently if it somehow fails for 5 times - we get exit code 0.

Closes-Bug: #2052293
Change-Id: I2bdeb77e3133123053b05adcbde3a426c60f3304
(cherry picked from commit 94bd013ed55fd79bc4bfa33121c823927ec40b56)
2024-02-26 15:43:35 +00:00
Michal Nasiadka
d0a7d42715 opensearch: set OPENSEARCH_INITIAL_ADMIN_PASSWORD
Since 2.12 OpenSearch requires setting initial admin password,
that is not trivial/weak.

Change [1] has been bundled with this commit, since it's an ancestor
in newer branches, but it won't build without this one.

Mark bifrost as unbuildable for now, see [2].

[1]: https://review.opendev.org/c/openstack/kolla/+/909823
[2]: https://review.opendev.org/c/openstack/bifrost/+/909844

Closes-Bug: #2054586

Change-Id: I6b6ef656bc2009a2dc3cdfcb01956d50fba4b7b9
(cherry picked from commit 756ee984c3c761514115c342e7cba9a3cb533d02)
2024-02-22 17:20:13 +00:00
Dr. Jens Harbott
3b1c87c92f Drop publishing and periodic jobs
The unmaintained yoga images should no longer be published as official
images, so drop all related jobs.

Change-Id: Ic5a033dc36db27a9acec3da40b1782b2ca598347
2024-02-07 08:07:53 +01:00
e018b6afc7 Update .gitreview for unmaintained/yoga
Change-Id: I5c91a2a1aac9df0709a63761a7fc361f32c897cf
2024-02-05 16:07:06 +00:00
Zuul
90c4617d77 Merge "rabbitmq: Use timeout in healthcheck script" into stable/yoga 14.12.0 yoga-eom 2024-01-12 12:07:56 +00:00
Michal Nasiadka
63031520e5 [yoga-only]: Use pyroute2 from distro vendors
pyroute2 0.6.6 derived from upper-constraints has a bug which manifests
in Operation not permitted problems on newer kernels.

Distro vendors (RDO, UCA and Debian OpenStack) have already backported
the fix to their python3-pyroute2 package - let's use it.

Closes-Bug: #2042954
Change-Id: Iddd1f1ee6d4cd6b9a15ead323178052fe6b6e4fb
2024-01-05 05:53:27 +00:00
Michal Nasiadka
1eb0f2bf5b rabbitmq: Use timeout in healthcheck script
Currently we don't set timeout and the default is infinity.

Change-Id: Id1a87995a36e202fc0aaf82daf022ec10d78e37d
(cherry picked from commit 36df37be3136d1aa14b23f87632fa461363509b4)
2024-01-04 09:38:58 +00:00
Alex-Welsh
82fe255055 Sync only local cell in nova bootstrap & upgrade
Added the --local_cell argument to nova db sync commands during
bootstrap and upgrade.

This was previously thought to have no effect [1], but has since been
discovered to fail when rotating the nova database password.

[1] https://opendev.org/openstack/kolla-ansible/src/branch/master/ansible/roles/nova/tasks/bootstrap_service.yml#L2-L3

Closes-Bug: #2045558
Change-Id: Ic64eb51325b3503a14ebab9b9ff2f4d9caec734a
(cherry picked from commit de1487f05187387aea3f113dcbb6926734b1ce6b)
2023-12-22 07:22:24 +00:00
Zuul
f178ec3fc0 Merge "Add rsync to nova-compute" into stable/yoga 2023-12-21 08:22:24 +00:00
Zuul
60f81fb6ac Merge "Swift: Remove unused rootwrap" into stable/yoga 2023-12-21 08:22:19 +00:00
Bartosz Bezak
009cbb3761 Pin docker.py to <7
Docker 7.0.0 introduced a pre build check for tag regex, which
fails where registry has port number defined - see [1] and [2].

[1]: a9b5494fd0
[2]: https://github.com/docker/docker-py/issues/3195

Also removing requirements check in CI as it is not allowing
such pinning, as kolla is not designed to be installed with
other openstack services in the same virtualenv.

Change-Id: Id64186bf87300f23acde4f90474abcd6944e5be0
(cherry picked from commit acf23fa830c8909b366f3ea38279560136f8dff1)
2023-12-14 12:08:44 +01:00
Takashi Kajinami
3a484edcd6 Swift: Remove unused rootwrap
Swift does not use oslo.rootwrap. Thus the command and its config file
is just useless.

Change-Id: If4e346c2db841aad9b2ddac049dbbbc1ba5782ec
(cherry picked from commit d7e497ce52cc109c9f7b4a83d85f0bebfa05298e)
2023-11-27 20:28:10 +00:00
Jeffrey Zhang
be43974c5f Add rsync to nova-compute
when configure `remote_filesystem_transport` to rsync, rsync binary is
required.

Change-Id: I07be614846be9305f0775df22a6d931ceab1720a
(cherry picked from commit 92cedcd2b155907ab65884a0ba4dbae480900d28)
2023-11-27 14:52:47 +03:00
Dawud
8304b9456c
Fix missing grafana opensearch datasource
The grafana opensearch datasource was missing from the docker image.
This commit installs the datasource plugin.

Change-Id: Ia3a39c975abf815a66765f2f98c4789d6cec33d7
(cherry picked from commit a97a561bab1573b0ed19d91f827a8bbde9ed8165)
14.11.0
2023-10-24 16:12:22 +01:00
renliang
83987b16a6 Fix an issue with zun-cni-daemon building images in aarch64
In the aarch64 image build,
use debian_arch to determine packages of different architectures.

Closes-Bug: #2036874
Change-Id: Ic86e6c22840f658bb68387aac688918d4db1f766
(cherry picked from commit 0eed86bb02e87c12098e52359897708e071aa07e)
2023-10-16 10:44:09 +00:00
Michal Nasiadka
26de85f2f4 [yoga-only]: Fix erlang versions
According to [1] - RMQ 3.9 supports Erlang 25.2 at maximum.

Unfortunately there is no repository that provides erlang 25.2
for aarch64, so it will stay on 25.3 which proves to be bringing
some issues.

[1]: https://www.rabbitmq.com/which-erlang.html

Closes-Bug: #2025321

Change-Id: Ibfefccda9368ab46facf175024c03807d62ea1f7
2023-10-05 16:14:25 +00:00
Michal Nasiadka
06f9ddef87 rabbitmq: Use novemberain repos for Debian/Ubuntu
CloudSmith is over budget, see [1].

As mentionedin in [2] - we're using amd64 packages on aarch64,
since the community mirror does not mirror aarch64 - and the packages
should be really marked as noarch.

[3] has also been incorporated in this backport

[1]: https://github.com/rabbitmq/rabbitmq-server/discussions/9526
[2]: https://github.com/rabbitmq/rabbitmq-server/discussions/9553
[3]: https://review.opendev.org/c/openstack/kolla/+/896927

Closes-Bug: #2037469

Change-Id: I83179ce5d53fed6cfe7f5fcbf6fdecd7199baa36
(cherry picked from commit 47b593d1e5531c693dde3e111ed3be91c60c41be)
2023-10-02 11:59:11 +00:00
Michal Nasiadka
1f11f5c23c [yoga-only]: Fix kolla-toolbox after Galaxy migration
Galaxy moved to NG and we're using an old version ansible-core
which is failing on downlading from the new server.

Pin to the old read-only server for now.

Closes-Bug: https://bugs.launchpad.net/kolla/+bug/2038088

Change-Id: I5c686f9581fe74a2c475dd7716eed7b5af912f8d
2023-10-02 11:46:20 +00:00
Michal Nasiadka
c2be45ca14 CI: Drop upgrade jobs since Xena is EOL
Following Ic24969c2fd2e886568fb66c67553c530ca005fe2

Renamed some jobs to reflect current state
of kolla-ansible@stable/yoga repo.

Change-Id: Idd3eee7a3d25a795d3b3565f26e5c7190487da6a
2023-10-02 07:12:28 +00:00
Zuul
87f001fd3f Merge "Improve kolla-toolbox offline support." into stable/yoga 2023-09-14 12:40:18 +00:00
Zuul
cc30d74d2d Merge "Revert "Disable build of Gnocchi containers"" into stable/yoga 2023-09-13 17:27:23 +00:00
Zuul
82a114d284 Merge "Add comprehensive checks for container restarts" into stable/yoga 2023-09-08 10:35:22 +00:00
Gaël THEROND (Fl1nt)
0cdce9f776 Improve kolla-toolbox offline support.
* Use structure that allow for custom package version and base URL.

Change-Id: I169e51c0f5c691518ada1837990b5bdd2a3d1481
Closes-bug: #2020761
(cherry picked from commit 7f38e1df71eafb250b14c4e125c7313bd9218f7d)
(cherry picked from commit 8558004ab70919cc2a822107c953a24710227f9e)
2023-09-06 12:31:43 +03:00
Dawud M
0353c51c68 Add comprehensive checks for container restarts
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
(cherry picked from commit d9a6c5f3901e078a30d341397ac57d867d8191cc)
2023-09-06 05:33:31 +00:00
Maksim Malchuk
feed9d87f3 Revert "Disable build of Gnocchi containers"
This reverts commit 5505cd000ce7f12c272c5b62074c9cc6bf1bb7a7.
Reason: Closed #1304 [1] as completed.
Branch stable/4.4 is taged 4.4.4 with Fix [2] already.

1. https://github.com/gnocchixyz/gnocchi/issues/1304
2. 1336d930c1

Change-Id: I3ca4e10508c26b752412789502ceb917ecb4dbeb
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
(cherry picked from commit 4e5e508282dfd40a7d7831217e109a055073bd7c)
2023-09-05 12:10:15 +00:00
Maksim Malchuk
c90d4a2089 Add server-status handler to Rocky/Centos Apache conf
This added to make Rocky/Centos similar to Ubuntu/Debian
to provide /server-status handler for local monitoring of the Apache.
Since I3ec1af6353c3ecc64589599abe375b0ae9b14d5c is merged it safe
to add this change.

Change-Id: I14ba7e0319b7eb0390361d397d4baad0e9a3f0b1
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
(cherry picked from commit daf9fdd3a6e96d417f19440d59452e3b271ec9d9)
2023-09-01 08:19:52 +00:00
Bartosz Bezak
a76d93dfb9 Pin iptables to 1.8.4 in Centos Stream 8
Bug in Centos Stream 8:
[1] https://bugzilla.redhat.com/show_bug.cgi?id=2236501

Change-Id: I87c5c3792c400f9bc90d00ebc5fc858f3a2b02e2
(cherry picked from commit 8f076857fde79477432c1377559a452c265297ce)
2023-09-01 09:24:39 +02:00
Zuul
f1d1881e95 Merge "Pin elasticsearch-curator==5.8.4" into stable/yoga 2023-08-18 13:52:42 +00:00
Lukasz Zalewski
aadc290613 Pin elasticsearch-curator==5.8.4
elasticsearch-curator 8 is out and is incompatible with Elasticsearch 7 release.
We pin curator version to release 5.8.4 which should support any Elasticsearch
7.x releases [1].
As elasticsearch has been dropped from Zed onwards, this only applies to Yoga
and below.

1. https://www.elastic.co/guide/en/elasticsearch/client/curator/5.8/version-compatibility.html

Closes-Bug: #2028048
Change-Id: I976781ed0bdc47760163e25c480ca8fe93f66517
2023-08-17 20:34:02 +01:00
Zuul
2e5bafe34f Merge "opensearch-dashboards: Fix permissions" into stable/yoga 2023-08-17 08:58:36 +00:00
Zuul
2372493147 Merge "opensearch: move to yum/apt repos" into stable/yoga 2023-08-17 08:54:17 +00:00
Michal Nasiadka
a3367db6bb CI: Add rocky9 experimental jobs
Change-Id: I537edd2a4d5ad7107e6f40022ee99c0f72f18ab2
(cherry picked from commit a16331de20ce9f6c0554419d06f4dc1a40bb9d86)
2023-08-16 12:48:13 +00:00
Zuul
6838078277 Merge "Pin setuptools=67.2.*" into stable/yoga 2023-08-16 12:47:43 +00:00
Michal Nasiadka
7a30d4d768 opensearch-dashboards: Fix permissions
Since we moved to using rpm/deb packages, the user has changed.

Related-Bug: #2020152
Change-Id: I2a5a0d761223b4e99c8df59f80261108380d5038
(cherry picked from commit 6786e4384c1a19e4658310e109b8ab9704f5eff9)
2023-08-16 11:32:55 +00:00
Michal Nasiadka
23e0819d68 opensearch: move to yum/apt repos
systemd-tmpfiles is needed otherwise opensearch
postinst on Debian/Ubuntu fails

Change-Id: I5aeb5796f8de7697a1c4a7404fe292ef9eb522ee
(cherry picked from commit 6bd7898a1d95157c713bdff0fe5bdf5a59b65550)
(cherry picked from commit aab455c5eb063b5e843bc0919bbae8f1687cf1d5)
2023-08-16 11:32:12 +00:00
Michal Nasiadka
ca472c5f7c Pin setuptools=67.2.*
67.3.1 is out and it broke Horizon builds

Change-Id: Ie6c078a9c37f54d60f0d5a4aadb647e184489cb8
2023-08-16 09:27:51 +00:00
Zuul
88eaee5a0e Merge "ovsdpdk: add libdpdk-dev" into stable/yoga 2023-08-16 09:09:41 +00:00
Michal Nasiadka
ce2b14e5a6 Use erlang-25 from copr on aarch64
Change-Id: I9f40167fed9412b3f33f82e2f97f353275431292
(cherry picked from commit 51675bb232f0c4826ff74351b68c1e16a1893545)
2023-08-09 15:58:42 +00:00
Michal Nasiadka
9cdee83987 ovsdpdk: add libdpdk-dev
Closes-Bug: #1980328
Change-Id: I29dde2696ff81f3f48effdd6821d94d0d84ff536
(cherry picked from commit f7436ee60256687a71a3a89fac2e15b61e9e4859)
2023-08-09 13:12:01 +00:00
Michal Nasiadka
d49cca5492 rabbitmq: use erlang-25 ppa on Debian/Ubuntu
RMQ team is now maintaining erlang-24, erlang-25 ppas, see [1].

[1]: https://github.com/rabbitmq/erlang-debian-package/discussions/33

Closes-Bug: #2023668
Change-Id: I7e289bd5ce52319604717e0b319d0642a8e598db
(cherry picked from commit 0e881148d0036f27b95c5a27459e527fb3b0476d)
2023-07-13 10:15:02 +02:00
Michal Nasiadka
482ebb9997 Update support matrix
Change-Id: Ibf800fe89715f65ca9ada25b4cd31f348944e506
(cherry picked from commit 27a768bfaed52516478887e1d0f8e10d066fd5be)
14.10.0
2023-06-26 08:14:21 +00:00
Maksim Malchuk
75f9186288 Fix cinder-volume: add missing nvme-cli rpm package
Closes-Bug: #2024390
Change-Id: I84c7633765749a5e9ced983505ef290c32154ccc
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
(cherry picked from commit 11f90f3746f6affd34885019a82eb94d3c098ee9)
2023-06-21 08:38:34 +00:00
Maksim Malchuk
44e04967af Disable build of Gnocchi containers
Revert this commit when [1] is solved.

1. https://github.com/gnocchixyz/gnocchi/issues/1304

Change-Id: Iafeb9093340621d65a9c9cd126d65679d981dfb1
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-06-20 18:07:29 +03:00
Maksim Malchuk
f35699e33c Fix cinder-volume: Add forgotten lsscsi rpm package
Closes-Bug: #2024018
Change-Id: I7eb97c6bfb65f26b044f26fece09521836ac5a3b
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
(cherry picked from commit 2e2900e00bb88a38ea51c925d2c6c0cfcd5841bb)
2023-06-19 13:19:52 +03:00
Zuul
df73339820 Merge "fluentd: pin td-agent to 4.4.2" into stable/yoga 2023-06-12 14:24:23 +00:00
Sven Kieske
59a5de343a
fluentd: pin td-agent to 4.4.2
Closes-Bug: #2019557

Change-Id: I3723e418c061c387c7f18cd33556ebb74ba1bd95
Signed-off-by: Sven Kieske <kieske@osism.tech>
2023-06-01 14:26:25 +02:00
Mark Goddard
2a302e5b65 mariadb-clustercheck: ensure /var/log/kolla/mariadb exists
If mariadb-clustercheck starts before mariadb, the directory may not
exist, and the command fails.

This is necessary for the refactored MariaDB restart in
I5a12670d07077d24047aaff57ce8d33ccf7156ff.

Change-Id: Ie1b36eb9a403611c2f86aa4c1d500d324e5291f3
(cherry picked from commit 9035251443ed6cbb110e9dc5efdbc9d4be797ef5)
2023-06-01 08:27:37 +00:00
Michal Nasiadka
9c0a62a952 CI: Fix centos9 builds and drop unnecessary zuul vars
Change-Id: I2e5601229c02953a570be3dd96f8649c362cd059
2023-05-29 17:16:53 +00:00
Michal Nasiadka
64ab2e983d fluentd: pin fluent-plugin-elasticsearch to <5.3.0
5.3.0 requires faraday>2.0, let's pin stable branches requiring
ElasticSearch support.

Closes-Bug: #2019557
Change-Id: I13fe5b46fed3f1ad14eab9fae513617a3d2053c8
2023-05-17 12:44:20 +00:00