OracleVM discovery issues

Hello,

 I'm trying to add OracleVM to lpar2rrd (installed appliance, update to latest version).
I manually executed /home/lpar2rrd/lpar2rrd/load_oraclevm.sh to see what is going on:
It goes through "Updating server RRD", "Updating vm net RRD", "Creating RRD" and "Updating server net RRD". Then it gives an error, continued with a listing:

orvm-json2rrd.pl : status 0, Thu Aug 20 08:15:13 CEST 2020
An error occured in lpar2rrd, check /home/lpar2rrd/lpar2rrd/logs/error.log-oraclevm and output of load_oraclevm.sh

$ tail -927 /home/lpar2rrd/lpar2rrd/logs/error.log-oraclevm

Thu Aug 20 08:12:21 2020: Result from OracleVM not success (url-https://10.9.14.250:7002/ovm/core/wsapi/rest/Statistic/Server/30:37:32:37:31:32:5a:43:32:35:35:30:30:30:32:30/FREE_MEMORY/range?startTime=1597902736000&endTime=1597903936000):  /home/lpar2rrd/lpar2rrd/bin/orvm-api2json.pl:658 :
Thu Aug 20 08:12:21 2020: Message content: "<?xml version="1.0" encoding="UTF-8"?>
<wsErrorDetails><cause>Caused by: com.sun.jersey.api.ParamException$PathParamException: java.lang.IllegalArgumentException: No enum constant com.oracle.ovm.mgr.ws.model.Statistic.StatisticType.FREE_MEMORY
Caused by: java.lang.IllegalArgumentException: No enum constant com.oracle.ovm.mgr.ws.model.Statistic.StatisticType.FREE_MEMORY
</cause><errorCode>GEN_000000</errorCode><message>GEN_000000:An exception occurred during processing: java.lang.IllegalArgumentException: No enum constant com.oracle.ovm.mgr.ws.model.Statistic.StatisticType.FREE_MEMORY</message><wsErrorCode>GENERAL_UNKNOWN_EXCEPTION</wsErrorCode></wsErrorDetails>"! :
Exiting subroutine via next at /home/lpar2rrd/lpar2rrd/bin/orvm-api2json.pl line 660.

....
There is a bunch of those FREE_MEMORY related messages, then it continues with:

Use of uninitialized value $RRDp::error_mode in string eq at /usr/lib64/perl5/vendor_perl/RRDp.pm line 168.
Thu Aug 20 08:15:11 2020: RRDp::create read error : /home/lpar2rrd/lpar2rrd/data/OracleVM/vm/0004fb000006000005ca27576b8065a9/disk-/dev/mapper/360002ac000000000000000ac0001fdc8.rrd : ERROR: creating '/home/lpar2rrd/lpar2rrd/data/OracleVM/vm/0004fb000006000005ca27576b8065a9/disk-/dev/mapper/360002ac000000000000000ac0001fdc8.rrd': No such file or directory at /home/lpar2rrd/lpar2rrd/bin/Xorux_lib.pm line 88. : No such file or directory
Thu Aug 20 08:15:11 2020: Unable to create /home/lpar2rrd/lpar2rrd/data/OracleVM/vm/0004fb000006000005ca27576b8065a9/disk-/dev/mapper/360002ac000000000000000ac0001fdc8.rrd : at /home/lpar2rrd/lpar2rrd/bin/OracleVmLoadDataModule.pm: line 140 : No such file or directory
Use of uninitialized value $RRDp::error_mode in string eq at /usr/lib64/perl5/vendor_perl/RRDp.pm line 168.


And I suppose there's such a chunk of log for each disk on VMs.
The result is that VM's don't have any data about disks.

Any help appreciated.
Kind regards,
Primoz

Comments

  • Hi Primoz,

    which version of OracleVM Manager do you have?

    Regards,
    Jiri Turecek
    Xorux applications family support
    LPAR2RRD, STOR2RRD & Xormon
    email: jiri.turecek@xorux.com
    phone: +420 732 211 557 
  • Oracle VM Manager
    Version: 3.3.3.1085
    Build: 20150712_1085
  • Hi Primoz,

    on which platform do you have tool LPAR2RRD installed?

Sign In or Register to comment.