Stor2rrd can not get data from IBM Storwize V7000

Hi,

I have installed latest version of stor2rrd (2.30) on rhel 7.4 virtual guest server.


Here is the platform info:


[root@stor2rrd conf.d]# hostnamectl
   Static hostname: stor2rrd
   
           Chassis: vm
        Machine ID: 1b070d1586fe6746aa7ed1b25b082006
           Boot ID: 711fba6299004468b696fb2ef66c99f3
    Virtualization: kvm
  Operating System: Red Hat Enterprise Linux
       CPE OS Name: cpe:/o:redhat:enterprise_linux:7.4:GA:server
            Kernel: Linux 3.10.0-693.21.1.el7.x86_64
      Architecture: x86-64

  
==>I have configured the apache and applied certificates.

==>Then,configured an IBM Storwise v7000 storage to monitor them at stor2rrd gui.


 [root@stor2rrd conf.d]#



#
#storwize01-alias01:SWIZ:storwize_host.example.com:/home/stor2rrd/.ssh/id_rsa
#svc01-alias01:SWIZ:svc_host.example.com:/home/stor2rrd/.ssh/id_rsa:1024:10
#svc02-alias01:SWIZ:192.168.1.1:
V7000-1:SWIZ:10.72.75.51:



==>Also checked the configuration and verified that the connection is OK between stor2rrd and storage.


[stor2rrd@stor2rrd stor2rrd]$ ./bin/config_check.sh
=========================
STORAGE: V7000-1: SWIZ : sample rate: 300 seconds
=========================
TCP connection to "10.72.75.51" on port "22" is ok
  ssh -o ConnectTimeout=80 -o StrictHostKeyChecking=no -o PreferredAuthentications=publickey -o SendEnv=no stor2rrd@10.72.75.51  "lscurrentuser"
  connection ok

  

==>In order to start the monitoring, I have run   /home/stor2rrd/stor2rrd/load.sh .

==>Even connection is OK ,stor2rrd can not get the data from the storage side and fail via below error:

  
adding to menu : H : V7000-1 Capacity
adding to menu : H : V7000-1 Configuration
adding to menu : S : V7000-1 POOL
adding to menu : S : V7000-1 Managed disk
adding to menu : S : V7000-1 VOLUME
adding to menu : S : V7000-1 PORT
adding to menu : S : V7000-1 CPU
adding to menu : S : V7000-1 HOST
adding to menu : S : V7000-1 IO GROUP
end time       : Thu May 31 15:08:14 +03 2018
An error occured, check /home/stor2rrd/stor2rrd/logs/error.log and output of load.sh

$ tail -4 /home/stor2rrd/stor2rrd/logs/error.log

Thu May 31 15:08:10 2018: V7000-1: Can't open /home/stor2rrd/stor2rrd/data/V7000-1/config.html is missing (fresh install or upgrade?, then wait about 20mins) /home/stor2rrd/stor2rrd/bin/LoadDataModule.pm:30144
Thu May 31 15:08:10 2018: V7000-1: Volumes cfg file has not been found : /home/stor2rrd/stor2rrd/data/V7000-1/VOLUME/volumes.cfg /home/stor2rrd/stor2rrd/bin/storage.pl:12975
Thu May 31 15:08:10 2018: Exiting V7000-1 as some core cfg file is missing: config.html || pool.cfg || volumes.cfg
                 === Check http://www.stor2rrd.com/install-storage.htm for more ===
Thu May 31 15:08:14 +03 2018


==>Error messages refers to below code block. I have waited more than 20 minutes and also tried to reinstall from scratch yet issue still persists.

==>Would you please share your comments in regards the issue.



 print "load nicks     : $host : $subsystem\n" if $DEBUG;
  if ( !-f "$wrkdir/$host/config.html" ) {
    main::error( "$host: Can't open $wrkdir/$host/config.html is missing (fresh install or upgrade?, then wait about 20mins) " . __FILE__ . ":" . __LINE__ );
    return 0;
  }

  
Thanks

Comments

  • is that issue persist?
    this might hapen when storage is initially configured.
  • Hi,
    I had got the same issue when i install my Storages, wait one hour and then start load.sh. It's should working properly.

    Regards,
    Dariusz
Sign In or Register to comment.