ViPR Controller: Volume export fails with WBEMClient is closed.

           

   Article Number:     538749                                   Article Version: 3     Article Type:    Break Fix 
   

 


Product:

 

ViPR Controller,ViPR Controller Controller 3.6,ViPR Controller Controller 3.6 SP1,ViPR Controller Controller 3.6 SP2

 

Issue:

 

 

   

      The user submits an order to create/export a volume which fails when ViPR Controller attempts to validate the existing masking on the array.     
          

ViPR Controller UI displays the error:   
      Message: Add initiators to export step encountered an internal error: Encountered an SMIS error when attempting to query existing exports: Error when attempting to query LUN masking information. WBEMClient is closed   
   
            
        controllersvc logs :     
     
        vipr3 controllersvc 2019-11-07 12:15:13,065 [CimConnectionReaper 69] INFO ConnectionManager.java (line 604) Closing connection to the CIM provider on host/port SMI_SERVER:5989         
          vipr3 controllersvc 2019-11-07 12:15:13,065 [CimConnectionReaper 69] INFO CimListener.java (line 353) Resuming Listener.         
          vipr3 controllersvc 2019-11-07 12:15:22,581 [12818|exportAddInitiators|5cc1fee3-51ba-4809-86d1-3cda3a7c5e91837147c6-b1ee-428f-a3f8-6b02cd37c0d5] ERROR VnxExportOperations.java (line 730) Encountered an SMIS error when attempting to query existing exports: Error when attempting to query LUN masking information: WBEMClient is closed. java.lang.IllegalStateException: WBEMClient is closed.
     
   
                                                             

 

 

Cause:

 

 

SMI-S provider query response times were long enough to exceed the CIM/WBEM connection reaper time defined in ViPR Controller.                                                           

 

 

Resolution:

 

 

The default CIM/WBEM configured in ViPR Controller is 480, 8 minutes.   
   
    To increase this value the below steps can be followed.   

         
  •         Authenticate into viprcli                
               
    •             /opt/storageos/cli/bin/viprcli authenticate -u root -d /tmp         
    •        
                  
  •      
  •         Confirm the current value of the parameter                
               
    •             /opt/storageos/cli/bin/viprcli system get-properties | grep "cim"         
    •        
                  
  •      
  •         Create a new parameter file                
               
    •             vi props.cfg         
    •        
                  
  •      
  •         Add the following parameter and value                
               
    •             cim_connection_max_inactive_time=1800         
    •        
                  
  •      
  •         Apply the new parameter value                
               
    •             /opt/storageos/cli/bin/viprcli system set-properties -pf props.cfg         
    •        
                  
  •      
  •         Confirm the value of the parameter has been increased                
               
    •             /opt/storageos/cli/bin/viprcli system get-properties | grep "cim"         
    •        
                  
  •