Customer receives the following error message when running nwUpdateDiskFw.py:
[root@nwappliance NwDiskFw]# ./
nwUpdateDiskFw.py Traceback (most recent call last):
File "./
nwUpdateDiskFw.py", line 46, in <module>
if NwClasses.percCli and NwClasses.perc_data().adpcnt > 0:
File "/opt/rsa/saTools/
NwClasses.py", line 780, in __init__
self.adpdat[adp] = perc_adp(adp)
File "/opt/rsa/saTools/
NwClasses.py", line 790, in __init__
self.encls[enc] = perc_enc(adp, enc, CntrlData)
File "/opt/rsa/saTools/
NwClasses.py", line 798, in __init__
self.disks[disknum] = perc_disk(adp, enc, slt, did, state, dg, szval, sznom, intf, med, sed, pi, sec)
File "/opt/rsa/saTools/
NwClasses.py", line 805, in __init__
self.inqdata = search('<eor>Inquiry Data =([^<]+)<eor>', DiskData.replace('\n','')).group(1).split()
AttributeError: 'NoneType' object has no attribute 'group'
The cause of this issue so far has been found to be related to a bad drive within an attached DAC.
To resolve this issue it is important to determine where the bad drive is and to get it replaced before continuing.
- Run nwraidutil.pl on the appliance where the error was received.
- Determine which drives show as a (B), (!), (X) or are completely missing from the list.
- Try re-seating the drive(s) in question to see if they will come back online (O) or (OS).
- If the drives do not come back online contact Netwitness Support to RMA the drives in question.
If an RMA is required, make sure to gather the following information before submitting a case for the RMA:
- DAC serial number
- Hard Drive size
- Shipping address
- Contact Name and Phone number for who will be receiving the RMA drive.
If there are any questions as to the steps provided here or with the errors being received from the firmware upgrade script, contact NetWitness Support via email or phone.