2017-03-10 02:01 PM
I have a workflow that stopped working after upgrading to WFA 4.1RC1. The built-in "Clone volume" command is aborted with error message "Extra input: junction-path". To get the other parts of the workflow out of the equation, I wrapped this command in a minimal workflow with static selection of all user inputs. The error message was still there. Are there any known issues in this version?
14:43:28.692 ERROR [Clone volume] Extra input: junction-path
14:43:28.785 ERROR [Clone volume] Command failed for Workflow 'Clone LAB Volume' with error : Extra input: junction-path
Preview works fine - the error is only encountered during execution.
ONTAP 9.1 is used with OCUM 7.1 as data source.
Solved! SEE THE SOLUTION
2017-03-13 01:20 AM
Good to hear that it is a known issue. Is there a fix in a near future? It would be good if a fix would be bundled with WFA 4.1GA to avoid production environment impact.
I already made a copy of the Clone Volume command with Mount-NcVol as a separate step after cloning the volume. Works fine.
2017-03-13 04:29 AM
Issue is observed in cdot 1.0.0 & 1.2.2 as well.
This is a issue with tool kits. we have already raised the burts (BURT ID's: 1070446 , 1071322)
Once, we get the update from tool kit team, we will fix these issues .
2017-03-13 05:32 AM
making a copy and replacing it in your workflow is NOT required. There is a command "Mount Volume' already available which can work for you and.
And this should continue to work seamlessly even when the fix is available.
So in your workflow, add this command next to the 'Clone volume' command.
In 'Parameters for Mount Volume' Select doopdown 'Using a previously defined volume'.
Now select the volume defined as 'Clone' in 'Clone Volume' command.
In tab 'Other Parameters' parameter Juntion_path is available for you.
That's all done.
See the image below to help you.
2017-03-13 09:44 PM
Chaging Error action to Continue or SilentlyContinue is not going to change anything. The cmdlet is executed using Invoke-Expression and won't matter here.
I suggest use the method I told you. Add a new command 'Mount Volume' remove the junctionpath parameter to this command. Thats all.
2017-03-14 02:37 AM
Ok, I realize I didn't read all details. Leaving the Junction field empty bypasses the bad code line - that makes sense. I do not have time to verify it right now but I do not see any reason why it should not.
Thank you for your assistance!