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): """