Cgroup name of Kubernetes is determined by the
cgroup driver of Docker. If cgroup driver of Docker
is systemd, there will be an error in deploying HugePages.
https: //github.com/kubernetes/kubernetes/blob/release-1.26/pkg/kubelet/cm/cgroup_manager_linux.go#L77-L81
Change-Id: If709a968dde24d01e17fef63f09ebf9d7a23fc62
This change updates all Ceph image references to use Focal images
for all charts in openstack-helm.
Change-Id: I67cd294e2aabf3c3af404da42204f9b6157b06f7
Beginning with the Pacific release, Ceph pools are not allowed to
use 1x replication by default. This is problematic for the
openstack-helm gate scripts, which frequently use 1x replication
for automated testing. This change adds Ceph configuration and
command overrides to allow those gate scripts to continue to use
1x replication for testing.
Change-Id: I21ed3e43f3773d5ea830959f1b66b35f38185ca7
When deploy ceph on loop devices we need lvm2
to be installed on the host to create necessary
device links like /dev/<vgname>/<lvname>
Change-Id: Ice7031da38009e913cd43b95398218d25dc97930
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
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
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