ViPR Controller: Order to "Create File System and NFS Export" fails with "Only one secflavor is permitted"

           

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

 


Product:

 

ViPR Controller,ViPR Controller Controller 3.6 SP2

 

Issue:

 

 

The user is unable to successfully run catalog order "Create File System and NFS Export" and export to multiple hosts in the same order.   
   
    Order/GUI:   

      Order Number: ###       
        Catalog Service: Create File System and NFS Export       
        Export Hosts: ##.###.###.###,##.###.###.###,##.###.###.###,##.###.###.###       
        Security Type: Sys,Sys,Sys,Sys       
        Root User Mapping: nobody,nobody,nobody,nobody       
        Permission: Root,Root,Root,Root       
        [ERROR]               <date>  Error 1008: Duplicate security flavor : sys identified in MODIFY export rules. Only one secflavor is permitted.
   
   
     
      Portalsvc logs:   
   
      vipr1 vipr1 portalsvc <date,time> [play-thread-10]  INFO  LoggingFilter.java (line 125) 217583 < 200  took 44 ms       
        <?xml version="1.0" encoding="UTF-8" standalone="yes"?><order_logs><order_log><date><date,time></date><level>INFO</level><message>FileSystem ID: urn:storageos:FileShare:6a532cc6-1b8f-473d-ad1e-cf16bf2f554c:vdc1, Task ID: 337b9b07-60df-4eea-a366-15bebe54cfe5</message><phase>EXECUTE</phase></order_log><order_log><date><date,time></date><level>INFO</level><message>Export ID: urn:storageos:FileShare:6a532cc6-1b8f-473d-ad1e-cf16bf2f554c:vdc1, Task ID: 9d952779-569f-4081-960f-c3dbb1e009ca</message><phase>EXECUTE</phase></order_log><order_log><date><date,time></date><level>ERROR</level><message>Error 1008: Duplicate security flavor : sys identified in MODIFY export rules. Only one secflavor is permitted.</message><phase>EXECUTE</phase><stack_trace>com.emc.vipr.client.exceptions.ServiceErrorException: Error 1008: Duplicate security flavor : sys identified in MODIFY export rules. Only one secflavor is permitted.       
            at com.emc.vipr.client.impl.jersey.ExceptionOnErrorFilter.handle(ExceptionOnErrorFilter.java:41)       
            at com.emc.vipr.client.impl.jersey.ProxyTokenFilter.handle(ProxyTokenFilter.java:27)       
            at com.emc.vipr.client.impl.jersey.AuthTokenFilter.handle(AuthTokenFilter.java:34)
   
   
                                                            

 

 

Cause:

 

 

The user ran catalog order "Create File System and NFS Export." As part of the same order, the user attempted export to multiple hosts.  Engineering recommends only exporting to 1 host during the initial order.                                                            

 

 

Change:

 

 

No reported changes                                                           

 

 

Resolution:

 

 

   

      Workaround:     
      ViPR Controller Engineering recommends only exporting to 1 host during the initial order.  After the initial order completes successfully, additional hosts can be added by using Modify of the Export Rules.  Hosts of the same security type should be added on the  same Endpoints line separated by commas.     
     
      1.  Run order "Create File System and NFS Export" only exporting to a single host     
      2.  After the initial order runs successfully,  select the file system from Resources > File Systems     
      3.  Select Modify under Export Rules     
      4.  Add hosts on a single line separated by commas     
      5.  Save