Python needs to be set to python2 before checking for python3 to prevent
certain test framework errors.
Change-Id: Ifd1ed35160338688d3c723c055ca75cd999e46e0
Readiness probe that we currently have does not help with restarting a
pod that got stuck in a transfer state reported by
wsrep_local_state_comment.
root@mariadb-server-2:/# mysql_status_query wsrep_ready
OFF
root@mariadb-server-2:/# mysql_status_query wsrep_connected
ON
root@mariadb-server-2:/# mysql_status_query wsrep_cluster_status
non-Primary
root@mariadb-server-2:/# mysql_status_query wsrep_local_state_comment
Transfer
So the idea is to add a liveness probe that will take care of this.
Change-Id: I2ccecc75349667fe19c6f7f9dccc2dbbd17d0a5e
During the first run, grafana will run migrator job, which populates
necessary fields in database. Previously, if there are two or more
grafana pods which start up simultaneously, it causes the race condition
for database access and finally one of the pods will fail (in some
cases both of them), leaving the grafana database in incomplete state.
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Change-Id: I5a7993b3cad2d48af3f73218d6c61c216520e1c5
The mon version check in the rbd-pool job can cause the script to
error and abort if there are multiple mon versions present in the
Ceph cluster. This change chooses the lowest-numbered major version
from the available mon versions when performing the version check
since the check is performed in order to determine the right way to
parse JSON output from a mon query.
Change-Id: I51cc6d1de0034affdc0cc616298c2d2cd3476dbb
This change allows mons to be restarted unconditionally by the
ceph-mon chart. This can be useful in upgrade scenarios where
ceph-mon pods need to be forcibly restarted for any reason.
Change-Id: I93a1426c2ca02b060f7a606495893feb2813c142
When attempting to use Calico v3.23, docs.projectcalico.org is
redirected to projectcalico.docs.tigera.io.
Calico v3.20 does not exist at the new URL, so following redirects
to handle both cases.
Change-Id: I251ced47224f2c1d369cb6acf68784cf3351ade0
This change updates the memcache chart to remove an override for
the gnocchi chart that has since been removed.
Change-Id: I73ce7859941fd87cbf0bc734195924e870aac81d
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
This patch adds database sys to the list of databases
to be ignored by backup/restore scripts in mariadb chart.
Change-Id: Ida7965bc583ada2c7ca4800c8ff5d6761fb3913a
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
This patchset is adding update priviledge to ingress cluster role in order to let it to update mariadb state configmap. The problem appeared after upgrading nginx controller up to v1.1.3 in https://review.opendev.org/c/openstack/openstack-helm-infra/+/840691
Change-Id: I962ac336bf6b3588db88b04e2259de1aa20b1221
Helm3 requires specifying a namespace to retrieve status and values for
a given release.
Before this role would not retrieve any values or statuses. Now values
and statuses are retrieved in saved in Zuul archive correctly.
Change-Id: If8cf28349b0c14ba6e1de74d49e46ab4a61b93c7
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
It is possible for misbehaving ceph-mon pods to cause the ceph-osd
liveness probe to fail for healthy ceph-osd pods, which can cause
healthy pods to get restarted unnecessarily. This change removes
the ceph-mon query from the ceph-osd liveness probe so the probe
is only dependent on ceph-osd state.
Change-Id: I9e1846cfdc5783dbb261583e04ea19df81d143f4
This change adds the clear-firewall role to the osh-infra-bandit
playbook to resolve an issue with coredns not coming up when
this job is ran on an ubuntu focal node.
Change-Id: I189ceff30271f3a478aff697b84709b19d0b09fc
As part of the discussions from the last several PTGs, the topic
of removing un-maintained charts was brought up as an action item.
Since gnocchi hasn't seen much maintenance outside of general
infrastructure maintenance and no one has stepped up with any
interest in maintaining it, this change removes the gnocchi
chart from openstack-helm-infra.
Change-Id: I9c68457df1243370ef606924b4f776870baedd07
Fixes minor issue with naming of variables which prevents the script to
be compliant the backup retention policy.
Change-Id: Ic241310a66af92ee423f5c762c413af7d6d53f0b
There are bugs with containerizing certain udev operations in some
udev versions. The osd-init container can hang in these
circumstances, so the osd-init scripts are modified not to use
these problematic operations.
Change-Id: I6b39321b849f5fbf1b6f2097c6c57ffaebe68121
This change updates the default image value where openstack is
used to Wallaby from newton in the fluentd chart.
Change-Id: I794062bee9e5d316e1c754544c0970da93e46dbf
This change updates the default image value in the prometheus
chart from newton to wallaby for the helm_test image.
Change-Id: I0f70734a8455661f7705baeed3cafbaf529c56a8
This change updates the default image values in the mariadb chart
up to using Wallaby for the ones that use openstack images.
Change-Id: Id28da22932362c0400766a564b382ddbcada8c61