ViPR Controller :Ingestion of an Exported volume fails with "None of the export masks of the unmanaged volume [vol_name] have been ingested so the volume cannot be ingested"

           

   Article Number:     530746                                   Article Version: 2     Article Type:    Break Fix 
   

 


Product:

 

ViPR Controller,ViPR Controller Controller 3.6 SP2

 

Issue:

 

 

The user is unable to ingest an Exported Unmanaged volume.   
   
    ViPR Controller UI Errors   
   
    Error 64000: None of the export masks of the unmanaged volume [vol_name] have been ingested, so the volume     
      cannot be ingested. 
   
     
                                                           

 

 

Cause:

 

 

ViPR-C detects the zones used in the Host export (Zone name length < 64 characters)   
   
    vipr1 vipr1 apisvc 2019-02-18 10:52:49,964 [AsyncTaskExecutorService_900]  INFO  ExportMaskUtils.java (line 900) zone SERVER-NAME_vHBA1_XIO-SC1-FC2 existingVolumes true lsanZone false smartZone false   
   
    It then converts that zone name by using the custom SanZoneName defined in the VIPR Controller UI.   
   
    If the custom SanZoneName specifies a string that is more than 64 characters in length then the ingest will fail because zone names cannot be more than 64 characters in length.   
   
    vipr1 vipr1 apisvc 2019-02-18 10:52:50,005 [AsyncTaskExecutorService_900] ERROR  BlockIngestExportOrchestrator.java (line 446) Export Mask Ingestion failed for UnManaged block object : XTREMIO+CKM00000000001+UNMANAGEDVOLUME+9ea6c0e7a6324afe9ee0d6826adccb00     
      com.emc.storageos.networkcontroller.exceptions.NetworkDeviceControllerException: Zone name server-name-domain-namexxxxxx_HBAPORTNAME-XXXXXXXXX_xtremio_X1-SC2-fc2 is longer than allowed 64-character limit.     
             at com.emc.storageos.networkcontroller.impl.NetworkScheduler.validateZoneNameLength(NetworkScheduler.java:214)https://github.com/CoprHD/coprhd-controller/search?q=BlockIngestExportOrchestrator.java&unscoped_q=BlockIngestExportOrchestrator.java     
             at com.emc.storageos.networkcontroller.impl.NetworkScheduler.nameZone(NetworkScheduler.java:194)
   
     
                                                           

 

 

Change:

 

 

   

      The custom SanZoneName variable was recently modified to specify a zone name string that was more than 64 characters long.     
      e.g.     
     
      value = SDS_{host_name.FIRST(32)}_{hba_port_wwn.REPLACE(":", "").LAST(20)}_{array_serial_number.LAST(4)}_{array_port_name.REPLACE("_|-", "").LAST(16)}   

                                                             

 

 

Resolution:

 

 

   

      Workaround:     
     
      The custom SanZoneName variable in the ViPR Controller UI needs to be configured to a value that produces a string value of 64 characters or less.     
     
     
      Resolution:     
     
      ViPR Engineering is currently addressing this problem, but has not provided a fix in a released patch. This solution will be updated with the patch when it has been released.     
          

                                                             

 

 

Notes:

 

 

   

      ViPR Controllersvc log   

   

      vipr1 vipr1 apisvc 2019-02-18 10:52:49,964 [AsyncTaskExecutorService_900]  INFO  ExportMaskUtils.java (line 900) zone SERVER-NAME_vHBA1_XIO-SC1-FC2 existingVolumes true lsanZone false smartZone false       
        vipr1 vipr1 apisvc 2019-02-18 10:52:49,979 [AsyncTaskExecutorService_900]  INFO  NetworkUtil.java (line 486) Looking for initiator 20:00:00:00:00:00:00:00 in database       
        vipr1 vipr1 apisvc 2019-02-18 10:52:49,981 [AsyncTaskExecutorService_900]  INFO  NetworkUtil.java (line 492) Found initiator 20:00:00:00:00:00:00:00       
        vipr1 vipr1 apisvc 2019-02-18 10:52:50,004 [AsyncTaskExecutorService_900]  INFO  CustomConfigHandler.java (line 146) Found the custom config SanZoneName for systemType:mds       
        vipr1 vipr1 apisvc 2019-02-18 10:52:50,005 [qtp2004687135-3327]  INFO  RequestAuditFilter.java (line 64) Request: GET - https://XXX.XXX.XXX.XXX:4443/vdc/tasks/search - tag=vipr:orderId%3Durn:storageos:Order:0b1af791-9231-4fe4-90d7-6d17cb8bb603:vdc1 from XXX.XXX.XXX.XXX       
        vipr1 vipr1 apisvc 2019-02-18 10:52:50,005 [AsyncTaskExecutorService_900] ERROR  BlockIngestExportOrchestrator.java (line 446) Export Mask Ingestion failed for UnManaged block object : XTREMIO+CKM00000000001+UNMANAGEDVOLUME+9ea6c0e7a6324afe9ee0d6826adccb00       
        com.emc.storageos.networkcontroller.exceptions.NetworkDeviceControllerException: Zone name server-name-domain-namexxxxxx_HBAPORTNAME-XXXXXXXXX_xtremio_X1-SC2-fc2 is longer than allowed 64-character limit.       
               at com.emc.storageos.networkcontroller.impl.NetworkScheduler.validateZoneNameLength(NetworkScheduler.java:214)https://github.com/CoprHD/coprhd-controller/search?q=BlockIngestExportOrchestrator.java&unscoped_q=BlockIngestExportOrchestrator.java       
               at com.emc.storageos.networkcontroller.impl.NetworkScheduler.nameZone(NetworkScheduler.java:194)