10186 Commits

Author SHA1 Message Date
Michal Nasiadka
15b5052fa1 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)
16.4.0
2024-02-26 09:45:35 +00:00
Michal Nasiadka
95b7c30cfd opensearch: set OPENSEARCH_INITIAL_ADMIN_PASSWORD
Since 2.12 OpenSearch requires setting initial admin password,
that is not trivial/weak.

Closes-Bug: #2054586

Change-Id: I6b6ef656bc2009a2dc3cdfcb01956d50fba4b7b9
(cherry picked from commit 756ee984c3c761514115c342e7cba9a3cb533d02)
2024-02-22 05:40:55 +00:00
Michal Nasiadka
f3b9afdab8 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)
16.3.0
2024-01-04 09:38:39 +00:00
Alex-Welsh
48031708d5 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:21:58 +00:00
Zuul
823765f840 Merge "Swift: Remove unused rootwrap" into stable/2023.1 2023-12-21 08:08:46 +00:00
Zuul
09f283c86d Merge "Adding db sync script for venus" into stable/2023.1 2023-12-20 17:01:42 +00:00
Zuul
2169f20012 Merge "Add rsync to nova-compute" into stable/2023.1 2023-12-20 14:43:57 +00:00
Bartosz Bezak
acf23fa830 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
2023-12-13 15:44:53 +01:00
Takashi Kajinami
9befcd6974 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 11:55:43 +00:00
Jeffrey Zhang
47a20d3d74 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 11:40:41 +00:00
howardlee
933c3a946a Adding db sync script for venus
The script for database synchronization is missing in the venus-api image,
which makes it impossible to create the required database tables during
venus deployment.

Closes-Bug: #2029915
Change-Id: Ibbf75fa73b8397ea3686b42cec6cad6d8f6d3858
(cherry picked from commit 772de9662caa5e2041d557322a9b6a7344b3e0f0)
2023-11-19 22:23:48 +00:00
Zuul
0e88f96a68 Merge "Fix an issue with zun-cni-daemon building images in aarch64" into stable/2023.1 2023-11-07 10:00:42 +00:00
Dawud
9ee9677f9d 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)
16.2.0
2023-10-24 15:09:10 +00:00
renliang
d6731028be 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:43:48 +00:00
Michal Nasiadka
0e6676cb0b 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-09-29 12:40:51 +00:00
Zuul
23aefea2eb Merge "ubuntu: mark collectd and telegraf as buildable" into stable/2023.1 2023-09-20 09:26:45 +00:00
Michal Arbet
bbe79d1be9 Fix stderr logging when image build fail
Change-Id: Ie8730ae44cc26b87bd7eac93c8aac8dce8c7c5fc
(cherry picked from commit 299f1d6bdd94018532ec27fad80830e8a8f1d4eb)
2023-09-14 17:57:23 +00:00
Zuul
10de55c5c3 Merge "Improve kolla-toolbox offline support." into stable/2023.1 2023-09-14 12:40:21 +00:00
Michal Nasiadka
78c62dacd6 ubuntu: mark collectd and telegraf as buildable
Closes-Bug: #2019756
Change-Id: Ibf3983f49795eea1f75aa7efb120c812adab4c86
(cherry picked from commit f000360c2d699e5b2bd9bee00e78055deb1540b4)
2023-09-14 11:00:55 +00:00
Zuul
7af2b1ba3f Merge "Revert "Disable build of Gnocchi containers"" into stable/2023.1 2023-09-08 11:17:42 +00:00
Zuul
7a327b73f7 Merge "docs: we moved UNBUILDABLE_IMAGES to separate file" into stable/2023.1 2023-09-06 10:18:44 +00:00
Zuul
19f9a9c326 Merge "Add server-status handler to Rocky/Centos Apache conf" into stable/2023.1 2023-09-06 10:08:48 +00:00
Gaël THEROND (Fl1nt)
47e3d894a4 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)
2023-09-06 12:26:14 +03:00
Maksim Malchuk
2da6ceab78 Revert "Disable build of Gnocchi containers"
This reverts commit 5505cd000ce7f12c272c5b62074c9cc6bf1bb7a7.
Reason: Closed #1304 [1] as completed.
Branch stable/4.5 is taged 4.5.1 with Fix [2] already.

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

Change-Id: I3ca4e10508c26b752412789502ceb917ecb4dbeb
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
(cherry picked from commit 4e5e508282dfd40a7d7831217e109a055073bd7c)
2023-09-05 12:04:55 +00:00
Maksim Malchuk
902a846935 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-08-30 16:09:20 +00:00
Dawud M
288a400dbf 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-08-30 07:13:49 +00:00
Marcin Juszkiewicz
ba8b1ff29a docs: we moved UNBUILDABLE_IMAGES to separate file
Change-Id: I07ca5b82ecceda500e00260262c2a711c97b33bd
(cherry picked from commit d2c6a4e0ee128d2c35b0e7b12638c482a6218a1f)
2023-08-23 09:16:30 +00:00
Michal Nasiadka
cad045b264 rabbitmq: Fix repo for ubuntu aarch64
That has been omitted in the original patch.

Change-Id: I9b69fff14507ad2d1838367bb8b81a3a73694071
(cherry picked from commit 5bf088263c17f687dac1f78c1546b833c44116c8)
2023-08-09 15:58:28 +00:00
Michal Nasiadka
91a4079d84 Use erlang-25 from copr on aarch64
Change-Id: I9f40167fed9412b3f33f82e2f97f353275431292
(cherry picked from commit 51675bb232f0c4826ff74351b68c1e16a1893545)
16.1.0
2023-06-27 12:02:03 +00:00
Michal Nasiadka
f43a0ed4ea opensearch: drop unnecessary workarounds
Change-Id: Id6db7ffb22b3f63e9a406455d52078b76071672f
(cherry picked from commit b33167972d6e17b2eaab85e72043e3b4efa4b789)
2023-06-23 16:00:43 +00:00
Michal Nasiadka
44a81974e6 Revert "rabbitmq: pin to 3.11.16"
This reverts commit 600ed4f149a1cf542f54d7fc5005030f53c69a83.

Reason for revert: 3.11.18 is out with a fix

Change-Id: I4659bcd48ea32294b3ee84af9af94fae32b38bf3
(cherry picked from commit 1dba21d012884e2d101b635787c7233fb27b060b)
2023-06-23 09:12:13 +00:00
Zuul
b9d1b69e04 Merge "rabbitmq: use erlang-25 ppa on Debian/Ubuntu" into stable/2023.1 2023-06-22 10:35:36 +00:00
Zuul
5f6ea14a74 Merge "Fix cinder-volume: add missing nvme-cli rpm package" into stable/2023.1 2023-06-21 22:05:15 +00:00
Maksim Malchuk
5a67a0162d 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 18:14:49 +00:00
Michal Nasiadka
a2c6b01e96 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

Change-Id: I7e289bd5ce52319604717e0b319d0642a8e598db
(cherry picked from commit 0e881148d0036f27b95c5a27459e527fb3b0476d)
2023-06-21 17:17:19 +00:00
Michal Nasiadka
f4600a1497 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-06-20 18:38:02 +00:00
Maksim Malchuk
9efdc98d9f 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>
(cherry picked from commit 5505cd000ce7f12c272c5b62074c9cc6bf1bb7a7)
2023-06-20 15:26:21 +00:00
Zuul
eefb79a2ed Merge "Fix Venus containers built from correct branch" into stable/2023.1 2023-06-19 15:13:24 +00:00
Maksim Malchuk
e95ce09cfe 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 11:01:56 +00:00
Maksim Malchuk
30802ae094 Fix Venus containers built from correct branch
Closes-Bug: #2023628
Change-Id: I76ac61604f5b0739ec27973a233a65e4c55c8c32
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
(cherry picked from commit b0804cd04cd2e47cf18666fc420ebd42e69aae75)
2023-06-19 10:40:15 +00:00
Michal Arbet
8dc32be6f1 Fix rabbitmq image build
This patch is replacing ppa.launchpadcontent.net
by ppa1.novemberain.com.

Reason for replacement is that only latest erlang version
is available on the current ppa source.

Setting Debian ARM jobs non voting for now, since the new ppa
does not contain arm64 packages.

This repo is based on the official Erlang/OTP package
for Debian. The RabbitMQ team adapted the upstream package
to produce packages for more/different combinations of
Erlang/OTP, Debian and Ubuntu releases.

Change-Id: Iddec6ec555f98e13c2f199e5ca7dad7f4819b1a8
(cherry picked from commit 4950c03e59b8d1af46018b81a49fa028e1b8296d)
2023-06-19 13:35:52 +03:00
Mark Goddard
2ca7ec1613 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:26:44 +00:00
Michal Nasiadka
10be550bc5 rabbitmq: pin to 3.11.16
Seems rabbitmq node drain got broken in 3.11.17

Related-Bug: https://github.com/rabbitmq/rabbitmq-server/discussions/8415

Change-Id: I3a23670f85336344d8aebaded74dd65871837b82
(cherry picked from commit 600ed4f149a1cf542f54d7fc5005030f53c69a83)
16.0.0.0rc2 16.0.0
2023-05-31 10:12:36 +00:00
Michal Nasiadka
3f911485bb rocky/centos: mark bifrost buildable
Change-Id: I18d3ca8bd83a72dba15fc7e543270e260ae4dab0
(cherry picked from commit 878e9c0524e97dda7d61c6161d33e26052d6285f)
2023-05-29 16:05:45 +00:00
4fe4642524 Update TOX_CONSTRAINTS_FILE for stable/2023.1
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.

Until the requirements repository has as stable/2023.1 branch, tests will
continue to use the upper-constraints list on master.

Change-Id: I4283a66c01a05cbaa01508a710decc3ebe779683
2023-05-26 08:40:33 +00:00
698eff7dcd Update .gitreview for stable/2023.1
Change-Id: I383f439ff5581804f539513d6dab0ea41a21e6ea
2023-05-26 08:40:30 +00:00
Zuul
58030f8677 Merge "ubuntu: use Antelope UCA" 16.0.0.0rc1 2023-05-18 20:37:31 +00:00
Zuul
cfc05b7eb6 Merge "CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean" 2023-05-18 15:16:27 +00:00
Michal Nasiadka
665357248d ubuntu: use Antelope UCA
Skip using the mirror for now, given the OpenDev AFS
space issues.

Change-Id: I8e55c699e493494b3e5c908c7e8c370ce992fdf5
2023-05-18 14:54:56 +00:00
Zuul
704d521d62 Merge "prometheus: update ovn-exporter version to 1.0.6" 2023-05-18 12:03:35 +00:00