Active IQ Unified Manager Discussions

Error when adding a volume to a vfiler with WFA-Command/Powershell

kiessl
3,328 Views

Hi,

when I execute the powershell cmdlet "Set-NaVfilerStorage -Name $VFilerName -AddStorage $volname -ErrorAction Stop" in a WFA-command then the workflow exits with error message "Command failed for Workflow 'LUN - Create' with error : Null value provided when not setting the root option"

But the volume is added to the vFiler.

Has anyone seen this? Is this an error which matters or can  I safely ignore this?

Thanks for your help.

Walter

3 REPLIES 3

kiessl
3,328 Views

Hi,

further investigation has shown that the powershell cmdlet as well as the WFA command solely run without the error message. But if this command is integrated in a workflow this error occours. Furthermore the command successfully finishes all statements and then the error is raised.

Ignoring the error is not possible because WFA would not proceed with the workflow.

Any help would be appreciated.

BR

Walter

shailaja
3,328 Views

Can you share your custom workflow that used this certified command where you hit this error?

Thanks,

Shailaja

kiessl
3,328 Views

Hi Shailaja,

it is a custom workflow using a custom command.

Meanwhile I found the cause of the problem. Obviosly the try/catch statement is not executing the catch block when encountering an error. This error is raised at the end of the workflow after the very last statement in the command.

When knowing this it was not much work to find the erroneous code causing this problem ...

Thanks for your help!

Best Regards

Walter

Public