sfinstall command failed with AttributeError
Applies to
- NetApp Element software
- NetApp SolidFire
Issue
The following error occurs while running the sfinstall
upgrade command:
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