Update db backup/restore retry for sending to remote
There is an additional error status 'Service Unavailable' which can indicate the service is temporary unavailable. Adding that error status to the retry list in case the issue is resolved during the backup timeframe. Change-Id: I9e2fc1a9b33dea3858de06b10d512da98a635015
This commit is contained in:
parent
2c1a7b772b
commit
6169504761
@ -15,7 +15,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Helm-Toolkit
|
||||
name: helm-toolkit
|
||||
version: 0.2.16
|
||||
version: 0.2.17
|
||||
home: https://docs.openstack.org/openstack-helm
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/OpenStack-Helm/OpenStack_Project_OpenStackHelm_vertical.png
|
||||
sources:
|
||||
|
@ -165,7 +165,7 @@ send_to_remote_server() {
|
||||
log ERROR "${DB_NAME}_backup" "Access denied by keystone: ${RESULT}"
|
||||
return 1
|
||||
else
|
||||
echo $RESULT | grep -E "ConnectionError|Failed to discover available identity versions"
|
||||
echo $RESULT | grep -E "ConnectionError|Failed to discover available identity versions|Service Unavailable"
|
||||
if [[ $? -eq 0 ]]; then
|
||||
log ERROR "${DB_NAME}_backup" "Could not reach the RGW: ${RESULT}"
|
||||
# In this case, keystone or the site/node may be temporarily down.
|
||||
|
@ -23,4 +23,5 @@ helm-toolkit:
|
||||
- 0.2.14 Remove TLS_OPTION argument from s3 bucket creation job
|
||||
- 0.2.15 Adding TLS rabbitmq logic
|
||||
- 0.2.16 Add manual mode to the created backup file name
|
||||
- 0.2.17 Update db backup/restore retry for sending to remote
|
||||
...
|
||||
|
Loading…
x
Reference in New Issue
Block a user