:VOLUME:r_cache_hit:d: Multi graph rrdtool error : ERROR: Cannot parse vname

Hello,

I add VSP array to stor2rrd. When run load.sh output errors:

Wed Oct 10 15:18:10 2018: VSP2:VOLUME:r_cache_hit:d: Multi graph rrdtool error : ERROR: Cannot parse vname from 'CDEF:r_cache_hitm00R00R02X[T]OK_C1STitaniumS0010=r_cache_hit0,1,/'
 ./bin/storage.pl:10940
Wed Oct 10 15:18:30 2018: VSP2:VOLUME:w_cache_hit:d: Multi graph rrdtool error : ERROR: Cannot parse vname from 'CDEF:w_cache_hitm00R00R02X[T]OK_C1STitaniumS0010=w_cache_hit0,1,/'
 ./bin/storage.pl:10940
Use of uninitialized value $dutil in substitution (s///) at ./bin/storage.pl line 12747.
Use of uninitialized value $dutil in substitution (s///) at ./bin/storage.pl line 12748.
Use of uninitialized value $dutil in substitution (s///) at ./bin/storage.pl line 12749.
Use of uninitialized value $dutil in substitution (s///) at ./bin/storage.pl line 12750.
Use of uninitialized value $dutil in concatenation (.) or string at ./bin/storage.pl line 12752.
Use of uninitialized value $wutil in substitution (s///) at ./bin/storage.pl line 12768.
Use of uninitialized value $wutil in substitution (s///) at ./bin/storage.pl line 12769.
Use of uninitialized value $wutil in substitution (s///) at ./bin/storage.pl line 12770.
Use of uninitialized value $wutil in substitution (s///) at ./bin/storage.pl line 12771.
Use of uninitialized value $wutil in concatenation (.) or string at ./bin/storage.pl line 12785.
Use of uninitialized value $mutil in substitution (s///) at ./bin/storage.pl line 12802.
Use of uninitialized value $mutil in substitution (s///) at ./bin/storage.pl line 12803.
Use of uninitialized value $mutil in substitution (s///) at ./bin/storage.pl line 12804.
Use of uninitialized value $mutil in substitution (s///) at ./bin/storage.pl line 12805.
Use of uninitialized value $mutil in concatenation (.) or string at ./bin/storage.pl line 12819.
Use of uninitialized value $yutil in substitution (s///) at ./bin/storage.pl line 12836.
Use of uninitialized value $yutil in substitution (s///) at ./bin/storage.pl line 12837.
Use of uninitialized value $yutil in substitution (s///) at ./bin/storage.pl line 12838.
Use of uninitialized value $yutil in substitution (s///) at ./bin/storage.pl line 12839.
Use of uninitialized value $yutil in concatenation (.) or string at ./bin/storage.pl line 12853.
Use of uninitialized value $dutil in substitution (s///) at ./bin/storage.pl line 12747.
Use of uninitialized value $dutil in substitution (s///) at ./bin/storage.pl line 12748.
Use of uninitialized value $dutil in substitution (s///) at ./bin/storage.pl line 12749.
Use of uninitialized value $dutil in substitution (s///) at ./bin/storage.pl line 12750.
Use of uninitialized value $dutil in concatenation (.) or string at ./bin/storage.pl line 12752.
Use of uninitialized value $wutil in substitution (s///) at ./bin/storage.pl line 12768.
Use of uninitialized value $wutil in substitution (s///) at ./bin/storage.pl line 12769.
Use of uninitialized value $wutil in substitution (s///) at ./bin/storage.pl line 12770.
Use of uninitialized value $wutil in substitution (s///) at ./bin/storage.pl line 12771.
Use of uninitialized value $wutil in concatenation (.) or string at ./bin/storage.pl line 12785.
Use of uninitialized value $mutil in substitution (s///) at ./bin/storage.pl line 12802.
Use of uninitialized value $mutil in substitution (s///) at ./bin/storage.pl line 12803.
Use of uninitialized value $mutil in substitution (s///) at ./bin/storage.pl line 12804.
Use of uninitialized value $mutil in substitution (s///) at ./bin/storage.pl line 12805.
Use of uninitialized value $mutil in concatenation (.) or string at ./bin/storage.pl line 12819.
Use of uninitialized value $yutil in substitution (s///) at ./bin/storage.pl line 12836.
Use of uninitialized value $yutil in substitution (s///) at ./bin/storage.pl line 12837.
Use of uninitialized value $yutil in substitution (s///) at ./bin/storage.pl line 12838.
Use of uninitialized value $yutil in substitution (s///) at ./bin/storage.pl line 12839.
Use of uninitialized value $yutil in concatenation (.) or string at ./bin/storage.pl line 12853.

How can I fix this?

Tnanks.


 

Comments

  • Hi,

    stor2rrd product version pls.
  • Hello,
    cat etc/version.txt
    2.40 2018-09-26_16:14

  • ok, I see it, your volume has [] characters in its name, that is not good.
    Can you confirm it?
    I see something like this ...0R00R02X[T]OK_C1STitaniumS...

  • There are names, but when it collect, the name loses.


  • ok, send us this data to can simulate it (when possible), then we will provide you a fix
    cd /home/stor2rrd/stor2rrd
    tar cvf data.tar tmp/<storage name>.txt  logs/*<storage name>

    gzip -9 data.tar

  • small modification:
    cd /home/stor2rrd/stor2rrd
    tar cvf data.tar tmp/<storage name>*.txt  logs/*<storage name>

    gzip -9 data.tar

  •  Uploaded files:

     data.tar.gz

    Total size: 67530 Bytes


    Thanks.

  • Hello, 

    I have the same issue with  [] characters.

    ERROR          : HUSVM-msk : load_host failed: Invalid [] range "k-0" in regex; marked by <-- HERE in m/^00:00:0B s-msk-db02[disk-0 <-- HERE 1]$/ at /home/stor2rrd/stor2rrd/bin/LoadDataModule.pm line 35579.
     /home/stor2rrd/stor2rrd/bin/storage.pl:205

    I have a lot LDEVs named like this:
    $ grep "\[" tmp/HUSVM-msk-conf-last.txt
    00:00:0B,00:00:0B s-msk-db02[disk-01],,,,,2,,3072000,,,,,,,,,,,,,
    00:00:1A,00:00:1A s-msk-db02[disk-02],,,,,2,,51200,,,,,,,,,,,,,

    So there is no data for this array in a web interface, only capacity.

    $ cat etc/version.txt
    2.10
    2.20
    2.31-1
    2.40 2018-10-02_16:58

  • Hi,

    yep, it is the same issue.
    We will fix it during next week and place a fix here.
  • Hello,

    Thanks.
  • Hello,

    Just update stor2rrd to 2.41. Got the same error with LDEV named like this s-msk-db1[disk-03]:

    load_host failed: Invalid [] range "k-0" in regex; marked by <-- HERE in m/^00:00:03 s-msk-db1[disk-0 <-- HERE 3]$/ at /home/lpar2rrd/stor2rrd/bin/LoadDataModule.pm line 35596.
     /home/lpar2rrd/stor2rrd/bin/storage.pl:205
    an error in /usr/bin/perl -w /home/lpar2rrd/stor2rrd/bin/storage.pl: 1

  • here is the fix (it is cumulative since 2.40)

    Download the patch file, untar it and install as the owner of STOR2RRD installation:
    Download link: http://download.stor2rrd.com/patch/stor2rrd-2.41-01.tar

    su - stor2rrd
    tar xvf stor2rrd-2.41-01.tar
    cd stor2rrd-2.41-01
    ./install.sh

    cd /home/stor2rrd/stor2rrd
    ./load.sh

    refresh the GUI when it finishes (Ctrl-F5)


  • Hello Pavel,

    It works great! Thank you very much!
Sign In or Register to comment.