615 Commits

Author SHA1 Message Date
Zuul
ee331fd0d3 Merge "Remove kubeadm-aio" 2022-05-20 16:03:29 +00:00
Gage Hugo
ad133069aa Remove kubeadm-aio
As part of the move to helm v3, we migrated how we setup
deploying kubernetes from a series of playbooks to using
a bash script. This had the advantage of being easier to
follow and deploy locally, as well as easier to debug
when an issue arose. While the kubeadm-aio was very useful
in the past to help lower run-times, currently it appears
that optimizations in our jobs have seem to mitigate a lot
of the issues that were lessened with the AIO.

Change-Id: If0c6a97aed4083307a9b6f5beb4ec525e8103e01
2022-05-19 16:13:12 +00:00
Gage Hugo
b412d729fd Unpin ansible version in start script
We previously pinned the version of ansible we deployed in order
to avoid issues when upgrading which would cause gate failures.

This change removes the pinnned version since it appears to be
more stable now.

Change-Id: Iabe516273bb68444340f06ad652d007d707cf888
2022-05-16 20:48:26 +00:00
Schubert Anselme
753a32c33d Migrate CronJob resources to batch/v1 and PodDisruptionBudget resources to policy/v1
This change updates the following charts to migrate CronJob resources to the batch/v1 API version, available since v1.21. [0]
and to migrate PodDisruptionBudget to the policy/v1 API version, also available since v1.21. [1]

This also uplift ingress controller to 1.1.3

- ceph-client (CronJob)
- cert-rotation (CronJob)
- elasticsearch (CronJob)
- mariadb (CronJob & PodDisruptionBudget)
- postgresql (CronJob)

0: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#cronjob-v125
1: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#poddisruptionbudget-v125

Change-Id: Ia6189b98a86b3f7575dc4678bb3a0cce69562c93
2022-05-10 15:12:53 -04:00
Dustin Specker
980d92e6b4 pin containerd to 1.5.11-1
containerd 1.6.4-1 changes something about cgroups.procs file
(need to investigate) and this causes libvirt's
readiness probes to fail with an error like:

Readiness probe failed: OCI runtime exec failed: exec failed: unable to
start container process: error adding pid 7366 to cgroups: failed to
write 7366: open
/sys/fs/cgroup/unified/kubepods.slice/kubepods-besteffort.slice/kubepods-besteffort-podc2658f11_e579_435c_aab8_d7359f88968f.slice/docker-8cb51ac90cc54e6333028634c4a16592c093ceb0944964e344dcfce9e93f3ed3.scope/cgroup.procs:
no such file or directory: unknown

Change-Id: Icd860b4360d8547480780b271954a20e79d5a4cd
2022-05-06 16:14:42 -05:00
Gage Hugo
d200c97464 Update several default ubuntu release defaults
Several roles and scripts in the osh-infra repo have defaults for
ubuntu that are still on xenial when we mostly run bionic or newer.

This change updates these references to default to focal.

Change-Id: I84bca2d685cf1c67b10eee3bb7c05deb2cc4670b
2022-04-27 11:29:27 -05:00
Zuul
93d93a68bc Merge "Remove tiller chart" 2022-04-06 21:47:09 +00:00
Gage Hugo
fe3e47aff0 Update Makefile for helm v3 scripts
With the removal of helm v2, the Makefile still points to the old
playbooks that try to deploy helm v2. Since we have moved to using
shell scripts to deploy helm v3, this change updates the Makefile
to point to the new scripts.

Change-Id: I6e363f3ce92a228da1301a45c754e68a859325ea
2022-04-04 20:37:07 +00:00
Gage Hugo
83b8dc8616 Remove tiller chart
Now that openstack-helm has migrated all of its jobs over, we
can now actually delete the tiller chart.

Change-Id: I4a6b201906fb6840222c1b082febedff2e51ce97
2022-03-31 16:52:30 -05:00
Gage Hugo
79d75267ea Move osh-infra jobs to use helm3
This change updates many of the deployment scripts to properly
handle deploying each service via helm 3 and updates each job
to use the helm v3 install script.

Change-Id: I90a7b59231376b9179439c2554e46449d59b9c15
2022-03-24 13:05:42 -05:00
Graham Steffaniak
8e3c97714b Updated chart naming for subchart compatibility
CHG: - reno-check script to ignore subchart
     - .Release.Name to match .Chart.Name instead:
       - mariadb
       - rabbitmq
       - memcached

Change-Id: Ieaecd5537c2843357b2787f6f59405b672ce8b8a
2022-03-23 17:24:05 -05:00
Anderson, Craig (ca846m)
feeab3291c Add DNS sanity checks to k8s deploy script
Check that k8s DNS is working, and terminate at the beginning if this is
not the case.

Change-Id: I30867671f39dd9d80f46f5a4381adc9d34df7ab7
2022-02-18 00:15:59 -08:00
Gupta, Sangeet (sg774j)
6c044362d9 Add gate script to deploy kubernetes using kubeadm.
Change-Id: I164d0aa03f420cf263832e31c30807e9fccd8495
2021-10-29 01:05:29 +00:00
Zuul
b5d9406c47 Merge "Remove helm status from deployment scripts for tenant-ceph" 2021-10-27 01:43:05 +00:00
Zuul
a7442c33eb Merge "Remove helm status from deployment scripts for podsecuritypolicy" 2021-10-27 01:42:32 +00:00
Zuul
9fbcc80aee Merge "Remove helm status from deployment scripts for osh-infra-monitoring" 2021-10-26 15:14:33 +00:00
Zuul
da5bce229c Merge "Remove helm status from deployment scripts for osh-infra-monitoring-tls" 2021-10-26 15:14:31 +00:00
Zuul
4b86fc455a Merge "Remove helm status from deployment scripts for osh-infra-logging" 2021-10-26 10:35:04 +00:00
Zuul
6fc996dc15 Merge "Remove helm status from deployment scripts for osh-infra-logging-tls" 2021-10-26 08:28:40 +00:00
Zuul
16bc1ddc4f Merge "Remove helm status from deployment scripts for osh-infra-local-storage" 2021-10-26 08:20:21 +00:00
Zuul
6e00e5566e Merge "Remove helm status from deployment scripts for openstack-support" 2021-10-26 08:19:40 +00:00
Zuul
b855f7cb2f Merge "Remove helm status from deployment scripts for network-policy" 2021-10-25 14:55:55 +00:00
Zuul
68648ab6d9 Merge "Remove helm status from deployment scripts for keystone-auth" 2021-10-22 07:49:23 +00:00
Zuul
b93e2bbf1f Merge "Remove helm status from deployment scripts for federated-monitoring" 2021-10-22 07:49:20 +00:00
Zuul
52a3d466fa Merge "Remove helm status from deployment scripts for multinode" 2021-10-22 02:01:54 +00:00
Zuul
49e4b091fb Merge "Remove helm status from deployment scripts for elastic-beats" 2021-10-21 15:46:04 +00:00
Zuul
7a9cacb5b8 Merge "Remove helm status from deployment scripts for common" 2021-10-19 01:58:46 +00:00
Zuul
2d90f441a0 Merge "Remove helm status from deployment scripts for apparmor" 2021-10-18 15:52:40 +00:00
jayonlau
6d5c4265f8 Remove helm status from deployment scripts for tenant-ceph
With the move to helm v3, helm status requires a namespace to be specified, but doing so breaks helm v2 compatability. This change removes the usage of helm serve in openstack-helm-infra's deployment scripts.

Change-Id: I649512e17fc62049fef5b9d5e05c69c0e99635f9
2021-10-13 13:03:18 -04:00
jayonlau
746a98ebed Remove helm status from deployment scripts for podsecuritypolicy
With the move to helm v3, helm status requires a namespace to be specified, but doing so breaks helm v2 compatability. This change removes the usage of helm serve in openstack-helm-infra's deployment scripts.

Change-Id: I7ed4a88fca679b1d27c74f0e260e690093fdf591
2021-10-13 13:00:37 -04:00
jayonlau
24fd882cd6 Remove helm status from deployment scripts for osh-infra-monitoring
With the move to helm v3, helm status requires a namespace to be specified, but doing so breaks helm v2 compatability. This change removes the usage of helm serve in openstack-helm-infra's deployment scripts.

Change-Id: I7d17d2ff4a44fc8d16cc653b33253cce536bfce1
2021-10-13 12:58:17 -04:00
jayonlau
42195465f7 Remove helm status from deployment scripts for osh-infra-monitoring-tls
With the move to helm v3, helm status requires a namespace to be specified, but doing so breaks helm v2 compatability. This change removes the usage of helm serve in openstack-helm-infra's deployment scripts.

Change-Id: I7a14e510fb1cfadcf2e124314b52c7cac4ac0af1
2021-10-13 12:55:42 -04:00
jayonlau
311fe70d3b Remove helm status from deployment scripts for osh-infra-logging
With the move to helm v3, helm status requires a namespace to be specified, but doing so breaks helm v2 compatability. This change removes the usage of helm serve in openstack-helm-infra's deployment scripts.

Change-Id: If27f87fceb79162458f22c07a35fe813b6026830
2021-10-13 12:52:20 -04:00
jayonlau
0e94f35e9c Remove helm status from deployment scripts for osh-infra-logging-tls
With the move to helm v3, helm status requires a namespace to be specified, but doing so breaks helm v2 compatability. This change removes the usage of helm serve in openstack-helm-infra's deployment scripts.

Change-Id: Icc845f0ee15740802e97a4749e7181d6f372e4b2
2021-10-13 12:49:21 -04:00
jayonlau
962686763b Remove helm status from deployment scripts for osh-infra-local-storage
With the move to helm v3, helm status requires a namespace to be specified, but doing so breaks helm v2 compatability. This change removes the usage of helm serve in openstack-helm-infra's deployment scripts.

Change-Id: I507f6e786b5e35741030c500368638d586c99c12
2021-10-13 12:46:22 -04:00
jayonlau
391813463d Remove helm status from deployment scripts for openstack-support
With the move to helm v3, helm status requires a namespace to be specified, but doing so breaks helm v2 compatability. This change removes the usage of helm serve in openstack-helm-infra's deployment scripts.

Change-Id: Ia24fadf575dc5230246f3efa32a00fa1e3614abf
2021-10-13 12:43:08 -04:00
jayonlau
f4ec1c4cd3 Remove helm status from deployment scripts for network-policy
With the move to helm v3, helm status requires a namespace to be specified, but doing so breaks helm v2 compatability. This change removes the usage of helm serve in openstack-helm-infra's deployment scripts.

Change-Id: I2264d29cd2dad1bc7636de8247ebec7f611a1f16
2021-10-13 12:38:05 -04:00
jayonlau
248a280293 Remove helm status from deployment scripts for keystone-auth
With the move to helm v3, helm status requires a namespace to be specified, but doing so breaks helm v2 compatability. This change removes the usage of helm serve in openstack-helm-infra's deployment scripts.

Change-Id: I4cf135dc9852506cc2e853c9faa8544b7b2e2fae
2021-10-13 12:33:07 -04:00
jayonlau
74b79700c0 Remove helm status from deployment scripts for federated-monitoring
With the move to helm v3, helm status requires a namespace to be specified, but doing so breaks helm v2 compatability. This change removes the usage of helm serve in openstack-helm-infra's deployment scripts.

Change-Id: I21ba5d8ca6f86954c793268142419e0a9e083943
2021-10-13 12:29:23 -04:00
jayonlau
60a9540e0b Remove helm status from deployment scripts for multinode
With the move to helm v3, helm status requires a namespace to be specified, but doing so breaks helm v2 compatability. This change removes the usage of helm serve in openstack-helm-infra's deployment scripts.

Change-Id: Ia600b979bf48629962577b3c5674bfa7415d78c0
2021-10-13 12:25:08 -04:00
jayonlau
2ef1d9b7ed Remove helm status from deployment scripts for elastic-beats
With the move to helm v3, helm status requires a namespace to be specified, but doing so breaks helm v2 compatability. This change removes the usage of helm serve in openstack-helm-infra's deployment scripts.

Change-Id: I5c6dc5ea826c57b8c442ee0e876010a9ab726612
2021-10-13 12:17:49 -04:00
jayonlau
4df5e23c06 Remove helm status from deployment scripts for common
With the move to helm v3, helm status requires a namespace to be specified, but doing so breaks helm v2 compatability. This change removes the usage of helm serve in openstack-helm-infra's deployment scripts.

Change-Id: I8e035d70dd652d5253f534ad6b28042347158ff4
2021-10-13 12:12:22 -04:00
jayonlau
38f529faca Remove helm status from deployment scripts for apparmor
With the move to helm v3, helm status requires a namespace to be specified, but doing so breaks helm v2 compatability. This change removes the usage of helm serve in openstack-helm-infra's deployment scripts.

Change-Id: Idd97b6c8d2531c8cd55629a3ce91b2581af904f4
2021-10-13 12:01:56 -04:00
Gage Hugo
e3203bd7fe Improve osh-infra-deploy helm v3 job
This change improves the osh-infra-deploy job to
successfully deploy minikube with helm v3 along with
the necessary namespaces. Future changes will modify
the install scripts for each job to make them helm
v3 compatible.

Change-Id: I08a94046f86f7c92be7580fbf10751150d2fcecc
2021-10-11 17:02:06 +00:00
Phil Sphicas
05f2a42330 Use Kubernetes v1.19.15 in kubeadm-aio image
Update Kubernetes version to v1.19.15, the latest patch release of the
earliest supported version (as of 2021-09-15).

Change-Id: Ia8f398098dfafa7fc029c982c71bce4a876668de
2021-10-07 22:14:24 -07:00
Tin Lam
5f75ffa180 fix(ssl): fixes libvirt ssl job
Changes the override to use dynamically generated certs for the
libvirt-ssl jobs so they don't expire in the future. Also, changes it so
it is voting again like before.

Signed-off-by: Tin Lam <t@lam.wtf>
Change-Id: If7215961b0b9a7cad75afd7f78592515b74a7b58
2021-09-27 12:45:29 -05:00
Gage Hugo
9030ff05da Remove unused jobs and related files
This change removes a bunch of unused and unmaintained files
and job declarations related to deploying osh-infra with armada.

Change-Id: I158a255132cd6b02607b6e1e77b8b9525cc8a3d5
2021-09-06 22:23:33 -05:00
Zuul
089d3f859c Merge "Add base helm3 job" 2021-09-06 02:55:56 +00:00
Gage Hugo
b70bdd6a71 Get kubeadm working again
This change fixes several issues with kubeadm, notably
the tiller image url/version, as well as fixing the
docker python library missing.

Change-Id: I35528bd45c08ac8580d9875dc54b300a2137fe73
2021-09-02 23:59:35 +00:00
Gage Hugo
21ada44f59 Add base helm3 job
This change adds a new script and job to deploy minikube with
helm3. This job will be improved upon in later changes as
part of the movement to helm3.

Change-Id: Ia7ef30a4e2af77508ad95191e5241d2c1b83a7c4
2021-09-02 04:54:52 +00:00