3824 Commits

Author SHA1 Message Date
Vladimir Kozhukalov
f803daeb5e Align db scripts with sqlalchemy 2.0
Change-Id: I0b6c500e8257c333c16c15d7d338651ee5b2ca27
2024-07-10 14:21:29 -05:00
astebenkova
01e66933b3 [fluentd] Adjust configuration for v1.15
+ prevent Fluentd from parsing its own logs and fix an issue with
  endless backslashes (https://github.com/fluent/fluentd/issues/2545)
+ increase chunk limit size
+ add storage for systemd plugin configuration
+ add pos_file parameter for the tail sources

Change-Id: I7d6e54d2324e437c92e5e8197636bd6c54419167
2024-07-09 13:58:19 +00:00
Vladimir Kozhukalov
1d34fbba2a Test job for legacy OSH Ceph to Rook migration
At the moment the recommended way of managing Ceph clusters
is using Rook-Ceph operator. However some of the users
still utilize legacy OSH Ceph* charts. Since Ceph is
a critical part of the infrastructure we suggest a migration
procedure and this PR is to test it.

Change-Id: I837c8707b9fa45ff4350641920649188be1ce8da
2024-07-02 12:41:54 -05:00
Vladimir Kozhukalov
bc45596483 Add Cilium deployment to deploy-env role
Change-Id: I7cec2d3ff09ec3f85992162bbdb8c351660f7de8
2024-07-02 08:58:30 +00:00
Zuul
8b67f87999 Merge "Couple tiny fixes for deploy-env role" 2024-07-02 00:17:20 +00:00
Vladimir Kozhukalov
41358ff8b2 Couple tiny fixes for deploy-env role
- typo in the setup of wireguard tunnel
- wrong home directory when setup k8s client for root user

Change-Id: Ia50f9f631b56538f72843112745525bc074e7948
2024-07-01 14:43:41 -05:00
Vladimir Kozhukalov
cf4a143e1b Setup passwordless ssh from primary to cluster nodes
Here we add Ansible tasks to the deploy-env role
to setup passwordless ssh from the primary node
to K8s cluster nodes. This is necessary for some
test scripts like for example Ceph migration script.

Change-Id: I1cae1777d51635a19406ea054f4d83972e5fe43c
2024-06-25 12:32:41 -05:00
Ritchie, Frank (fr801x)
1fc147ae50 Update curator to 8.0.10
Update es curator to 8.0.10 and use appropriate config options for
the es_client python module that has been incorporated in 8.0.9

https://github.com/elastic/curator/compare/v8.0.8...v8.0.9

https: //github.com/elastic/curator/blob/bd5dc942bbf173d5e456f1a3c5ca8bec1c0df2ac/docs/usage.rst#log-settings
Change-Id: I88071162f5bc0716bfb098525ed2eacd48367d98
2024-06-24 13:44:24 -04:00
Zuul
d2937a9aaf Merge "Simplify ceph-adapter-rook" 2024-06-20 14:54:53 +00:00
Zuul
4263a931fb Merge "Update deploy-env role to support root user" 2024-06-19 21:54:16 +00:00
Vladimir Kozhukalov
b460c559bb Simplify ceph-adapter-rook
- Do not deploy anything in the ceph namespace
- Prepare admin key secret in the openstack namespace.
  Get admin key from the Ceph tools pod
- Prepare Ceph client config with the mon_host
  taken from the rook-ceph-mon-endpoints configmap
  as recommended in the Rook documentation.

Change-Id: Idd4134efab49de032a389283e611c4959a6cbf24
2024-06-19 06:41:03 -05:00
Ritchie, Frank (fr801x)
876e57c606 Add value for rendering sidecar without feature
Add option to deploy rendering sidecar without the k8s
sidecar feature.

Change-Id: I4b8052166bad8965df9daa6b28e320d9132150cd
2024-06-14 14:30:17 -04:00
Vladimir Kozhukalov
10583bc269 Update deploy-env role to support root user
Change-Id: I4126155eec03677cf29edfb47e80f54ab501705d
2024-06-13 15:05:54 -05:00
Ritchie, Frank (fr801x)
b946e5ba05 Add image rendering sidecar
This PS is to add a sidecar for the grafana image renderer. Starting
with Grafana v10 it will be necessary to use an image rendering plugin
or remote renderer.

https://grafana.com/docs/grafana/latest/setup-grafana/image-rendering/

Change-Id: I4ebdac84769a646fa8154f80aaa2692c9f89eeb8
2024-06-13 11:48:18 -04:00
astebenkova
bea89e68f2 [openstack-exporter] Switch to jammy-based images
Change-Id: I5326bb5231d3339d722ac67227e60bac592eb916
2024-06-03 09:06:36 +03:00
SPEARS, DUSTIN (ds443n)
ec11928422 Updating openvswitch to run as child process
On containerd v1.7+ openvswitch restarts when
containerd is restarted. To prevent this add tini
and run OVS as a child process.

Change-Id: I382dc2db12ca387b6d32304315bbee35d8e00562
2024-05-30 20:25:44 +00:00
Vladimir Kozhukalov
b5b9590e42 Use OSH helm plugin rabbitmq and memcached scripts
Change-Id: Ia06ee7f159c6ed028ab75fcb5707ee6e42179d98
2024-05-24 13:53:20 -05:00
Zuul
d3d27c091c Merge "Fix selenium test for additional compatibility." 2024-05-16 23:05:46 +00:00
Omar Munoz
6d399c3831 Fix selenium test for additional compatibility.
Change-Id: I2b5bd47d1a648813987ff10184d2468473454dfd
2024-05-15 23:05:04 +00:00
Vladimir Kozhukalov
cbc4dffb30 Bump K8s version to 1.29.5
Change-Id: I4a3c7a17f32b5452145e1677e3c5072875dc9111
2024-05-15 13:47:28 -05:00
Zuul
096958388a Merge "Escape special characters in password for DB connection" 2024-05-14 19:50:11 +00:00
Kabanov, Dmitrii
6c5cc2fdf0 Escape special characters in password for DB connection
The passwords with special characters need to be URL encoded to be
parsed correctly

Change-Id: Ic7e0e55481d9ea5ce2621cf0d67e80b9ee43cde0
2024-05-13 21:47:20 +00:00
Vladimir Kozhukalov
427b0163eb Cleanup unused scripts
Change-Id: I3bad13cc332fd439b3b56cfa5fc596255bc466f2
2024-05-13 16:17:12 -05:00
Zuul
a3a348c7b3 Merge "Fix typo in the ovn chart" 2024-05-10 00:27:04 +00:00
Vladimir Kozhukalov
ab4c00df80 Fix typo in the ovn chart
Change-Id: Ib69c6af7b79578090e23ea574da0029cf3168e03
2024-05-07 12:30:09 -05:00
Zuul
07c7212fe2 Merge "Add configurable probes to rabbitmq" 2024-05-02 16:19:53 +00:00
Ruslan Aliev
5c1709d5bd Add configurable probes to rabbitmq
Currently rabbitmq probes are hardcoded with no ability to
customize via values.

Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Change-Id: Ibbe84e68542296f3279c2e59986b9835fe301089
2024-05-01 18:55:26 -05:00
astebenkova
2f7377e17e [deploy-env] Add mirror to Docker configuration
There are some docker_container tasks which pull docker images.
This commit adds mirror configuration to daemon.json to prevent
encountering issues related to the pull rate limit.

+ update tls job according to the changes in openstack-helm

Depends-On: Ia58916e3dc5e0f50b476ece9bba31d8d656b3c44
Change-Id: Iac995500357336566cdbf9ddee0ae85b0b0347cd
2024-05-01 21:48:21 +00:00
astebenkova
93aec7e807 [chromedriver] Loosen compatibility up with Chrome
Chromedriver had strict version selection. This commit allows
it to pick the closest patch version to google-chrome-stable

Change-Id: I435985573f69ee4bb0f6009416452649f302c0fe
2024-05-01 13:29:24 -05:00
Vladimir Kozhukalov
4bc249d540 Add env variables to deploy from Helm repos
These env variables will be defined in test
jobs. By default we will deploy from local charts
but some jobs will deploy from charts published
on a HTTP server (local or public).

- OSH_HELM_REPO
- OSH_INFRA_HELM_REPO
- DOWNLOAD_OVERRIDES

Change-Id: Ic92b97eb5df4f7f8c4185c06654de4b4d890fbc6
2024-04-24 15:04:16 -05:00
Vladimir Kozhukalov
67fae419b8 Remove ingress chart
We have not been using it for a while since some
time ago we switched to the upstream ingress-nginx.

Change-Id: I2afe101cec2ddc562190812fc27bb3fad11469f1
2024-04-20 16:15:42 -05:00
Vladimir Kozhukalov
d31027cfb4 Install OSH Helm plugin
Depends-On: I71ab6ad104beb491b5b15b7750e2fc0988db82bf
Change-Id: I8f30fbdf94d76ef9fa2985a25c033df290995326
2024-04-17 19:06:48 -05:00
astebenkova
efea7f5fd0 [chromedriver] Change json api endpoint
Choose a more reliable json file from the upstream to refer to.
"Stable" versions of Chrome and Chromedriver became unsynchronized for some reason.

Change-Id: I1688a867ea1987105e7a79c89ba7ea797819a12f
2024-04-17 18:17:56 +03:00
Zuul
3168facfbd Merge "Clean up outdated deploy k8s scripts" 2024-04-16 03:46:04 +00:00
Vladimir Kozhukalov
cdbecfb7f4 Update test jobs
- Remove openstack-helm-infra-openstack-support* jobs.
  Instead of these jobs we run compute-kit, cinder and tls
  jobs defined in the openstack-helm repo.
- Remove all experimental jobs since they are outdated and
  do not work. We will later add some of the test cases
  including apparmor, network policy, tenant Ceph and others.

Change-Id: I8f3379c06b4595ed90de025d32c89de29614057d
2024-04-14 20:47:46 -05:00
Vladimir Kozhukalov
a23312374d Clean up outdated deploy k8s scripts
Change-Id: I8481869a6547feae2ac057b65c8c4aecc2c1f505
2024-04-14 20:46:11 -05:00
astebenkova
ed4a8acf85 Enable job for DPDK
Depends-On: I3ad5b63a0813761a23573166c5024e17d87f775d
Change-Id: I4851767a79bc4571a0f38622fe309807b53a7504
2024-04-12 17:12:17 +03:00
Zuul
9587ad4eb7 Merge "helm-toolkit: Enable custom secret annotations" 2024-04-11 23:09:11 +00:00
Zuul
8da724d6cd Merge "Add conf file for MongoDB" 2024-04-10 15:41:10 +00:00
Zuul
3e3618bbd9 Merge "make ovn db file path as configurable" 2024-04-09 18:02:33 +00:00
root
d2039d4cf5 make ovn db file path as configurable
Change-Id: I8b0f5c0bda2f1305e0460adc35e85b130f4cf9ff
2024-04-09 23:11:12 +10:00
dengzhaosen
5f74107cde Add conf file for MongoDB
Change-Id: If6635557d4b0f65188da0d7450ad37630b811996
2024-04-09 16:42:48 +08:00
Tadas Sutkaitis
1e5ca80385
helm-toolkit: Enable custom secret annotations
Enable custom annotations for secrets [registry, tls]

Change-Id: I811d5553f51ad2b26ea9d73db945c043ee2e7a10
2024-04-09 02:08:18 +03:00
Zuul
34dd0bc5bd Merge "Update deploy-env role README.md" 2024-04-08 07:51:38 +00:00
Zuul
3775eb8079 Merge "Add 2023.2 Ubuntu Jammy overrides" 2024-04-08 06:23:01 +00:00
Doug Goldstein
929ebf5200
add custom job annotations snippet and use it
Add the ability for charts that use helm-toolkit to allow the users to
set custom annotations on jobs. Use the snippet in a generic way in the
job templates provided by helm-toolkit.

Change-Id: I5d60fe849e172c19d865b614c3c44ea618f92f20
Depends-On: I3991d6984563813d5a3a776eabd52e2e89933bd8
Signed-off-by: Doug Goldstein <doug.goldstein@rackspace.com>
2024-04-05 18:52:53 -05:00
Vladimir Kozhukalov
4d203b2274 Update deploy-env role README.md
Change-Id: Ia2ace3541be97577f1225d54417f6a287b7a8eb2
2024-04-03 21:47:01 -05:00
Vladimir Kozhukalov
51c7affc72 Run more test jobs when helm-toolkit updated
Specifically we would like at least the following
deployments to be tested when helm-toolkit is updated
- compute-kit
- cinder
- tls

Change-Id: I3991d6984563813d5a3a776eabd52e2e89933bd8
2024-04-03 14:07:23 -05:00
Zuul
9a01b22b0b Merge "Add 2024.1 overrides" 2024-04-01 19:00:32 +00:00
Vladimir Kozhukalov
cfed816a9a Fix coredns resolver
Forward requests for unknown names to 8.8.8.8

NOTE: Temporarily disable DPDK job which turned to
be incompatible with this PR
https://review.opendev.org/c/openstack/openstack-helm/+/914399
It wasn't tested with the DPDK job.

Change-Id: I936fb1032a736f7b09ad50b749d37095cce4c392
2024-03-28 20:34:23 -05:00