From d23835c0609c4960485e2ab80b6c0aa3c1f6b54b Mon Sep 17 00:00:00 2001 From: liuheng Date: Sat, 16 Mar 2024 11:29:35 +0800 Subject: [PATCH] =?UTF-8?q?grpc=E5=B7=B2=E5=BA=9F=E5=BC=83=EF=BC=8Cgs=5Fdr?= =?UTF-8?q?opnode=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/impl/dropnode/DropnodeImpl.py | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/script/impl/dropnode/DropnodeImpl.py b/script/impl/dropnode/DropnodeImpl.py index 5d40262..c8121cd 100644 --- a/script/impl/dropnode/DropnodeImpl.py +++ b/script/impl/dropnode/DropnodeImpl.py @@ -130,21 +130,9 @@ class DropnodeImpl(): self.userProfile, True) self.commonOper.stopInstance(hostNameLoop, sshtool_host, i, self.userProfile) - cmdDelCert = "ls %s/share/sslcert/grpc/* | " \ - "grep -v openssl.cnf | xargs rm -rf" % self.appPath - result, output = sshtool_host.getSshStatusOutput(cmdDelCert, - [hostNameLoop], self.userProfile) - if result[hostNameLoop] != 'Success': - self.logger.debug(output) - self.logger.log("[gs_dropnode]Failed to delete the GRPC " - "sslcert of %s." % hostNameLoop) - self.logger.log("[gs_dropnode]Please check and delete the " - "GRPC sslcert of %s manually." % hostNameLoop) self.cleanSshToolFile(sshtool_host) else: - self.logger.log("[gs_dropnode]Cannot connect %s. Please check " - "and delete the GRPC sslcert of %s manually." - % (hostNameLoop, hostNameLoop)) + self.logger.log("[gs_dropnode]Cannot connect %s." % (hostNameLoop)) def dropNodeOnAllHosts(self): """