From 25a391537daf73a671e557a0e64c0c466d061b99 Mon Sep 17 00:00:00 2001 From: Qu Xuan Date: Mon, 11 Nov 2019 21:36:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B5=8B=E4=BA=88rds=E8=B4=A6=E5=8F=B7?= =?UTF-8?q?=E6=9D=83=E9=99=90=E5=A4=B1=E8=B4=A5=E5=90=8E=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E9=87=8D=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/multicloud/aliyun/aliyun.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkg/multicloud/aliyun/aliyun.go b/pkg/multicloud/aliyun/aliyun.go index f510240f27..380125aeb0 100644 --- a/pkg/multicloud/aliyun/aliyun.go +++ b/pkg/multicloud/aliyun/aliyun.go @@ -100,7 +100,13 @@ func jsonRequest(client *sdk.Client, domain, apiVersion, apiName string, params return nil, cloudprovider.ErrNotFound } } - for _, code := range []string{"SignatureNonceUsed", "InvalidInstance.NotSupported", "try later", "BackendServer.configuring"} { + for _, code := range []string{ + "SignatureNonceUsed", + "InvalidInstance.NotSupported", + "try later", + "BackendServer.configuring", + "Another operation is being performed", //Another operation is being performed on the DB instance or the DB instance is faulty(赋予RDS账号权限) + } { if strings.Contains(err.Error(), code) { retry = true break