om 适配支持大版本升级

This commit is contained in:
gyt0221
2020-12-29 15:09:02 +08:00
parent 0fbbc08162
commit 618596a7f2
12 changed files with 3061 additions and 228 deletions

View File

@ -32,6 +32,7 @@ from gspylib.common.ErrorCode import ErrorCode
from gspylib.os.gsfile import g_file
from gspylib.os.gsfile import g_Platform
from gspylib.common.VersionInfo import VersionInfo
import impl.upgrade.UpgradeConst as Const
sys.path.append(sys.path[0] + "/../../../lib/")
DefaultValue.doConfigForParamiko()
@ -414,6 +415,10 @@ class PostUninstallImpl:
g_file.removeDirectory(path)
path = "%s/sctp_patch" % (self.clusterToolPath)
g_file.removeDirectory(path)
path = "%s/%s" % (Const.UPGRADE_SQL_FILE, self.clusterToolPath)
g_file.removeFile(path)
path = "%s/%s" % (Const.UPGRADE_SQL_SHA, self.clusterToolPath)
g_file.removeFile(path)
self.logger.debug(
"Deleting environmental software of local nodes.")