10 Commits

Author SHA1 Message Date
Sergiy Markin
b475486d96 Switch to py310 and new kubernetes 1.30.0
By switching to Python 3.10 we need to disable
focal and bionic jobs.

Change-Id: I4ecd3c633e4fc90fea1622beb2e822a0b4c87452
2024-09-23 15:18:21 +00:00
astebenkova
f543332804 [images] Upgrade distro version to Ubuntu Jammy
+ add python3-netifaces for successful pip packages compilation and
  orphan-sysvinit-scripts to install /etc/init.d/rsyslog script in Jammy
+ build specific image instead of all in airship-porthole-images-* jobs

Change-Id: I5c9b3bf81db95a03bd623d3c46f37f37bd595504
2024-05-20 18:18:59 +03:00
Sergiy Markin
9993c54155 [deploy-env] Switch to kubeadm role
Change-Id: I269243ff6a8e4a9c8761aa518c149602d3cba8ef
2024-02-14 19:00:52 +00:00
Sergiy Markin
04a8cb59b5 Porthole upgrades
This PS delivers the following changes:

- adds values_overrides folders into utility binaries charts for
  flexible testing the charts and images;
- values_overrides added to .helmignore files for every chart;
- added munch python package into bionic images for compartibility with
  newer openstack client dependences;
- improved Makefile clean section;
- uses treasuremap v1.9 deploy-k8s.sh script to deploy test k8s cluster;
- adds appropriate changes to deploy k8s script, setup apparmor;
- porthole utility charts deployment script have been enriched with and
  ability to control additional values from values_overrides folders of
  each chart;
- added env-variables.sh and get-values-overrides.sh to power up the
  changes describes in previous point;
- removed deploy.sh script for clarity of actions in playbooks;
- improved airship-porthole-gate-runner playbook;
- removed install-deps playbook that was used to pre-setup zuul gate;
- united make-unit-tests and make-feature-tests playbooks into one
  make-functional tests playbook;
- helm version has been bumped up to 3.11.1;
- improved helm_tk.sh script in order to solve issues with multiple
  charts build process;
- bumped up version of stable helm-toolkit used for charts build;
- airship-porthole-gate-runner playbook is now used as pre-run script
  for tox profiles gates and as main run playbook for functional tests
  gate;

Change-Id: I202c573ff85ed2b80191057b537a65a5f5d4600e
2023-06-23 18:48:26 +00:00
Sergiy Markin
5ead2930ae Restore bionic images
This PS restores building ans testing bionic images

Change-Id: Id88e1c096a8934e5974b9404cc2b0bfd748fc25f
2023-06-07 04:15:14 +00:00
astebenkova
91d35fc47f [images] Upgrade distro version to Ubuntu Focal
Add focal-based docker recipes for porthole images. Besides, amend helm
charts and zuul variables related to distribution.

Change-Id: I1a6ac464a115a842dd7010fa8a28fbe0822b9598
2023-02-14 23:41:28 +00:00
Sergiy Markin
fa49a102c9 [dbutils] Increase timeout for ON_DEMAND_POD
This PS is intended to fix intermittent issue on some sites when
database backup ondemand job fails to detect ON_DEMAND_POD when it is
still creating.

Also this PS has fixes related to using focal as base build image.
tox.ini also fixed for compatibility with tox4. This PS also uplifts
latest stable HTK version and changes openstackutility version to
Yoga.

Change-Id: I36e55091adf7dc68758fb9b7145cfa34776522d6
2023-02-14 19:35:47 +00:00
Markin, Sergiy (sm515x)
1cb2ee3566 [CPID-354] Improve MariaDB Backup/Restore validation process
HTK has been updated to 0.2.48 version that includes local backup verification step before uploading to remote storage.

In mysqlclient-utility chart HTK is used to perform test backup/restore processes. This chart has been updated to match HTK changes.
The main difference that a mariadb verification server has to be running as a side container.

In etcdctl-utility chart .Values.manifests.secret_certificates value was set to False and a condition has been added to deployment-etcdctl-utility.yaml to avoid looking for etcdctl-etcd-secrets secret to mount.

Also in mysqlclient-utility in ensure_ondemand_pod_exists() function of dbutils.sh made the folloging adjustment: number of containers in *-ondemand pod in pod existence verification condition set to 2/2. This is because we added the second container to this pod with verification server.

Additionally, bumping up HTK version to 0.2.48 from a commit id obtained from merge of https://review.opendev.org/c/openstack/openstack-helm-infra/+/853027 and set proper commit id in this file: tools/helm_tk.sh

Change-Id: I9d3796500574da3582cf67d8aeeec8c796dd88dd
2022-09-10 14:55:40 -05:00
diwakar thyagaraj
4a2d6deefa Enable Logs Output in Zuul for Deployment Scripts
This Fixes Logs for Deployment Validation.

Change-Id: I6cda8d0f0bd2d5e957abb8df9b512866f169ae59
Signed-off-by: diwakar thyagaraj <diwakar.chitoor.thyagaraj@att.com>
2020-03-04 18:24:16 +00:00
diwakar thyagaraj
d4d4d7f486 Enable runtime-default Apparmor Profile to Openstack-Utility Container.
This PS also adds Gate jobs to check docker default
apparmor for utility Containers.

Change-Id: I32fbf16291a4f4df06d0cc23c8235de0420a044a
2019-12-02 18:25:03 +00:00