Quantum StorNext - dothill_apitest.pl timed out

Hi, 
During adding new storage system (Quantum StorNext) on stor2rrd (v2.71) via GUI i have strange problem.

API host network connection: OK
Crontab test: OK
API authorization: NOK
script /home/lpar2rrd/stor2rrd/bin/dothill_apitest.pl timed out after : 30 seconds

When I check script manualy there is NO problem:
# /usr/bin/wbemcli -nl -t -noverify ei 'http://manage:******@XX.XX.XX.XX:5988/root/dhs:CIM_ComputerSystem'
...


I checked http and https options ...


Pls help.



Comments

  • Hi,

    send us
    su - stor2rrd (lpar2rrd on the appliance)
    cd /home/stor2rrd/stor2rrd
    ./bin/config_check.sh <storage name>

    support at stor2rrd dot com
  • Hi,
    Thank you Pavel for reply ... you are here as always :)

    Here is output:
    =========================
    STORAGE: QXS_Standby: DOTHILL
    =========================
      TCP connection to "10.xxx.xxx.106" on port "5988" is ok
      TCP connection to "10.xxx.xxx.106" on port "80" is ok
      TCP connection to "10.xxx.xxx.107" on port "5988" is ok
      TCP connection to "10.xxx.xxx.107" on port "80" is ok
    SMI-S API is ok, going to test Web-browser interface (WBE) through http
    /usr/bin/perl /home/lpar2rrd/stor2rrd/bin/dothill_apitest.pl manage XXXXX 10.xxx.xxx.106 http
    Request error "Status read failed: Connection reset by peer at /usr/share/perl5/vendor_perl/Net/HTTP/Methods.pm line 265.
    " : http://10.xxx.xxx.106/api/login/ : Connection reset by peer
    SMI-S API is ok, going to test Web-browser interface (WBE) through http
    /usr/bin/perl /home/lpar2rrd/stor2rrd/bin/dothill_apitest.pl manage XXXXX 10.xxx.xxx.106 http
    Request error "Status read failed: Connection reset by peer at /usr/share/perl5/vendor_perl/Net/HTTP/Methods.pm line 265.
    " : http://10.xxx.xxx.106/api/login/ : Connection reset by peer
    SMI-S API is ok, going to test Web-browser interface (WBE) through http
    /usr/bin/perl /home/lpar2rrd/stor2rrd/bin/dothill_apitest.pl manage XXXXX 10.xxx.xxx.106 http
    Request error "Status read failed: Connection reset by peer at /usr/share/perl5/vendor_perl/Net/HTTP/Methods.pm line 265.
    " : http://10.xxx.xxx.106/api/login/ : Connection reset by peer
      connection failed!!


    =========================
    STORAGE: QXS_Primary: DOTHILL
    =========================
      TCP connection to "10.xxx.xxx.103" on port "5988" is ok
      TCP connection to "10.xxx.xxx.103" on port "80" is ok
      TCP connection to "10.xxx.xxx.104" on port "5988" is ok
      TCP connection to "10.xxx.xxx.104" on port "80" is ok
    SMI-S API is ok, going to test Web-browser interface (WBE) through http
    /usr/bin/perl /home/lpar2rrd/stor2rrd/bin/dothill_apitest.pl manage XXXXX 10.xxx.xxx.103 http
    Request error "Status read failed: Connection reset by peer at /usr/share/perl5/vendor_perl/Net/HTTP/Methods.pm line 265.
    " : http://10.xxx.xxx.103/api/login/ : Connection reset by peer
    SMI-S API is ok, going to test Web-browser interface (WBE) through http
    /usr/bin/perl /home/lpar2rrd/stor2rrd/bin/dothill_apitest.pl manage XXXXX 10.xxx.xxx.103 http
    Request error "Status read failed: Connection reset by peer at /usr/share/perl5/vendor_perl/Net/HTTP/Methods.pm line 265.
    " : http://10.xxx.xxx.103/api/login/ : Connection reset by peer
    SMI-S API is ok, going to test Web-browser interface (WBE) through http
    /usr/bin/perl /home/lpar2rrd/stor2rrd/bin/dothill_apitest.pl manage XXXXX 10.xxx.xxx.103 http
    Request error "Status read failed: Connection reset by peer at /usr/share/perl5/vendor_perl/Net/HTTP/Methods.pm line 265.
    " : http://10.xxx.xxx.103/api/login/ : Connection reset by peer
      connection failed!!



    when i change to 'smis' protocol output looks like these:
    =========================
    STORAGE: QXS_Standby: DOTHILL
    =========================
      TCP connection to "10.xxx.xxx.106" on port "5989" is ok
      TCP connection to "10.xxx.xxx.106" on port "443" is ok
      TCP connection to "10.xxx.xxx.107" on port "5989" is ok
      TCP connection to "10.xxx.xxx.107" on port "443" is ok
    SMI-S API is ok, going to test Web-browser interface (WBE) through https
    /usr/bin/perl /home/lpar2rrd/stor2rrd/bin/dothill_apitest.pl manage XXXXX 10.xxx.xxx.106 https
    Request error "Can't connect to 10.xxx.xxx.106:443

    Connection reset by peer at /usr/share/perl5/LWP/Protocol/http.pm line 51.
    " : https://10.xxx.xxx.106/api/login/ : Connection reset by peer
    SMI-S API is ok, going to test Web-browser interface (WBE) through https
    /usr/bin/perl /home/lpar2rrd/stor2rrd/bin/dothill_apitest.pl manage XXXXX 10.xxx.xxx.106 https
    Request error "Can't connect to 10.xxx.xxx.106:443

    Connection reset by peer at /usr/share/perl5/LWP/Protocol/http.pm line 51.
    " : https://10.xxx.xxx.106/api/login/ : Connection reset by peer
    SMI-S API is ok, going to test Web-browser interface (WBE) through https
    /usr/bin/perl /home/lpar2rrd/stor2rrd/bin/dothill_apitest.pl manage XXXXX 10.xxx.xxx.106 https
    Request error "Can't connect to 10.xxx.xxx.106:443

    Connection reset by peer at /usr/share/perl5/LWP/Protocol/http.pm line 51.
    " : https://10.xxx.xxx.106/api/login/ : Connection reset by peer
      connection failed!!

  • Hi,

    telnet 10.xxx.xxx.106 80

    then type "GET /" and twice enter


  • Hi,

    Thank you for reply - here is output:

    # telnet 10.xxx.xxx.106 80
    Trying 10.xxx.xxx.106...
    Connected to 10.xxx.xxx.106.
    Escape character is '^]'.
    GET /

    ^]

    telnet> 
  • eitehr from storage CLI:
    show protocols 

    or a screenshot of the same from the storage UI

  • nuronex
    edited April 2020
    Here is output:

    # ssh -l manage 10.2xxx.xxx.106
    Password:

    Quantum Q-Series QXS
    System Name: QXS_Standby
    System Location: xxxx
    Version: GLxxx
    #
    #
    #
    #
    #
    # show protocols
    Service and Security Protocols
    ------------------------------
    Web Browser Interface (HTTP): Enabled
    Secure Web Browser Interface (HTTPS): Enabled
    Command Line Interface (Telnet): Enabled
    Secure Command Line Interface (SSH): Enabled
    Storage Management Initiative Specification (SMI-S): Disabled
    Unsecure Storage Management Initiative Specification (SMI-S 5988): Enabled
    File Transfer Protocol (FTP): Enabled
    Simple Network Management Protocol (SNMP): Enabled
    Service Debug (Debug): Enabled
    In-band SES Management (SES): Enabled
    Activity Progress Reporting (activity): Enabled
    Management Mode: v3

    Success: Command completed successfully. (2020-04-15 12:19:30)

    #

  • Hi,

    it looks good.
    Can you try to switch to https  in sto2rrd storage properties, get network access (storage:443) and try connection test again?

    BTW how old is that storage? Reatively new one?
  • Yes ... I tried this earlier ... in first output you have both protocols (http and https): quite similar error.

    Yes storage are quite new.
  • do you have any other working storage same type (HPE MSA, Dothil, Quantum)?

    could you test same telnet test from above?
    as per me it must return something

  • Unfortunately I have only these two StorNext storages ...
  • As per me storage does not response on REST API.

    It must response via telnet from above example, error or whatever.

    here is en example from some other storage and REST API via telnet:

    # telnet 10.22.111.76 80
    Trying 10.22.111.76...
    Connected to 10.22.111.76.
    Escape character is '^]'.
    GET /

    <html>
    <head><title>302 Found</title></head>
    <body>
    <center><h1>302 Found</h1></center>
    <hr><center>nginx</center>
    </body>
    </html>
    Connection closed by foreign host.


    so problem is :
    1. either on your LAN when connection is not forwarded to the storage on firewalls
    2. storage do not response on REST API, contact storage support, attach above telnet example ideally from a machine on the same network to exclude any filtering on the network


    Let us know

Sign In or Register to comment.