117 Commits

Author SHA1 Message Date
Vladimir Kozhukalov
a1c0645c36 Enable yoga compute-kit job
Change-Id: I6860194ca90d2f81f32cb9bb8633a5af1d798b31
2023-04-12 06:07:06 +03:00
Zuul
112b540b86 Merge "Re-enable Xena jobs" 2022-10-24 20:35:47 +00:00
Gage Hugo
bb52836c93 Re-enable Xena jobs
After a lot of debugging and changes, it appears that with several
tweaks the Xena jobs now are running successfully.

This change uncomments the Xena jobs for both cinder and
compute-kit.

Depends-on: https://review.opendev.org/c/openstack/openstack-helm/+/862440
Depends-on: https://review.opendev.org/c/openstack/openstack-helm/+/862441
Change-Id: Icb7e71599863b0236872fa8c39725cdfcee09feb
2022-10-23 20:28:07 -05:00
Gage Hugo
65aa849ea5 Remove Ussuri release jobs
This change removes the ussuri-bionic jobs from check in zuul
for openstack-helm. Ussuri is the only release that is still
using bionic images and this change is part of our effort to
stay up-to-date.

A future change will update the charts to remove ussuri overrides
to reflect this.

Change-Id: I18a55426d92654e7baa422ad92ea9f092d854460
2022-10-19 23:27:04 -05:00
sunile
94a8d348a9 Added horizon to install as default component
Added horizon to the openstack umbrella chart to deploy but disabled
by default.

Change-Id: Ia835c0c142d0e0878623af9165d595a386b7c4c2
2022-10-03 16:39:33 +00:00
Gage Hugo
1ece13de23 Update tungsten fabric job
This change updates the tungsten fabric job to use a newer version
of openstack, wallaby, as well as moves it from periodic to
experimental.

Change-Id: I191bdaedba507ee76c04b2a2143362e772bcabc9
2022-09-04 20:02:52 +00:00
Gage Hugo
0af17cfa2b Disable Xena and Yoga jobs temporarily
The Xena and Yoga jobs have been unstable lately, the compute-kit
job does not run reliable in Zuul. While we diagnose and fix the
issue, this change comments out both X & Y release jobs to reduce
the number of blocked developers and wasted rechecks.

Change-Id: I53f1a9cd8c24939cf73729c5c2a8bb674403fdd6
2022-07-28 22:37:41 +00:00
Dustin Specker
7a7c533e3e upgrading subchart config only impacts subchart
This verifies that making a configuration change to one of Umbrella's
subcharts results in only the application (DaemonSet, Deployment or
StatefulSet) for that subchart being updated. No other subchart's
application should be updated.

This only validates subcharts from openstack-helm-infra.
Validating the remaining subcharts from openstack-helm will
be done in the future.

OpenStack Umbrella's default values for rabbitmq was configured
to use a host path. This is so rabbitmq retains its data
between StatefulSet changes. Otherwise components fail to authenticate
with rabbitmq after the rabbitmq pods have been recreated. The
OpenStack Umbrella Chart will use the `standard` storage class
by default since that's what is provisioned via minikube.

Change-Id: I8570e32e6ae03563037608d337f31066edf29755
2022-07-06 12:39:33 -05:00
Dustin Specker
078a496937 upgrading umbrella w/o changes has no app changes
If a Helm upgrade is performed on the OpenStack Umbrella chart using
the exact same configuration as the first release, then it's expected
for no DaemonSets, Deployments, or StatefulSets to be updated.
This did not work as expected.

A few changes were required to support this desired behavior:
1. Update glance's configmap-etc.yaml to trim whitespace and convert
   YAML comment to Helm template comment. Before this change, Helm
   rendered the template with the YAML comment and a newline for the
   install phase. On upgrades, Helm rendered the template without the
   YAML comment and newline causing the hash of configmap-etc to change,
   thus causing the glance-api Deployment to update.
2. Update openstack.sh script to create a randomly generated memcache
   secret for glance. Without this change, the glance-api deployment
   changes each time since Helm randomly generates a new memcache
   secret if not provided.

This behavior is enforced via a new test script,
validate-umbrella-upgrade-no-side-effects.sh.

The following jobs are always recreated due to hooks:
- keystone-bootstrap
- keystone-credential-setup
- keystone-db-init
- keystone-db-sync
- keystone-domain-manage
- keystone-fernet-setup
- keystone-rabbit-init
- rabbitmq-cluster-wait

Some Jobs are created via CronJobs and could be created during
validation. So far, heat-engine-cleaner has been seen, but others
could be caught too.

So the validation script ignores these pod changes by ignoring if
Jobs were recreated. Plus Jobs being recreated should not impact
the OpenStack deployment.

Change-Id: Iffaa346d814b8d0a3e2292849943219f70d50a23
2022-06-28 15:55:31 -05:00
Zuul
1f6de05a62 Merge "added pattern to trigger helm-compute-kit-umbrella-chart" 2022-06-27 18:19:05 +00:00
Ahmed Hussain Syed
393e3b4c40 added pattern to trigger helm-compute-kit-umbrella-chart
Change-Id: Ie0c6464477980f7a948eebcfc426bfcdc13d2c2a
2022-06-24 17:43:56 -05:00
Gage Hugo
01cdea17e4 Add Xena and Yoga jobs
This change adds both the Xena and Yoga releases of openstack to the
running jobs that openstack-helm uses to test.

A future change will enable the compute-kit yoga job.

Depends-on: https://review.opendev.org/c/openstack/openstack-helm/+/845156
Depends-on: https://review.opendev.org/c/openstack/openstack-helm/+/845656

Change-Id: I1bed5f1ce4c0919df9e772e920f3146fc39ffb79
2022-06-14 02:23:29 +00:00
Gage Hugo
cb8ef9c229 Remove train jobs
This change removes the zuul check and gate jobs that run the
train release of openstack. This is part of the effort to continue
support for the latest versions of openstack.

Change-Id: Id44d43fe8d99ae6b3f5405458986ce93d1366282
2022-05-31 20:41:59 +00:00
Graham Steffaniak
2e5b7f9cb7 add compute-kit to openstack umbrella chart
ADD: include new charts to the umbrella chart for comprehensive
     deployment of openstack-helm.

       * openvswitch
       * libvirt
       * neutron
       * nova
       * placement

Change-Id: I78d1c7c629024c3f9530239dff9f8eb9da598764
2022-05-19 17:07:31 -05:00
Gage Hugo
0a3ff67bfc Update horizon job to wallaby and ubuntu focal
This change updates the horizon job to run under the wallaby
release on ubuntu focal image. Due to the dependencies
between the images repo and this one, we will need to create
a separate new job before moving over.

Change-Id: I966adc8ac4a54d3c2c06707ecd6c041fe4708c96
2022-04-26 18:37:16 +00:00
Graham Steffaniak
0da3bfb941 Added zuul umbrella chart check
zuul job to verify the openstack umbrella chart deployment works
 properly.

Change-Id: Iafd7de13dfdf8f5942d54a4f37324e4a3dda8ef3
2022-04-08 13:18:31 -05:00
Gage Hugo
7c8c564b09 Comment out xena jobs for now
OpenStack Xena currently fails to run due to nova requiring a
version of libvirt that is greater than what comes with ubuntu
focal. This change comments out the job for now while a fix is
made.

Change-Id: Icc06fb6d81ab742b7e88888810d56a5a8aaa2f53
2022-03-24 13:18:07 -05:00
Gage Hugo
b13a8de906 Add Xena check jobs
This change adds the Xena release of OpenStack to the check jobs
for openstack-helm.

Change-Id: I0e07b77b41221a55d8cc97a58bceaaf37d565c35
2022-03-03 20:27:31 +00:00
Gage Hugo
0b9ad8ea05 Move TLS job from check to experimental
We currently run the TLS job in both check and gating. The TLS job
does not reliably pass however due to resource constraints so
having it run on each check results in quite a few rechecks.

This change moves the TLS job from check to experimental to avoid
having to perform these rechecks while having the ability to
run the job on demand when needed.

Change-Id: Ia44354066cc22c936de7dbab4c56b18527cfaa85
2022-02-21 09:49:09 -06:00
Ritchie, Frank (fr801x)
3f4b2b97b6 Add ssl_minimum_version tls1.2 to tls overrides
This change adds the minimum version of tls1.2 to not allow insecure
older tls versions to be allowed.

Change-Id: I880ac1caf31d2a26ca78389d5f96b07cf42b61ac
2022-01-24 12:20:52 -06:00
Gage Hugo
7d718fb5b5 Fix broken bandit gate
The current bandit job appears to be failing due to a dependency
on setuptools. This change adds in a manual install for setuptools
when running the bandit job.

Change-Id: I6d0f5987c4f1a5fe7cfeed3eddb6d21c3040ebb0
2022-01-21 20:53:45 +00:00
Gage Hugo
ded761cf6e Cleanup zuul jobs file and update releases
This change cleans up several redundant values and updates several
openstack release references to wallaby.

Change-Id: I547408a81c73b6b3db147582def6e8527e75a5c3
2022-01-05 02:54:51 +00:00
Zuul
28a29d1d7a Merge "Run keystone-ldap job on keystone changes" 2021-11-18 02:37:43 +00:00
Zuul
71de762a28 Merge "Update periodic/experimental jobs to helm v3" 2021-11-18 02:37:40 +00:00
Gage Hugo
863d8afb27 Run keystone-ldap job on keystone changes
This change modifies the keystone-ldap job to run in check when
the keystone chart contains any modifications. This moves it from
running periodically to running on each keystone change.

Depends-On: https://review.opendev.org/c/openstack/openstack-helm/+/816209

Change-Id: I32008e3a14b0428922071205f873087c2aba071d
2021-11-12 22:38:42 +00:00
Gage Hugo
f895ef79c1 Make TLS job voting again
The TLS job was previously broken with the change to helm v3, but
has since been fixed. This change makes it voting again.

Change-Id: I3ea6f12a4d165f9ff64e002e860e873a603f6a6d
2021-11-11 17:50:15 -06:00
Gage Hugo
b4978e8e60 Update periodic/experimental jobs to helm v3
This change updates the experimental jobs that are
currently working to use helm v3. Later changes should
fix the other issues that they are currently experiencing.

Change-Id: I068a9bb835e1bde4d11d8dee0352c49248c20b15
2021-11-11 23:46:20 +00:00
Gage Hugo
f42a54532c Only run cinder jobs on cinder changes
We currently run multiple jobs that deploy cinder on changes
that have no relation to the service. This change modifies the
job to only run when we modify the cinder chart, test scripts,
or the zuul files themselves.

Change-Id: Ia188193929143cb6ae52266a5a87d2662626d42e
2021-11-04 15:17:40 -05:00
Zuul
873de94f74 Merge "Move check jobs to use helm3" 2021-11-01 16:48:33 +00:00
Gage Hugo
7034968d96 Move check jobs to use helm3
This change migrates the check jobs in OSH to use the
new helm v3 script when deploying kubernetes via
minikube.

This is one step in the move to helm v3. Future changes
will migrate the other jobs.

Change-Id: If741db5997a27ed06584b9af2d50485d8de34a2b
2021-10-29 19:41:25 +00:00
Gage Hugo
bdd1e7ebe9 Make TLS job nonvoting
The move to helm v3 breaks the rendering for the ca-issuer chart.
While that gets fixed, we can temporary make the job non-voting
in order to unblock the migration to helm v3.

Change-Id: Ia25ac1f85974fc8c8ac8cf3ffedff746a92f2cf5
2021-10-28 18:23:25 -05:00
Gage Hugo
75349b25b7 Remove extra linting job
Now that the main linting job runs helm v3, this extra job is
no longer needed. This change removes the specific helm v3
linter job.

Change-Id: I40d6be368a4f36242c54b9a57b7e6f7328be8bb6
2021-10-22 17:31:25 -05:00
Zuul
f0639fccb1 Merge "Re-enable multinode gating jobs" 2021-09-06 03:39:37 +00:00
Gage Hugo
4a952a84a6 Re-enable multinode gating jobs
Now that the kubeadm-aio is fixed, we can re-enable the
multinode jobs for gating against openstack-helm.

Change-Id: Ib1f1bca5f370e0326ea0211dfcfba9544bd458b2
2021-09-04 01:29:47 +00:00
Gage Hugo
9c7380568e Cleanup unused jobs
This change removes a bunch of old and duplicated jobs,
duplicate netpol and the old armada jobs that have not
been maintained. Also removed the tls job from
experimental since we run it now in gating.

Change-Id: Ic19520d8790c52d66d62b20a23658c57d954697e
2021-09-04 00:42:28 +00:00
Zuul
2f80bd3ff2 Merge "Add V and W jobs to zuul check" 2021-08-16 08:16:40 +00:00
Gage Hugo
dfcf42289b Run helm3 linter in check
This change adds a helm3 linter to the zuul check job list. The job
currently emits some warnings, these will be cleared up in future
changes.

Change-Id: I4d74ba5464e9e3d78b95298e9778b99f1b387fcd
2021-08-09 21:35:07 +00:00
Gage Hugo
73b307a3de Add V and W jobs to zuul check
This change adds the V and W openstack release jobs to the zuul
check list. This will bring OSH testing more in line with the latest
supported releases of OpenStack.

Change-Id: I2cc98159ee9bf1ad3ac5c70a772e2b4c1bbd7fa4
2021-08-09 13:36:13 -05:00
Andrii Ostapenko
3ac3caa013 Add support for Victoria and Wallaby
Defines compute kit and cinder jobs for new releases with
corresponding values overrides.

Disables compute agent list test for Wallaby since related API
is removed [0].

Since Wallaby with switch of osc to sdk '--id auto' is no longer
treated specially in 'openstack flavor create'. The same behavior
can be achieved w/o specifying --id flag for flavor creation [1].

Starting Wallaby 'nova-manage api_db version' returns init version
for empty database greater than 0 [2]. _db-sync.sh.tpl logic prior to
this commit does not work due to this. We need to either remove
(done in current commit) or justify and alter previous logic.

[0] https://review.opendev.org/749309
[1] https://review.opendev.org/750151
[2] https://opendev.org/openstack/nova/src/branch/stable/wallaby/nova/db/sqlalchemy/migration.py#L32

Change-Id: I361431d9aa8c1a06c5d59f479fb161ecd87e2ee2
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2021-08-02 15:46:07 +00:00
Zuul
c30ef33edd Merge "Remove old release jobs and update to latest" 2021-05-20 15:45:02 +00:00
Gage Hugo
42cdcea972 Disable multinode gate jobs
With the latest removal of the tiller chart, the multinode jobs were
still utilizing the older method of deploying the kubeadm-aio. We
can disable these for now until the jobs get updated to avoid blocking
existing work.

Change-Id: Icbf694a1b23da5e662ba5b894ff45f443f705021
2021-05-04 16:57:55 -05:00
Gage Hugo
cc8fe0c0aa Remove old release jobs and update to latest
With the latest change[0] officially dropping support for older
non-maintained releases, this change removes several EOL release
jobs as well as bumps anything using those up to the latest
supported T release.

[0] https://review.opendev.org/c/openstack/openstack-helm/+/788380

Change-Id: I8df32c6bcc0b9a0c65aa1299c6a792b27da81ae8
2021-04-30 14:37:02 -05:00
Gupta, Sangeet (sg774j)
7f42914f7d Zuul.d: Making TLS gate voting again
Reverting https://review.opendev.org/c/openstack/openstack-helm/+/773651
since ubuntu-bionic-expanded seems to be available now.

Depends-on: https://review.opendev.org/c/openstack/openstack-helm/+/787557

Change-Id: Ib93eca9e6e84a60af2bd3ed5b90647966fa0aca3
2021-04-27 12:12:44 +00:00
Gage Hugo
c308d67cdf Move stein to periodic, update to train
With stein in extended maintenance, this change updates the check
and gate jobs to run train and up, as well as updating some jobs
to use train. Moved stein to periodic.

Change-Id: Icd516f25140ebd479b49da101e4f84326f341274
2021-03-24 14:34:29 -05:00
Gage Hugo
44a34f7db4 Stop running Rocky jobs in check
We already run the rocky jobs in periodic. With Rocky in EOL, we
can remove them from being checked on every change.

Change-Id: I8728297c9b0742cd10977185568c75fc2b8b7e7e
2021-02-08 20:04:10 +00:00
Andrii Ostapenko
deed80582e
Temporary make tls job non-voting
ubuntu-bionic-expanded is not available now. Temporary disable it to
unlock urgent efforts.

Change-Id: Ib6224d7420b0b09c1fbd615437eb15f02e762c34
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2021-02-02 06:11:14 -06:00
Gage Hugo
6ea15a7f9d Add reno job to Openstack-Helm
With OSH now publishing charts regularly with each change, there
needs to be a way to track these changes in order to track the
changes between chart versions.

This proposed change adds in a reno check job to publish notes
based from the changes to each chart by version as a way to
track and document all the changes that get made to OSH
and published to tarballs.o.o.

Change-Id: Iff8681c697957e4711754fc20b07fa6b728eb584
2021-01-20 21:47:35 +00:00
Gupta, Sangeet (sg774j)
86c2196679 zuul.d: Adding multinode job
This new job deploys 5 node cluster and deploy train
openstack.

Depends-on: https://review.opendev.org/c/openstack/openstack-helm-infra/+/765588

Change-Id: I9c946d5eab46d6603c9b8ff25dc482b543d236bf
2020-12-28 16:38:32 +00:00
Mohammed Naser
e9d00e7c17 Add openstack-helm chart publish jobs
Depends-On: https://review.opendev.org/762442
Change-Id: If4616b27a579c121972e8e12bdb0554ac584d7ed
2020-11-11 19:23:09 -05:00
Zuul
ca48e44974 Merge "Optimize tls job to reduce build time" 2020-09-17 02:12:29 +00:00