om安装在部分环境下,找不到SSLv3_method

This commit is contained in:
zhang_xubo
2022-09-19 20:26:01 +08:00
parent ab8301adce
commit bb08891371
2 changed files with 13 additions and 18 deletions

View File

@ -806,8 +806,9 @@ Common options:
(status, output) = subprocess.getstatusoutput(cmd)
if status != 0:
raise Exception(ErrorCode.GAUSS_511["GAUSS_51103"] % cmd)
except Exception:
except Exception as e:
self.delTempFile(tempFile)
self.logger.debug("Changing user password failed. %s" % str(e))
self.logger.logExit(ErrorCode.GAUSS_503["GAUSS_50311"] % "user")
cmd = "echo '%s:%s' | chpasswd" % (self.user, password)