openstack-helm-infra/helm-toolkit/templates
Cliff Parsons 1508324ce7 Fix return code when backup to remote rgw fails
In the database backup framework (_backup_main.sh.tpl), the
backup_databases function exits with code 1 if the store_backup_remotely
function fails to send the backup to the remote RGW. This causes the pod
to fail and be restarted by the cronjob, over and over until the backoff
retries limit (6 by default) is reached, so it creates many copies of
the same backup on the file system, and the default k8s behavior is to
delete the job/pods once the backoff limit has been exceeded, so it then
becomes more difficult to troubleshoot (although we may have logs in
elasticsearch). This patch changes the return code to 0 so that the pod
will not fail in that scenario. The error logs generated should be
enough to flag the failure (via Nagios or whatever alerting system is
being used).

Change-Id: Ie1c3a7aef290bf6de4752798821d96451c1f2fa5
2020-06-30 16:29:38 +00:00
..
endpoints Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
manifests feat(tls): add tls support to helm-toolkit 2020-06-26 00:32:57 +00:00
scripts Fix return code when backup to remote rgw fails 2020-06-30 16:29:38 +00:00
snippets feat(tls): add tls support to helm-toolkit 2020-06-26 00:32:57 +00:00
tls Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
utils Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00