000030498 - Failed to reclaim license error on Security Analytics 10.4.0.1

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000030498
Applies ToRSA Product Set: Security Analytics
RSA Product/Service Type: Security Analytics Server, Security Analytics UI
RSA Version/Condition: 10.4.0.1
Platform: CentOS 6
O/S Version: EL6
IssueWhen reviewing the licensing status of appliances in the Security Analytics UI, some appliances are listed as unlicensed.  Upon attempting to entitle the service, the UI returns a notice that the appliance is already licensed.  When attempting to reclaim the license, the error "failed to reclaim license" is thrown. 
 
CauseThis error can occur when the filesystem is full.  In this specific instance, the nwraidutil.py script was not correctly pruning the log file /var/lib/MegaSAS.log properly, which is a known issue in 10.4.0.1.  To that note, there are can be many other causes for file system full.
ResolutionWhile the specific issue for MegaSAS.log is fixed in 10.4.0.2, the root cause for the file system full can differ from use case to use case.  In order for licensing to function properly, the file system must not be full.  
WorkaroundFor the use case of MegaSaS.log, when unable to upgrade, the following workaround may be used:
Edit /usr/lib/collectd/python/nwraidutil.py in lines 67, 68 69 and 70 to add "-nolog" to the command line.
The original lines are:
67 pdlistOut = nwutils.runCmd(self.raidUtil,"-pdlist -aall")
68 ldlistOut = nwutils.runCmd(self.raidUtil,"-LDInfo -Lall -aall")
69 ldpdinfoOut = nwutils.runCmd(self.raidUtil,"-ldpdinfo -aall")
70 adapinfoOut = nwutils.runCmd(self.raidUtil,"-adpallinfo -aall")
The modified lines are:
67 pdlistOut = nwutils.runCmd(self.raidUtil,"-pdlist -aall -nolog")
68 ldlistOut = nwutils.runCmd(self.raidUtil,"-LDInfo -Lall -aall -nolog")
69 ldpdinfoOut = nwutils.runCmd(self.raidUtil,"-ldpdinfo -aall -nolog")
70 adapinfoOut = nwutils.runCmd(self.raidUtil,"-adpallinfo -aall -nolog")
Save the file, remove the large log file (cp /dev/null  /var/lib/MegaSAS.log ) and restart the collectd service with: service collectd restart
This will manage the MegaSAS.log file properly.

Attachments

    Outcomes