6.20 - API authorization to XXX has failed (but data are collecting)

Greetings,

I deployed LPAR2RRD v6.20 to freshly installed OracleLinux 7.8. Followed installation steps kind of carefully (you know, the bigger font the more invisible for people). And ends up with error below.
However data are collected, graphs are graphing (?!), so it is "nice to have" priority.




I followed troubleshooting section at lpar2rrd installation page, here are some outputs:

PROD [lpar2rrd@nyx-cbt lpar2rrd]# rpm -qa | egrep "perl-LWP-Protocol-https|perl-Mozilla-CA|perl-Crypt-SSLeay"
perl-Crypt-SSLeay-0.64-5.el7.x86_64
perl-Mozilla-CA-20130114-5.el7.noarch
perl-LWP-Protocol-https-6.04-4.el7.noarch


PROD [lpar2rrd@nyx-cbt lpar2rrd]# $PERL -MLWP -e 'use LWP::Protocol::https; print "LWP Version: $LWP::VERSION\n"'
LWP Version: 6.05


PROD [lpar2rrd@nyx-cbt lpar2rrd]# $PERL vmware-lib/apps/connect.pl --version
vSphere SDK for Perl version: 6.7.0
Script 'connect.pl' version: 1.0


PROD [lpar2rrd@nyx-cbt lpar2rrd]# cd /home/lpar2rrd/lpar2rrd
PROD [lpar2rrd@nyx-cbt lpar2rrd]# . etc/lpar2rrd.cfg
PROD [lpar2rrd@nyx-cbt lpar2rrd]# $PERL bin/perl_modules_check.pl
PROD [lpar2rrd@nyx-cbt lpar2rrd]#


PROD [lpar2rrd@nyx-cbt lpar2rrd]# $PERL vmware-lib/apps/connect.pl --server <secret IP> --username "lpar2rrd@vsphere.local" --password "super-secret"

Connection Successful
Server Time : 2020-08-04T13:54:18.926855Z

Comments

  • Hi,

    ls -la /home/lpar2rrd/lpar2rrd/vmware-lib/apps
  • Hello,

    PROD [root@nyx-cbt ~]# ls -la /home/lpar2rrd/lpar2rrd/vmware-lib/apps
    total 66
    drwxr-xr-x 2 lpar2rrd lpar2rrd  1024 Aug  4 19:36 .
    drwxr-xr-x 4 lpar2rrd lpar2rrd  1024 Aug  4 19:36 ..
    -rwxr-xr-x 1 lpar2rrd lpar2rrd  1228 Aug  4 19:36 connect.pl
    -rwxr-xr-x 1 lpar2rrd lpar2rrd 12792 Aug  4 19:36 credstore_admin.pl
    -rwxr-xr-x 1 lpar2rrd lpar2rrd  6071 Aug  4 19:36 extractlog.pl
    -rwxr-xr-x 1 lpar2rrd lpar2rrd 21667 Aug  4 19:36 fileaccess.pl
    -rwxr-xr-x 1 lpar2rrd lpar2rrd 12784 Aug  4 19:36 vidiscovery.pl
    -rwxr-xr-x 1 lpar2rrd lpar2rrd  8065 Aug  4 19:36 viversion.pl

    Thank you :)
  • ls -ld /home
    ls -ld /home/lpar2rrd
    ls -ld /home/lpar2rrd/lpar2rrd
  • ignore previous post
  • ls -la /home/lpar2rrd/lpar2rrd/vmware-lib/VMware

  • Ignored :)

    PROD [root@nyx-cbt ~]# ls -la /home/lpar2rrd/lpar2rrd/vmware-lib/VMware
    total 3704
    drwxr-xr-x 2 lpar2rrd lpar2rrd    1024 Aug  4 19:36 .
    drwxr-xr-x 4 lpar2rrd lpar2rrd    1024 Aug  4 19:36 ..
    -rw-r--r-- 1 lpar2rrd lpar2rrd   15116 Aug  4 19:36 LookupService.pm
    -rw-r--r-- 1 lpar2rrd lpar2rrd   11478 Aug  4 19:36 SSOConnection.pm
    -rw------- 1 lpar2rrd lpar2rrd   90406 Aug  4 19:36 VICommon.pm
    -rw-r--r-- 1 lpar2rrd lpar2rrd   41509 Aug  4 19:36 VICredStore.pm
    -rw-r--r-- 1 lpar2rrd lpar2rrd   27760 Aug  4 19:36 VIExt.pm
    -rw-r--r-- 1 lpar2rrd lpar2rrd   23885 Aug  4 19:36 VILib.pm
    -rw-r--r-- 1 lpar2rrd lpar2rrd  277883 Aug  4 19:36 VIM25Runtime.pm
    -rw-r--r-- 1 lpar2rrd lpar2rrd 2463318 Aug  4 19:36 VIM25Stub.pm
    -rw-r--r-- 1 lpar2rrd lpar2rrd   87988 Aug  4 19:36 VIM2Runtime.pm
    -rw-r--r-- 1 lpar2rrd lpar2rrd  741859 Aug  4 19:36 VIM2Stub.pm
    -rw-r--r-- 1 lpar2rrd lpar2rrd    2150 Aug  4 19:36 VIMRuntime.pm
    -rw-r--r-- 1 lpar2rrd lpar2rrd     505 Aug  4 19:36 VIRuntime.pm

  • chmod 644 /home/lpar2rrd/lpar2rrd/vmware-lib/VMware/VICommon.pm
    Then test from the UI will work

  • like a charm! \o/
    Thank you very very much :)
Sign In or Register to comment.