Hi,
has anyone had issues with the Perl Modules post upgrade to 23.4 on RHEL? Previously we could run scripts that made API calls with no issue (such as list device group) etc. Since the upgrade Im seeing this error:
1 use Opsware::NAS::Client;
2
3 my($host, $user, $pass) =
4 ('NAHOST','Userxxx','Passxxx');
5 my $nas = Opsware::NAS::Client->new();
6 my $res = $nas->login(-username => $user, -password => $pass, -host => $host );
7 if($res->ok()) {
8 print "Login success!\n\n";
9 my $groups = $res->list_device_group();
10 print $groups;
11 }else{
12 print "Login failed!!!\n";
13 }
Since the upgrade users are complaining that the scripts no longer work. An example of the output is shown below:
perl test3.pl
Login success!
Can't locate object method "list_device_group" via package "Opsware::NAS::Client::Result" at test3.pl line 9.
I have run the script to install the Perl modules in case
$ perl client/perl_api/har/install.pl
but still the error persist. Any help would be much appreciated!
Thanks