2014-06-23 01:57 PM
When attempting to create a CIFS share immediately after creating a qtree in a workflow I receive the message:
The specified path "/groupdata01/NewQtree" does not exist in the namespace belonging to Vserver "n1cnastest"
If I put a powershell sleep command in between commands for 30 seconds or so, the cifs share creation will complete successfully.
Any ideas why this is occurring and how to get around it without pausing the workflow for 30 seconds or so?
WFA Version: 126.96.36.199.6
2014-06-24 04:22 AM
Is this a custom workflow or a workflow which is shipped with WFA?
If this a custom workflow, is it using certified commands or custom commands.
Also, if you can share the workflow with us, it might be easier to understand.
2014-06-25 02:15 PM
I attached the workflow. It is essentially the same as the template workflow provided. I event copied most of the parameters over. Even though they look identicial to me, at least half the time it fails with the above message.
2014-06-26 02:13 AM
This error message message The specified path "/groupdata01/NewQtree" does not exist in the namespace belonging to Vserver "n1cnastest" is thrown by ONTAP and not WFA. You get this when the qtree you are trying to create cifs share on doesn't exists.
I suspect that create Qtree api returns a success before the actual Qtree gets created completely and when the 2nd command to create cifs share on it executes, it fails at those times. Why this delay? I'm not certain about it.
Just try to manually create a Qtree and cifs share using the Cluster CLI a few times and see how that goes. U may see similar behaviour.