The ceph-rbd-pool job is being changed to use the "final_osd"
target instead of the "osd" target to determine if more OSDs than
expected are running. The deployment test scripts therefore must
be updated to include this value.
Change-Id: I63e4a0b3ba58d5ee79cda75bd9e9650d5a49aff5
Occasionally rabbitmq replicas fail to come up when running in
zuul due to resource constraints. This causes random failures
and needless rechecks when it comes up.
This change sets the number of replicas when deploying the compute
kit script to 1 from the default 2.
Change-Id: Icdcc075a88d05f87a7f787d306d6b430485964c9
With the placement db migrate job removed, we can now deploy
placement ahead of nova. This fixes issues of several nova pods
failing due to placement not being up before nova is.
This change moves the placement service to deploy before nova
in the compute-kit script.
Depends-on: https://review.opendev.org/c/openstack/openstack-helm/+/860975
Change-Id: I62f82224e898761d5b388867c63a259967601d45
Before if we tried to add an address that was already added to the
br-ex device the script would error out. Now, use replace which is
idempotent.
Change-Id: I34bbb361c4fa2f347431629f79753f75b458926f
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.
Validating the remaining subcharts from openstack-helm-infra has
been done in another commit.
Change-Id: I649dde64313dfaaa7440c86fd50c3882874bf122
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
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
Adding python3-dev for openstack cli. Adding net-tools for route.
As some environments do not have these packages installed, we are making
sure these are added by updating install-package.sh.
Change-Id: I95f26fdca3c9a8d8412831f44ba84051bb4b9c91
Several of the deployment scripts in the repo are still currently
using stein as their defaults. Since this release is quite old
now, this change bumps the version used to be Xena by default.
Change-Id: Ia5c941fd4adab9f9bf12c298497181580891a612
Currently the 170-setup-gateway.sh script is still hardcoded to
use a train neutron image. This change updates the version to
use the newer Xena image instead.
Change-Id: I0a4a0d81ea9dc041e9095323346c3ea4755d55f5
Before, the script was using OSH_EXTRA_HELM_ARGS to configure
virt_type and cpu_mode. This unfortunately overrode any passed in
OSH_EXTRA_HELM_ARGS.
Now, use OSH_EXTRA_HELM_VIRT_ARGS so users can still specify
OSH_EXTRA_HELM_ARGS when using `openstack.sh`.
Change-Id: I34019f2f751bd2e1bbbfdc0a17b99613e478369c
ADD: include new charts to the umbrella chart for comprehensive
deployment of openstack-helm.
* openvswitch
* libvirt
* neutron
* nova
* placement
Change-Id: I78d1c7c629024c3f9530239dff9f8eb9da598764
openssh-client, etc. updated and might not accept these algos by
default. Cirros images should probably be updated at some point to
use a new SSH server.
Update cert-manager to 1.8.0 because [1] changed `deploy-k8s.sh`
to use Kubernetes 1.23 instead of 1.19.
This broke cert-manager as ca-injector had an error of:
Error: error registering secret controller: no matches for kind
"MutatingWebhookConfiguration" in version
"admissionregistration.k8s.io/v1beta1"
This is because admissionregistration.k8s.io/v1beta1 no longer exists
in Kubernetes 1.23.
Upgrade cert-manager so it uses admissionregistration.k8s.io/v1 instead.
1 - https://review.opendev.org/c/openstack/openstack-helm-infra/+/840691
Change-Id: I5ea204bbcd7add2f787df79ac1d996842f4d1fcc
nova-placement has been removed as of train, since we
do not support openstack releases before train, it
is no longer needed. This change removes nova-placement
from the nova chart and all the overrides, as well as
changes the compute-kit scripts to always deploy
the placement chart.
Change-Id: Ic8649371fe9e954806cbe4bf11c589fb58c7a88d
Older than train releases are not supported by gate already. So no
need to keep cases to deploy placement inside nova helmrelease.
Apart from that, changed the deployment order of nova and placement.
Change-Id: I03f303e8081207e15ecf8424039948305af3bb12
ADD openstack chart with values_overrides
* rabbitmq
* mariadb
* memcached
* keystone
* heat
* glance
This adds umbrella chart that references other charts via
symlink and include global values.
Because chart valeus_overrides yaml apply to the main chart,
the umbrella chart has a chart-scoped replacement
ADD openstack.sh deploy script
This script deploys all components with a single release.
ADD corresponding release notes
CHG wait-for-pods-sh to accept timeout arguement
CHG get-values-overrides.sh to modify file path for subchart
Change-Id: I25cd9d6785c61540d6329657c0358f27299d3647
Nova consoleauth was removes several releases ago and most of our
overrides were specifically needing to disable it in order to
deploy. Since it is no longer in nova, this change removes the
nova consoleauth support from the nova chart.
Change-Id: I0a27265330156a11f6049e9beaaa14a38d8a4a93
With the move to helm v3, several of the development scripts are
either out of date or are linked to ones that are. This change
updates several of the symlinks and scripts that exist under
the ceph development directory to bring them up-to-date with
the current state of the repository.
Change-Id: I15b431d5301d47c6c83513e356c0c819d2c50963
Glance registry was deprecated in Queens and removed in Stein.
This change removes glance-registry settings and templates
from the glance chart. Also removed the overrides from older
releases that are no longer actively supported and tested.
Change-Id: I704d844b9ab96daa73ec42e29cded31fbbe3f720
The development scripts are currently pointing to the old helm v2
minikube scripts and as a result, they do not work properly. This
change points them to use the correct up-to-date scripts and is
part of the effort to update and cleanup the deployment scripts
for openstack-helm.
Change-Id: I4797eace5f9f625de886c7abe1111222da2e92f9
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
This change reduces the amount of scripts used to deploy memcache
down to one by removing a duplicate and pointing the symlink
to the component script.
Change-Id: Ia127666cf89c8823ffb3ba2b5ebe7d62afa5f82b
The deployment scripts for glance have leftover value settings
from older openstack releases that are no longer supported by
OSH. This change removes those random override values and has
them fallback to the get-values-overrides script.
Change-Id: If348d8be9748c281be27bdf5e8ac37d240d72636
This change removes the cinder v1 and v2 endpoint definitions
from the default values in the cinder chart.
Change-Id: I0ee35ad71c76df157e2c670a7899e4b6c1b91e46
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