Errors when generating CSV reports

When trying to generate reports on the newly upgraded 2.70 server, get this line for every port.

Thu Feb 27 20:46:29 2020: ERROR stor2csv.pl: ERROR: No DS called 'io_rate_ini' in '/opt/stor2rrd/data/VSP-G1000/PORT/CL1-A.rrd' at /opt/stor2rrd/bin/stor2csv.pl line 1834. : 
Thu Feb 27 20:46:29 2020: CSV was not created! "/opt/stor2rrd/reports/admin/report/20200227_204627/VSP-G1000_PORT_CL1-A.csv" : No such file or directory

The rrd files do exist and in the GUI the ports show and there is activity on the ports.

Comments

  • Hi,

    can you try this hotfix?

    Gunzip it and copy to /home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)
    -rwxr-xr-x 1 stor2rrd stor2rrd 94095 Feb 28 08:51 stor2csv.pl
    If your web browser gunzips it automatically then just rename it: mv stor2csv.pl.gz stor2csv.pl

    Just deploy it and generate new report.
    Let us know, thanks.
  • Ports seem to be working fine now, thank you. There is also another error coming up now, this for CPU-CORE, didnt see this one before mixed in with all the PORTS errors

    Fri Feb 28 10:32:20 2020: ERROR stor2csv.pl: ERROR: No DS called 'mpb-sys' in '/opt/stor2rrd/data/VSP-G1000/CPU-CORE/CHA-1PC.DRR-1PC0.rrd' at /opt/stor2rrd/bin/stor2csv.pl line 1837. : 
    Fri Feb 28 10:32:20 2020: CSV was not created! "/opt/stor2rrd/reports/admin/Storage_Stats/20200228_103130/VSP-G1000_CPU-CORE_CHA-1PC.DRR-1PC0.csv" : No such file or directory
    

  • Hi,

    ok, try this:

    Gunzip it and copy to /home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)
    -rwxr-xr-x 1 stor2rrd stor2rrd 94201 Feb 28 09:39 stor2csv.pl
    If your web browser gunzips it automatically then just rename it: mv stor2csv.pl.gz stor2csv.pl

    Let us know, thanks.
  • It fixed that error but now a new one :(
    Fri Feb 28 10:51:41 2020: ERROR stor2csv.pl: ERROR: No DS called 'drr-sys' in '/opt/stor2rrd/data/VSP-G1000/CPU-CORE/CHA-1PC.DRR-1PC0.rrd' at /opt/stor2rrd/bin/stor2csv.pl line 1839. : 
    Fri Feb 28 10:51:41 2020: CSV was not created! "/opt/stor2rrd/reports/admin/Storage_Stats/20200228_105058/VSP-G1000_CPU-CORE_CHA-1PC.DRR-1PC0.csv" : No such file or directory
    
    OK

  • Not to worry, I managed to find the change made in the last script and implemented the same line for drr-sys and it works like a charms :)
  • Hi,

    great, we have it fixed in our codes as well. So if someone will need it then let us know and we will provide a fix.
  • ok, I have one last thing bugging me on the report. Telling me the port ID but in the config the port is there, the rrd files exists and the port is in use.

    Fri Feb 28 12:20:43 2020: ERROR stor2csv.pl: Fri Feb 28 12:20:43 2020: Could not find PORT ID for VSP-R700:PORT:CL1 in neither in etc/alias.cfg /opt/stor2rrd/bin/stor2csv.pl:1779 :  : 
    Fri Feb 28 12:20:43 2020: ERROR stor2csv.pl: Fri Feb 28 12:20:43 2020: Could not find PORT ID for VSP-R700:PORT:CL1 in neither in etc/alias.cfg /opt/stor2rrd/bin/stor2csv.pl:1779 :  : 
    Fri Feb 28 12:20:43 2020: ERROR stor2csv.pl: Fri Feb 28 12:20:43 2020: Could not find PORT ID for VSP-R700:PORT:CL1 in neither in etc/alias.cfg /opt/stor2rrd/bin/stor2csv.pl:1779 :  : 
    Fri Feb 28 12:20:43 2020: ERROR stor2csv.pl: Fri Feb 28 12:20:43 2020: Nothing to print! Probably unsupported subsystem or storage type! /opt/stor2rrd/bin/stor2csv.pl:2499 :  : 
    Fri Feb 28 12:20:43 2020: CSV was not created! "/opt/stor2rrd/reports/admin/Storage_Stats/20200228_121921/VSP-R700_PORT_CL1-P.csv" : No such file or directory
  • Hi,

    ls -l /opt/stor2rrd/data/VSP-R700/PORT
  • Done just for CL1*. The sample above is just for CL1-P but having the same problem on all of the CL*-P ports 

    [stor2rrd@host PORT]$ ls -l /opt/stor2rrd/data/VSP-R700/PORT/|grep CL[0-9]-P
    -rw-r--r-x 1 stor2rrd stor2rrd 795608 Feb 28 13:29 CL1-P.rrd
    -rw-r--r-x 1 stor2rrd stor2rrd 795608 Feb 28 13:29 CL1-P.rri
    -rw-r--r-x 1 stor2rrd stor2rrd 795608 Feb 28 13:29 CL2-P.rrd
    -rw-r--r-x 1 stor2rrd stor2rrd 795608 Feb 28 13:29 CL2-P.rri
    -rw-r--r-x 1 stor2rrd stor2rrd 795608 Feb 28 13:29 CL3-P.rrd
    -rw-r--r-x 1 stor2rrd stor2rrd 795608 Feb 28 13:29 CL3-P.rri
    -rw-r--r-x 1 stor2rrd stor2rrd 795608 Feb 28 13:29 CL4-P.rrd
    -rw-r--r-x 1 stor2rrd stor2rrd 795608 Feb 28 13:29 CL4-P.rri
    -rw-r--r-x 1 stor2rrd stor2rrd 795608 Feb 28 13:29 CL5-P.rrd
    -rw-r--r-x 1 stor2rrd stor2rrd 795608 Feb 28 13:29 CL5-P.rri
    -rw-r--r-x 1 stor2rrd stor2rrd 795608 Feb 28 13:29 CL6-P.rrd
    -rw-r--r-x 1 stor2rrd stor2rrd 795608 Feb 28 13:29 CL6-P.rri
    -rw-r--r-x 1 stor2rrd stor2rrd 795608 Feb 28 13:29 CL7-P.rrd
    -rw-r--r-x 1 stor2rrd stor2rrd 795608 Feb 28 13:29 CL7-P.rri
    -rw-r--r-x 1 stor2rrd stor2rrd 795608 Feb 28 13:29 CL8-P.rrd
    -rw-r--r-x 1 stor2rrd stor2rrd 795608 Feb 28 13:29 CL8-P.rri
  • Hi,

    here is a fix:

    Gunzip it and copy to /home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)
    -rwxr-xr-x 1 stor2rrd stor2rrd 94255 Feb 28 12:46 stor2csv.pl
    If your web browser gunzips it automatically then just rename it: mv stor2csv.pl.gz stor2csv.pl

    Let us know, thanks.
  • Works perfectly. Thank you
Sign In or Register to comment.