sfinstall 命令失败,并显示 AttributeError
适用场景
- NetApp Element 软件
- NetApp SolidFire
问题描述
运行 upgrade 命令时出现以下错误: sfinstall
Do you want to continue?
Prompt: response=[Yes]
General Error AttributeError: 'NoneType' object has no attribute 'group'
["AttributeError: 'NoneType' object has no attribute 'group'", "/sf/bin/sfinstall/sf_install/util.py, line 865, in GetMNodeVersion: versionStr = re.search(' Version=([0-9.]+)', outputStr.decode()).group(1)", "/sf/bin/sfinstall/sf_install/upgrade.py, line 236, in ValidateLegalUpgradeTarget: currentManagementVersion = SoftwareVersion(GetMNodeVersion())", "/sf/bin/sfinstall/sf_install/upgrade.py, line 305, in StartUpgrade: ValidateLegalUpgradeTarget(sfapi, args)", "/sf/bin/sfinstall/__main__.py, line 1176, in main: retcode = cmd(sfapi, args)"]
Setting state=[FinishFailure] percent=[None] message=[General Error AttributeError: 'NoneType' object has no attribute 'group'] details=None