Problem with retrieving data from vCenter: SOAP request error
Hi,
I just started my journey with lpar2rrd and after successful plug of power environment I would like to plug VMware part. End then problems began.
From the prerequisites I hope I made all needed things. I tried with several Perl-SDK starting with 6.0, then 6.5 and 6.7. Each time, during load.sh script execution I'm getting such error:
perl -MLWP -e 'print "$LWP::VERSION\n"';
I just started my journey with lpar2rrd and after successful plug of power environment I would like to plug VMware part. End then problems began.
From the prerequisites I hope I made all needed things. I tried with several Perl-SDK starting with 6.0, then 6.5 and 6.7. Each time, during load.sh script execution I'm getting such error:
SOAP request error - possibly a protocol issue: <?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="ServiceInstance">ServiceInstance</obj><propSet><name>capability</name><val xsi:type="Capability"><provisioningSupported>true</provisioningSupported><multiHostSupported>true</multiHostSupported><userShellAccessSupported>false</userShellAccessSupported><supportedEVCMode><label>Intel® "Merom" Generation</label><summary>Applies the baseline feature set of Intel® "Merom" Generation (Xeon® Core™2) processors to all hosts in the cluster.
and after that long list with Intel processors, and "For more information, see Knowledge Base article 1003212" which is about vMotion
before the SOAP part I have:
and after that long list with Intel processors, and "For more information, see Knowledge Base article 1003212" which is about vMotion
before the SOAP part I have:
heatmap : (VMware) set cpu utilization for 0 vm
heatmap : (VMware) set memory utilization for 0 vm
heatmap : (VMware) set cpu utilization for 0 pools
heatmap : (VMware) set memory utilization for 0 pools
heatmap : end Thu Jul 11 15:37:44 2019
An error occured in lpar2rrd, check /var/www/lpar2rrd/logs/error.log-vmware and output of load.sh
A few words about my environment:
lpar2rrd server: AIX
lpar2rrd version: 6.02
VMware perl SDK: 6.7
vCenter version: 6.0
$PERL vmware-lib/apps/connect.pl --version
A few words about my environment:
lpar2rrd server: AIX
lpar2rrd version: 6.02
VMware perl SDK: 6.7
vCenter version: 6.0
$PERL vmware-lib/apps/connect.pl --version
vSphere SDK for Perl version: 6.7.0
Script 'connect.pl' version: 1.0
perl -MLWP -e 'print "$LWP::VERSION\n"';
6.06
perl -MNet::HTTP -e 'print "$Net::HTTP::VERSION\n"'
6.06
Installed Perl rpms:
and as I found similar topic, for me didn't help restart of vCenter and ESX hosts I can't touch.
Any idea where problem can be?
Installed Perl rpms:
perl-5.8.8-2.ppc
perl-Crypt-SSLeay-0.57-2.ppc
perl-TimeDate-1.20-1.noarch
perl-XML-Parser-2.41-1.ppc
perl-XML-LibXML-2.0012-1.ppc
perl-XML-SAX-Base-1.08-1.noarch
perl-Net_SSLeay.pm-1.55-3.ppc
perl-URI-1.58-1.noarch
perl-XML-Simple-2.18-1.noarch
perl-XML-SAX-0.99-1.noarch
perl-XML-NamespaceSupport-1.11-1.noarch
rrdtool-perl-1.4.8-2.ppc
perl-Compress-Raw-Zlib-2.020-1.ppc
and as I found similar topic, for me didn't help restart of vCenter and ESX hosts I can't touch.
Any idea where problem can be?
Comments
-
Hi,it all looks good, basically here is our troubleshooting manual.what reports this:. etc./lpar2rrd.cfg$PERL -MLWP -e 'print "$LWP::VERSION\n"';echo "$PERL $PERL5LIB"
-
For your first post:$PERL -MLWP -e 'print "$LWP::VERSION\n"';6.06echo "$PERL $PERL5LIB"/opt/freeware/bin/perl /opt/freeware/lib/perl5/vendor_perl/5.8.8:/opt/freeware/lib/perl/5.2.1:/usr/opt/perl5/lib/site_perl/5.2.1:/usr/lib64/perl5/vendor_perl/5.2.1:/opt/freeware/lib/perl/5.8.8:/opt/freeware/lib/perl/5.8.0:/usr/opt/perl5/lib/site_perl/5.8.2:/usr/lib/perl5/vendor_perl/5.8.5:/usr/share/perl5:/usr/lib/perl5:/usr/opt/perl5/lib/site_perl/5.8.8/aix-thread-multi:/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi:/usr/lib64/perl5/vendor_perl:/usr/lib/perl5/vendor_perl:/var/www/lpar2rrd/lib:/var/www/lpar2rrd/vmware-lib:/var/www/lpar2rrd/bin:/usr/opt/perl5/lib:/var/www/lpar2rrd/lib/PDF:/var/www/lpar2rrd/lib/Compress:/usr/opt/perl5/lib/site_perl/5.20.1/
From website:
1. rpm -qa | egrep -i "Crypt-SSLeay|Net_SSLeay"perl-Crypt-SSLeay-0.57-2.ppcperl-Net_SSLeay.pm-1.55-3.ppc
2. for PERL5LIB I used those from tutorial for lpar2rrd installation and add some which were missing when I install it (output above)
3. for vmware-lib they were included in PERL5LIB
4. $PERL -MLWP -e 'use LWP::Protocol::https; print "LWP Version: $LWP::VERSION\n"'LWP Version: 6.06
5. $PERL bin/perl_modules_check.pl returns nothing
6. $PERL vmware-lib/apps/connect.pl --server --username "lpar2rrd@your_domain" --password "XXXXX"
getting:Use of uninitialized value in concatenation (.) or string at /usr/opt/perl5/lib/5.8.8/Scalar/Util.pm line 30.Connection SuccessfulServer Time : 2019-07-11T15:29:00.338351Z -
Hi,it says conmnection succesfull, it looks good, do you see anything in the GUI after Ctrl-F5
-
Hi,
unfortunately no. Nothing new in GUI even after change web browser, refresh cache and so one. Moreover I don't see anything in data and tmp dirs (all permissions are set properly to allow writing for lpar2rrd and read by server www). -
I made one another test with vmware loop test:$PERL bin/vmware_loop_test.pl --server <<server>> --username "lpar2rrd@<<my_domain>>" --password "<<PASSWORD>>"----- VMWARE tree start: Tue Jul 16 14:47:26 CEST 2019SOAP request error - possibly a protocol issue: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="ServiceInstance">ServiceInstance</obj><propSet><name>capability</name><val xsi:type="Capability"><provisioningSupported>true</provisioningSupported><multiHostSupported>true</multiHostSupported><userShellAccessSupported>false</userShellAccessSupported><supportedEVCMode><label>Intel® "Merom" Generation</label><summary>Applies the baseline feature set of Intel® "Merom" Generation (Xeon® Core™2) processors to all hosts in the cluster.
-
Hi,sorry for delay.1. use rather Perl SDK 6.5, not 6.7 one if you have older vCenterbefore its installation clean actual vmware-lib directorycd /home/lpar2rrd/lpar2rrdrm -r vmware-lib/*install 6.5 SDK as per docu2. use PERL5LIB mentioned in this codu: https://www.lpar2rrd.com/https.htmchange path if necessary (/home/lpar2rrd --> /var/www/lpar2rrd)vmware-lib must be at the second possition!It must work now
-
Hi,
a bit later answer, but it helped. Probably placing the path to vmware-lib on the second position made the job
Thank you for help
Howdy, Stranger!
Categories
- 1.6K All Categories
- 43 XORMON NG
- 25 XORMON
- 152 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 7 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 122 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle