Active IQ Unified Manager Discussions

WFA cannot connect to array on perl command

THORSTEN_KRAUSE

Hello,

 

got a problem in a WFA-Workflow.

I'm using several WFA commands in a workflow to work on a single cDot-cluster.

I use a couple of Powershell-commands that work flawless (connect & execute)

and one perl-command (from Netapp - "SnapMirror initialize or update set")

which fails on connecting to the array.

I did not change anything on the Perl-configuration that comes with WFA.

WFA is latest version 3.1.0.0.1P1 Build 3511759

Server is Win2012 R2 freshly installed.

 

Hope somebody can help me here?

 

Regards,

Thorsten

1 ACCEPTED SOLUTION

THORSTEN_KRAUSE

Hey,

 

sinhaa found the error:

in my case, it was a misinterpretation in wfautil.pm

Problem was that if you got a password that contains quotes or ampersands,

wfautil.pm will wrongly interpret it.

 

sinhaa filed a bug for that, hopefully it'll be fixed in WFA 4.0 GA

 

Regards and thanks for the help

View solution in original post

25 REPLIES 25

sinhaa

@THORSTEN_KRAUSE

 

You can raise a case with NetApp. A NetApp TSE can look at this now. We can look at the cause and its correction.

 

sinhaa

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

THORSTEN_KRAUSE

Alright,

did that, thanks for your help.

Will post the results here once analyzed

THORSTEN_KRAUSE

Hey,

 

sry, I thought I answered this last week, seems the comment got lost.

 

Whatever, that seems to work:

 

C:\Program Files\NetApp\WFA\Perl64\bin>perl D:\myfile.pl
Connected successfully
C:\Program Files\NetApp\WFA\Perl64\bin>

 

--> so basically the perl-connection seems to be working fine

--> where to look next?

 

 

Thanks very much for your help

THORSTEN_KRAUSE

Hello, 

 

that seems to be working:

 

C:\Program Files\NetApp\WFA\Perl64\bin>perl D:\myfile.pl
Connected successfully
C:\Program Files\NetApp\WFA\Perl64\bin>

 

But why not from WFA? Some missing environment?

 

Thanks very much for your help!

THORSTEN_KRAUSE

Sure, that's the command log output:

 

16:26:38.985 INFO  [SnapMirror initialize or update set] ### Command 'SnapMirror initialize or update set' in 'PERL' ###
16:26:44.564 INFO  [SnapMirror initialize or update set] Connecting to cluster: netapp1
16:26:44.595 INFO  [SnapMirror initialize or update set] Credentials successfully provided for 'netapp1'
16:26:45.798 INFO  [SnapMirror initialize or update set] Trying to connect to netapp1 using HTTPS
16:26:49.658 INFO  [SnapMirror initialize or update set] Trying to connect to netapp1 using HTTP
16:26:53.611 ERROR  [SnapMirror initialize or update set] Command failed for Workflow '_Create and configure SVM' with error :
Unable to connect to array
16:26:53.611 INFO  [SnapMirror initialize or update set] ***** Workflow Execution Failed *****

 

Can I provide any more logs that trigger down the cause besides that?

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public