Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Active IQ Unified Manager Discussions

WFA 4.2 - not well-formed (invalid token) at line 1, column 685, byte 695 at /usr/lib64/perl5/ve

marcusgross

Hi,

 

I installed the WFA 4.2 on RHEL 7.4 (with some trouble).

The restore of a WFA 4.1 backup was successful.

I haven't tried all workflows, but they are failing on a certain point. One is the creation of a qtree in a volume.

 

The workflow dies with the message: 

 

not well-formed (invalid token) at line 1, column 685, byte 695 at /usr/lib64/perl5/vendor_perl/XML/Parser.pm line 187.
Location: Row '1' step 'Create qtree'.

The API seems to be ok if I invoke it on the command line. The qtree is created:

 

require 5.6.1;
use lib '/opt/wfa/wfa/perl/nmsdk';
use strict;
use warnings;
use NaServer;
use NaElement;


my $s = new NaServer('SVM-Name', 1 , 130);
$s->set_server_type('FILER');
$s->set_transport_type('HTTPS');
$s->set_port(443);
$s->set_style('LOGIN');
$s->set_admin_user('Username', 'Password');



my $api = new NaElement('qtree-create');
$api->child_add_string('export-policy','default');
#$api->child_add_string('mode','');
$api->child_add_string('oplocks','disabled');
$api->child_add_string('qtree','testQtree');
$api->child_add_string('security-style','unix');
$api->child_add_string('volume','Testvolume');

my $xo = $s->invoke_elem($api);
if ($xo->results_status() eq 'failed') {
    print 'Error:\n';
    print $xo->sprintf();
    exit 1;
}

print 'Received:\n';
print $xo->sprintf();

Does someone have an idea where to get more detailed information? Where can I seen the commands passed to the API?

 

Marcus

1 ACCEPTED SOLUTION

marcusgross

Problem solved.

 

The DB restore doesn't restore the passwords.

 

Works now.

View solution in original post

3 REPLIES 3

marcusgross

Problem solved.

 

The DB restore doesn't restore the passwords.

 

Works now.

View solution in original post

sinhaa

@marcusgross

 

The restoring a backup *will* restore the passwords too, if you take the FULL backup instead of the DB backup. How to take the FULL backup? There is no GUI button given for it, but API on method GET is given which does it.

 

So in your browser URL, provide : http://<WFA>/rest/backups?full=true

 

Provide the credentials of 'Admin' when asked.

 

you will get full backup, with passwords. 

 

sinhaa

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

marcusgross

Hi,

 

I used the DB backup function.

 

According to the documentation at page 41:

 

Backup and restoration of user credentials
The backup of the WFA database includes the WFA user credentials.

It should include the passwords. So the documentation is wrong?

 

Furthermore, I would like to have an useful error message for missing credentials.

 

Marcus

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