Adding HNAS nodes on version 2.81 update fails during load.sh run, no graphs or storage information

Hi,

I am adding HNAS nodes to version 2.81, and during the node addition, keep getting the below error when updating the graphs and information with ./load.sh

$ tail -18 /home/lpar2rrd/stor2rrd/logs/error.log

Use of uninitialized value $RRDp::error_mode in string eq at /usr/lib64/perl5/vendor_perl/RRDp.pm line 168, <FH> line 260.
Sun Jul 12 06:43:21 2020: myhnascluster : load_host failed: ERROR: /home/stor2rrd/stor2rrd/data/shdortcht/DRIVE/118.rrd: Function update_pdp_prep, case DST_GAUGE - Cannot convert '' to float at /home/lpar2rrd/stor2rrd/bin/LoadDataModule.pm line 20964.
 /home/stor2rrd/stor2rrd/bin/storage.pl:211
Sun Jul 12 06:43:21 SAST 2020: an error in /usr/bin/perl -w /home/stor2rrd/stor2rrd/bin/storage.pl: 1
Sun Jul 12 06:43:22 2020: my2ndHNAScluster : get_pool_csv_report error, no source: resp_t:h /home/stor2rrd/stor2rrd/bin/storage.pl:20878
Sun Jul 12 06:43:22 2020: my2ndHNAScluster : get_pool_csv_report error, no source: io_rate:h /home/stor2rrd/stor2rrd/bin/storage.pl:20878
Use of uninitialized value $RRDp::error_mode in string eq at /usr/lib64/perl5/vendor_perl/RRDp.pm line 168, <FH> line 292.
Sun Jul 12 06:43:25 2020: my3rdHNAScluster : load_host failed: ERROR: /home/stor2rrd/stor2rrd/data/shdortbht/DRIVE/90.rrd: Function update_pdp_prep, case DST_GAUGE - Cannot convert '' to float at /home/lpar2rrd/stor2rrd/bin/LoadDataModule.pm line 20964.
 /home/stor2rrd/stor2rrd/bin/storage.pl:211
Sun Jul 12 06:43:25 SAST 2020: an error in /usr/bin/perl -w /home/stor2rrd/stor2rrd/bin/storage.pl: 1
Use of uninitialized value $RRDp::error_mode in string eq at /usr/lib64/perl5/vendor_perl/RRDp.pm line 168, <FH> line 318.
Sun Jul 12 06:43:29 2020: myhnascluster : load_host failed: ERROR: /home/stor2rrd/stor2rrd/data/shdortaht/DRIVE/127.rrd: Function update_pdp_prep, case DST_GAUGE - Cannot convert '' to float at /home/lpar2rrd/stor2rrd/bin/LoadDataModule.pm line 20964.
 /home/stor2rrd/stor2rrd/bin/storage.pl:211
Sun Jul 12 06:43:29 SAST 2020: an error in /usr/bin/perl -w /home/stor2rrd/stor2rrd/bin/storage.pl: 1
Use of uninitialized value $RRDp::error_mode in string eq at /usr/lib64/perl5/vendor_perl/RRDp.pm line 168, <FH> line 175.
Sun Jul 12 06:43:32 2020: my4thHNAScluster : load_host failed: ERROR: /home/stor2rrd/stor2rrd/data/shdcptaht/DRIVE/32.rrd: Function update_pdp_prep, case DST_GAUGE - Cannot convert '' to float at /home/lpar2rrd/stor2rrd/bin/LoadDataModule.pm line 20964.
 /home/stor2rrd/stor2rrd/bin/storage.pl:211
Sun Jul 12 06:43:33 SAST 2020: an error in /usr/bin/perl -w /home/stor2rrd/stor2rrd/bin/storage.pl: 1
Sun Jul 12 06:43:45 SAST 2020

can you please assist with any steps I can follow to correct this? can not find anything in the forums around resolving this error, as previous issues were addressed with patches, and this is the latest version of the software, so it should still be working?

Thanks

Comments

  • Hello,

    Send us logs.

    Note a short problem description in the text field of the upload form.

    cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir

    tar cvhf logs.tar logs tmp/*txt

    gzip -9 logs.tar

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

    You might even attach screenshots when it helps in understanding of the issue.


    thank you
  • Hi Lukas,

    I have uploaded the logs as requested.

    thank you

  • Hello,

    thanks for the logs sent. We will need more data to debug. Send us IOSTATS files from affected storages

    cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir

    tar cvhf logs.tar data/shdortcht/*out data/shdortcht/IOSTATS/*  data/shdortcht2/IOSTATS/*

    gzip -9 logs.tar

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

    You might even attach screenshots when it helps in understanding of the issue.

    Thank you
  • Hi Lukas,

    I have uploaded the latest set of logs as requested,

    thank you
  • Hello,

    Try these fixes:

    https://download.stor2rrd.com/patch/2.81-14/LoadDataModule.pm.gz

    Gunzip it and copy to /home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)

    -rwxr-xr-x 1 stor2rrd stor2rrd 2296530 Jul 20 11:20 LoadDataModule.pm

    If your web browser gunzips it automatically then just rename it: mv LoadDataModule.pm.gz LoadDataModule.pm

    Assure that file size is the same as on above example



    https://download.stor2rrd.com/patch/2.81-14/hnasconf.pl.gz

    Gunzip it and copy to /home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)

    -rwxr-xr-x 1 stor2rrd stor2rrd 41563 Jul 20 10:28 hnasconf.pl

    If your web browser gunzips it automatically then just rename it: mv hnasconf.pl.gz hnasconf.pl

    Assure that file size is the same as on above example

    after copy scripts to bin directory

    cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir

    ./load.sh


    refresh GUI


    You should see data for shdcptaht and shdortcht


    Let us know.

    Thank you
  • Storage_Geezer
    edited July 2020
    Hi Lukas,

    I have done as requested with the above, but now I am getting another error when running
    load.sh

    $ tail -5 /home/lpar2rrd/stor2rrd/logs/error.log

    Mon Jul 20 12:50:11 2020: shdortcht : get_pool_csv_report error, no source: resp_t:h /home/stor2rrd/stor2rrd/bin/storage.pl:20878
    Mon Jul 20 12:50:12 2020: shdortcht2 : get_pool_csv_report error, no source: resp_t:h /home/stor2rrd/stor2rrd/bin/storage.pl:20878
    Mon Jul 20 12:50:13 2020: shdortbht : get_pool_csv_report error, no source: resp_t:h /home/stor2rrd/stor2rrd/bin/storage.pl:20878
    Mon Jul 20 12:50:15 2020: shdortaht : get_pool_csv_report error, no source: resp_t:h /home/stor2rrd/stor2rrd/bin/storage.pl:20878
    Mon Jul 20 12:50:16 2020: shdcptaht : get_pool_csv_report error, no source: resp_t:h /home/stor2rrd/stor2rrd/bin/storage.pl:20878
    Mon Jul 20 12:50:29 SAST 2020

    the graphs are now displaying properly after a refresh :)

    not sure what is needed next, or whether this is an expected error.

    thanks




  • Hello,

    try these fixes:

    https://download.stor2rrd.com/patch/2.81-14-4-g2b34/storage.pl.gz

    Gunzip it and copy to /home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)

    -rwxr-xr-x 1 stor2rrd stor2rrd 866488 Jul 21 09:50 storage.pl

    If your web browser gunzips it automatically then just rename it: mv storage.pl.gz storage.pl

    Assure that file size is the same as on above example



    https://download.stor2rrd.com/patch/2.81-14-4-g2b34/DeviceCfg.pm.gz

    Gunzip it and copy to /home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)

    -rwxr-xr-x 1 stor2rrd stor2rrd 47625 Jul 21 10:34 DeviceCfg.pm

    If your web browser gunzips it automatically then just rename it: mv DeviceCfg.pm.gz DeviceCfg.pm

    Assure that file size is the same as on above example


    https://download.stor2rrd.com/patch/2.81-14-4-g2b34/SYNOLOGY.pm.gz

    Gunzip it and copy to /home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)

    -rwxr-xr-x 1 stor2rrd stor2rrd 42183 Jul 20 10:04 SYNOLOGY.pm

    If your web browser gunzips it automatically then just rename it: mv SYNOLOGY.pm.gz SYNOLOGY.pm

    Assure that file size is the same as on above example


    after copy scripts to bin directory


    cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir

    rm tmp/pool*

    ./load.sh


    errors should not appear


    Let us know.

    Thank you

  • Hi Lukas,

    that worked perfectly, thank you for the assistance. :)

Sign In or Register to comment.