Raid Rebuild fails with Traceback error when"hwraid disk add" command is run on SteelStore
Applies to
SteelStore:
- SS2030
- SS3010
- SS3030
Issue
- A failed drive is replaced
- The
hwraid disk-add serial XBFKT000C9990 slot 5
command is run to start RAID Rebuild - The command fails with the below error, and rebuild does not start:
SteelStore001 # hwraid disk-add serial XBFKT000C9990 slot 5
Traceback (most recent call last): File"/opt/hal/bin/disktool.py", line 458, in main() File "/opt/hal/bin/disktool.py", line 455, in mainsetup_parser() File "/opt/hal/bin/disktool.py", line 448, in setup_parser cmd_handlers[cmd](options,options.adapter, options.enclosure, options.slot) File "/opt/hal/bin/disktool.py", line 155, incmd_add_disk if DiskGroupNo == None: UnboundLocalError: local variable 'DiskGroupNo' referencedbefore assignment disk-add failed for slot 5 on array with serial XBFKT000C999