Error while setting up Huawei OceanStor Dorado 3000 V6

Hi Xorux team.
First things first.... Thank you very much for this amazing solution. I love it.

Well, let's get to the point.
I've some troubles while setting up a Huawei OceanStor 3000 V6 storage. I'm configuring it through admin user, so permissions and APIREST are ok. Firmware level is "6.0.1.SPH2" .

Checked that is a supported storage.

The error I get on the first (and following) tests is:

API host network connection: OK
TCP connection to XX.XX.XX.YY:8088 is OK.
TCP connection to XX.XX.XX.YY:8088 is OK.

Crontab test: OK

API authorization: NOK  
Can't use string ("") as a HASH ref while "strict refs" in use at /home/stor2rrd/stor2rrd/bin/oceanstor_apitest.pl line 359.
API Test 10.26.126.12

Login to API succesfull! (XX.XX.XX.XX)
Wed Jul  7 15:05:17 2021: ERROR: Command https://XX.XX.XX.XX:8088/deviceManager/rest/2102353BBFTUL7900003/performance_statistic_switch failed! : Invalid argument
Wed Jul  7 15:05:17 2021: Status read failed: Invalid argument at /usr/share/perl5/vendor_perl/Net/HTTP/Methods.pm line 282. : Invalid argument
Wed Jul  7 15:05:17 2021: ERROR: Command https://XX.XX.XX.XX:8088/deviceManager/rest/2102353BBFTUL7900003/system/ failed! : Invalid argument
Wed Jul  7 15:05:17 2021: Status read failed: Invalid argument at /usr/share/perl5/vendor_perl/Net/HTTP/Methods.pm line 282. : Invalid argument

What can we do?
(IPs are obfuscated, just in case)



BTW: is a docker installation.

Thanks again.

Comments

  • Hi,

    what is your stor2rrd product version?
  • Hi Pavel,
    Wow, you guys are fast!!

    Here you are the stor2rrd product info:

    STOR2RRD version7.21
    STOR2RRD editionfree
    OS infoLinux
    Perl versionv5.32.0
    Web server infoApache/2.4.46 (Unix)
    RRDTOOL version1.7.2


    Thank you in advance!
  • Hi,

    ok, our Huawei developer is off this week, he will contact you start of next week with further debuging steps.
  • Hi Pavel,
    Ok thx. Let me know.
  • Hello,

    Try this debug script:

    https://download.stor2rrd.com/patch/7.21-2-4-g06e1/oceanstor_apitest.pl.gz

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

    -rwxr-xr-x 1 stor2rrd stor2rrd 20041 Jul 12 12:24 oceanstor_apitest.pl

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

    Assure that file size is the same as on above example

    after copy script to bin directory

    su -l stor2rrd

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

    export OCEANSTOR_DEBUG=1; ./bin/config_check.sh <STORAGE_ALIAS> > debug_huawei.txt

    where <STORAGE_ALIAS> is storage name in stor2rrd

    Send us debug_huawei.txt via https://upload.stor2rrd.com

    Thank you


  • Hi,
    I've already uploaded the debug logfile. Let me know if u need something from me.

    B. regards,
Sign In or Register to comment.