Issue adding vCenter to LPAR2RRD

Hi,

 

I’m still trying to add our vCenter enviroment to lpar2rrd. Adding the vmware sdk and creating the login credentials were now problem. Also checking the connection manually was successfully.

Checking via browser was not successful because the call does not return.

##### manual check ##### 

$PERL /home/lpar2rrd/lpar2rrd/vmware-lib/apps/connect.pl --server 192.168.123.52 --credstore .vmware/credstore/vicredentials.xml

 

Connection Successful

Server Time : 2018-01-18T11:29:58.700575Z


##### vCenter Version ##### 

We are using vCenter with version 6.5.0.10000.


##### Here are a part of the load_vmware.log ##### 

LPAR2RRD free version 5.05

Vmware    start: vCenter|192.168.123.52|LPAR2RRD@vsphere.local Thu Jan 18 12:24:07 2018

RRDTool version: 1.4008

Perl version   : 5.008008

SDK            : vCenter, vSphere SDK for Perl version-a: 6.5.0

vmware timeout : expired after 3500 seconds : kill -ALRM 11010082

 

 

Have you got any hints to solve this issue?

Comments

  • Hi,

    send us logs, it should work as per your output

    Note a short problem description in the text field of the upload form.
    
    cd /home/lpar2rrd/lpar2rrd  # or where is your LPAR2RRD working dir
    ps -ef |egrep "2rrd" > tmp/ps_log.txt
    tar cvhf logs.tar logs etc tmp/*txt 
    gzip -9 logs.tar
    
    Send us logs.tar.gz via https://upload.lpar2rrd.com

  • How was this resolved? Or was it?  After updating from 5.01 to 5.07 I'm having the exact same issue.  VMWare connection worked fine before update.
    Thanks!


  • The proposed solution was:
    rpm -e openssl-1.0.2n-1.ppc --nodeps

    However, we did not implement this because it was not practicable in our environment. Since it was just a trial with the vCenter connection, we put this on hold.
  • Hi,

    when this appeared right after the upgrade then only what could be changed is PERL path, there was not any code change which could affect it.

    Assure that you have same PERL and PERL5LIB setup now like before

    grep PERL BACKUP-INSTALL/lpar2rrd-5.07/etc/lpar2rrd.cfg
    grep PERL etc/lpar2rrd.cfg





  • Checked the PERL and PERL5LIB settings.  Same as 5.01.  Testing VMware connection vi a command line works fine; however doing the same via web interface (VMWare - Configure - Test) just hangs.  Uploaded file created by "collect system logs"

    logs-20180625-103439.tar

  • Hi,

    file with logs was empty, pls collect logs manually:

    Note a short problem description in the text field of the upload form.
    
    cd /home/lpar2rrd/lpar2rrd  # or where is your LPAR2RRD working dir
    tar cvhf logs.tar logs etc tmp/*txt 
    gzip -9 logs.tar
    
    Send us logs.tar.gz via https://upload.lpar2rrd.com 

  • Hi

    go through this docu http://www.lpar2rrd.com/https.htm  to assure you have LWP version > 6.x

     

    When it does not help then removing of openssl package might resolve it (at least we have seen that once).

    You have installed opens as rrdtool dependency, remove it, it does not affect AIX system opensssl : lslpp -L | grep -i opens

     

    rpm -qa| grep openssl

    rpm -q <package>






  • Performed following:

    aixth70 $. /software/lpar2rrd/etc/lpar2rrd.cfg
    aixth70 $$PERL -MLWP -e 'print "LWP Version: $LWP::VERSION\n"'
    LWP Version: 6.06
    aixth70 $$PERL /software/lpar2rrd/bin/perl_modules_check.pl
    aixth70 $

    [root@aixth70:/root] #rpm -qa | grep open
    openssl-1.0.1g-1.ppc
    openldap-devel-2.4.40-1.ppc
    openldap-2.4.40-1.ppc

    [root@aixth70:/root] #rpm -e openssl-1.0.1g-1.ppc --nodeps

    [root@aixth70:/root] #rpm -qa | grep open
    openldap-devel-2.4.40-1.ppc
    openldap-2.4.40-1.ppc

    Same results:

    vmware timeout : timeout has been set to 3500
    Waiting for VMware: 11337996
    LPAR2RRD free version 5.07
    Vmware    start: HQ_vCenter|inhqvmmhqpcf001.cinfin.com|cinfin\lpar2rrd Fri Jun 29 12:00:04 2018
    RRDp    version: 1.4008
    RRDtool version: 1.4.8
    Perl version   : 5.008008
    SDK            : HQ_vCenter, vSphere SDK for Perl version-a: 6.5.0
    vmware timeout : expired after 3500 seconds : kill -ALRM 11337996
    reducing       : vm names : start 1530288285
    reducing       : vm names : stop 1530288285 lines read:1928, lines written:1928
    installing WWW : install-html.sh vmware
    Host identif   : AIX aixth70 2 7 00CB3F174C00 0210B3F17
    timestamp      : Fri Jun 29 12:04:45 EDT 2018
    AS400 cleaning :
    clean all /JOB :
    Apparently nothing new, install_html.sh exiting
    heatmap        : start Fri Jun 29 12:04:55 2018
    heatmap        : (VMware) set cpu utilization for 1528 vm
    heatmap        : (VMware) set memory utilization for 1528 vm
    heatmap        : (VMware) set cpu utilization for 54 pools
    heatmap        : (VMware) set memory utilization for 54 pools
    heatmap        : end Fri Jun 29 12:05:02 2018
    CPU cfg VM advs: not this time 29 == 29

    I having a devil of a time getting the requested file uploaded.  Will attempt to send an updated file created after the changes above. 

  • File uploaded as gforney.logs.tar.gz.  Upload seemed to complete but never got confirmation email.
  • we got the uploaded file, we will let you know (today/tomorrow)
  • Hi,

    sorry for delay.

    what is you version of libwww-perl and Net-HTTP?

    Similar problem has been resolved by dowgrade of them to below version:




  • Based on the info you provided and this website I started poking around and found multiple versions installed at various locations.  I move the lpar2rrd/vmware-lib to the front of the list on PERL5LIB in lpar2rrd.cfg and the problem vanished.  Thanks so much for the help.  
  • yep, lpar2rrd/vmware-lib should be at start of PERL5LIB
Sign In or Register to comment.