XenServer XAPI2JSON: 0 timeouted - lpar2rrd-6.20

Good afternoon,

I am having problems with Xen Server, in other versions it worked correctly. When installing 6.20 it was unable to load data from Xen Server.

[lpar2rrd@lpar2rrd~]$ /home/lpar2rrd/lpar2rrd/load_xenserver.sh
load_xenserver.sh      : start
xen-xapi2json.pl       : collect data from XAPI, Fri Aug 28 15:21:13 -03 2020
xen-json2rrd.pl        : push data to rrd, Fri Aug 28 15:36:13 -03 2020
RRDp    version: 1.4008
RRDtool version: 1.4.8
xen-json2rrd.pl finish : status 0
xen-cleanup.pl  : already ran today, skip
/home/lpar2rrd/lpar2rrd/load_xenserver.sh: line 167: 30318 Alarm clock             wait_time $timeout
An error occured in lpar2rrd, check /home/lpar2rrd/lpar2rrd/logs/error.log-xen and output of load.sh

$ tail -1 /home/lpar2rrd/lpar2rrd/logs/error.log-xen

XenServer XAPI2JSON: 0 timeouted.
date end all   : Fri Aug 28 15:36:14 -03 2020
[lpar2rrd@lpar2rrd~]$

Connection checks are ok

Any idea what the problem may be?

Comments

  • Hello,

    can you check, if any data is actually fetched from the XenServer host?

    cd /home/lpar2rrd/lpar2rrd ### or wherever your LPAR2RRD directory is located
    ls -lR data/XEN_iostats
  • Thanks for the reply. I show you

    [lpar2rrd@xorux lpar2rrd]$ ls -lR data/XEN_iostats
    data/XEN_iostats:
    total 4
    -rw-r--r-- 1 lpar2rrd lpar2rrd 3 Aug 31 10:40 conf.json
    drwxr-xr-x 2 lpar2rrd lpar2rrd 6 Aug 31 11:15 json
    drwxr-xr-x 2 lpar2rrd lpar2rrd 6 Aug 31 10:40 metadata
    drwxr-xr-x 2 lpar2rrd lpar2rrd 6 Aug 31 11:00 xml

    data/XEN_iostats/json:
    total 0

    data/XEN_iostats/metadata:
    total 0

    data/XEN_iostats/xml:
    total 0
    [lpar2rrd@xorux lpar2rrd]$
    ---------------------------------------------------------------------
    I continue with the same error.

    When I had version 6.02 it worked correctly, the problem appeared when I installed version 6.20.

    If I get other information:

    [lpar2rrd@xorux data]$ ls -lR XEN*
    XEN:
    total 4
    drwxr-xr-x 2 lpar2rrd lpar2rrd 4096 Aug 31 11:15 d4c65b02-200e-4312-a8d9-4f872e507bd2

    XEN/d4c65b02-200e-4312-a8d9-4f872e507bd2:
    total 67284
    -rw-r--r-- 1 lpar2rrd lpar2rrd 10519688 Aug 31 11:15 disk-179597ec.rrd
    -rw-r--r-- 1 lpar2rrd lpar2rrd 10519688 Aug 31 11:15 disk-3a8c81b5.rrd
    -rw-r--r-- 1 lpar2rrd lpar2rrd 10519688 Aug 31 11:15 disk-83a2d901.rrd
    -rw-r--r-- 1 lpar2rrd lpar2rrd 10519688 Aug 31 11:15 disk-882ec299.rrd
    -rw-r--r-- 1 lpar2rrd lpar2rrd 10519688 Aug 31 11:15 disk-9808bf6b.rrd
    -rw-r--r-- 1 lpar2rrd lpar2rrd  1913312 Aug 31 11:15 lan-bond0.rrd
    -rw-r--r-- 1 lpar2rrd lpar2rrd  1913312 Aug 31 11:15 lan-bond1.rrd
    -rw-r--r-- 1 lpar2rrd lpar2rrd  1913312 Aug 31 11:15 lan-eth0.rrd
    -rw-r--r-- 1 lpar2rrd lpar2rrd  1913312 Aug 31 11:15 lan-eth1.rrd
    -rw-r--r-- 1 lpar2rrd lpar2rrd  1913312 Aug 31 11:15 lan-eth2.rrd
    -rw-r--r-- 1 lpar2rrd lpar2rrd  1913312 Aug 31 11:15 lan-eth3.rrd
    -rw-r--r-- 1 lpar2rrd lpar2rrd  4782104 Aug 31 11:15 sys.rrd

    XEN_iostats:
    total 4
    -rw-r--r-- 1 lpar2rrd lpar2rrd 3 Aug 31 10:40 conf.json
    drwxr-xr-x 2 lpar2rrd lpar2rrd 6 Aug 31 11:15 json
    drwxr-xr-x 2 lpar2rrd lpar2rrd 6 Aug 31 10:40 metadata
    drwxr-xr-x 2 lpar2rrd lpar2rrd 6 Aug 31 11:00 xml

    XEN_iostats/json:
    total 0

    XEN_iostats/metadata:
    total 0

    XEN_iostats/xml:
    total 0

    XEN_VMs:
    total 88720
    -rw-r--r-- 1 lpar2rrd lpar2rrd 18169800 Aug 31 11:15 381aa7a9-7358-27bf-d649-3a02b083a51f.rrd
    -rw-r--r-- 1 lpar2rrd lpar2rrd 18169800 Aug 31 11:15 3da3cd95-c53b-2fed-e031-6251ab36d39e.rrd
    -rw-r--r-- 1 lpar2rrd lpar2rrd 18169800 Aug 31 11:15 5bbbd16b-b65a-0b56-0ace-f3ed0080754b.rrd
    -rw-r--r-- 1 lpar2rrd lpar2rrd 18169800 Aug 31 11:15 674a75c5-1320-2f6b-31e5-fe70cbf28270.rrd
    -rw-r--r-- 1 lpar2rrd lpar2rrd 18169800 Aug 31 11:15 792f4559-0bee-40ec-a5e0-0bb845759f43.rrd
    [lpar2rrd@xorux data]$

  • It seems that fetching metadata over SSH timeouts; could you send us logs to look into it?

    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 tmp/*txt tmp/*json
    gzip -9 logs.tar

    Send us logs.tar.gz via https://upload.lpar2rrd.com

  • Good morning.

    Thanks, I was able to fix it already.

    Replace just xen-xapi2json.pl with version 6.02 and it worked fine.

    Previously I tried with version 6.11 and it didn't work.

    Thank you and I hope it serves you.

    Regards
  • Hello,

    keep in mind, however, that using an older version of the part of the program might yield unintended behavior, especially with regards to incomplete data.

Sign In or Register to comment.