Commit Graph

610 Commits

Author SHA1 Message Date
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
Gage Hugo
67ac5da9ed Update helm repo url
The googleapi repo has been causing issues and the latest
one is giving an unauthorized error when trying to download
helm tarball.

This change moves the repo to use the official helm one.

Change-Id: I52607b0ca6d650d5f5e4a95045389970faa08cfb
2021-08-11 16:18:44 +00:00
Gage Hugo
a4f300e3da Update helm 2 version to latest
The version of helm 2 that OSH has been using was older and seems
to have been removed from the googleapi repo that the jobs are
setup to use, this was causing job failures.

This change updates the version to the latest v2 release.

Change-Id: I675f539b24ea9c2355ac9eacc7dd8122c5236e5f
2021-08-06 10:56:50 -05:00
Tin Lam
00052793dd chore(openssl): updates cert generation
This patch removes the dependency on cfssl to generate certificates and
removes unused constructs in the script.

Change-Id: Ia933420157f456bf99a6ec5416e6dbb63bfa5258
Signed-off-by: Tin Lam <t@lam.wtf>
2021-06-27 06:10:04 +00:00
jinyuanliu
cc9ad68b30 Clean up residual file
The soft link file has been deleted, This path cleans up the redundant files.

Change-Id: I71b9f7de7bf2cfac71984047b8d44d707ed2b07f
2021-06-25 13:53:01 +08:00
Parsons, Cliff (cp769u)
d9404f89c2 Enable Ceph CSI Provisioner to Stand Alone
The current implementation of the Ceph CSI provisioner is tied too
closely with the older Ceph RBD provisioner, which doesn't let the
deployer deploy Ceph CSI provisioner without the old RBD provisioner.

This patchset will decouple them such that they can be deployed
independently from one another.

A few other changes are needed as well:
1) The deployment/gate scripts are updated so that the old RBD and
   CSI RBD provisioners are separately enabled/disabled as needed.
   The original RBD provisioner is now deprecated.
2) Ceph-mon chart is updated because it had some RBD storageclass
   data in values.yaml that is not needed for ceph-mon deployment.
3) Fixed a couple of bugs in job-cephfs-client-key.yaml where RBD
   parameters were being used instead of cephfs parameters.

Change-Id: Icb5f78dcefa51990baf1b6d92411eb641c2ea9e2
2021-06-15 14:48:09 +00:00