ScaleIO: While applying license getting Error: MDM failed command. Status: The current system configuration exceeds the license entitlements.

           

   Article Number:     515369                                   Article Version: 4     Article Type:    Break Fix 
   

 


Product:

 

ScaleIO Product Family,ScaleIO Software

 

Issue:

 

 

scli --set_license --license_file /tmp/12c129xxxxx_235243_<date>.lic   
    Error: MDM failed command. Status: The current system configuration exceeds the license entitlements.
                                                           

 

 

Cause:

 

 

   
    Check the MDM trace logs when the license was applied. You would be able to get the extra capacity which needs to be included in licensing.   
        

      cat /opt/emc/scaleio/mdm/logs/trc.* | grep "license"   
   

      07/12 00:28:42.977087 0x7f974cbedeb0:mosEventLog_PostInternal:00590: New event added. Message: "Command set_license received, User: 'admin'. [1916995]". Additional info: "" Severity: Info     
      07/12 00:28:43.003511 0x7f974cbedeb0:tgtMgr_ValidateLicenseCapacity:10156: Capacity license exceeded. Allowed: 2355200GB Used: 2445380     
      07/12 00:28:43.003514 0x7f974cbedeb0:mdmObj_SetLicense:01637: Used capacity exceeds new license by 90180   

                                                             

 

 

Resolution:

 

 

To find the license capacity to be applied, refer to size in the brackets as highlighted below. You may also refer to the MDM trace logs as suggested above   
    You may also need to add the capacity seen against 'decreased capacity', which is seen when customer uses the GUI and  "Set Device Capacity Limit" for SDS devices​   
    So here the total capacity required would be 2388 + 0 TB   
   
    scli --query_all   
    SDS Summary:   
    ...   
            2.3 PB (2388 TB) total capacity   
            0 Bytes decreased capacity
                                                           

 

 

Notes:

 

 

ScaleIO GUI would show the total size here as 2.3 TB. After looking at it, the user would request for 2.3 TB license. But the GUI & CLI takes only upto 1 decimal place.   
   
    GUI_total_Size