[lpar2rrd@xoruxibm stor2rrd]$ ./bin/config_check.sh compellent01
=========================
STORAGE: compellent01: COMPELLENT
=========================
TCP connection to "10.10.1.10" on port "3033" is ok
/usr/bin/perl /home/lpar2rrd/stor2rrd/bin/compellent_apitest.pl "admin" XXXXX "10.10.1.10" "3033"
ERROR: Login to API failed :
JBoss Web/7.2.0.Final - JBWEB000064: Error report JBWEB000065: HTTP Status 400 - java.io.EOFException: No content to map to Object due to end of input
JBWEB000309: type JBWEB000067: Status report
JBWEB000068: message java.io.EOFException: No content to map to Object due to end of input
JBWEB000069: description JBWEB000120: The request sent by the client was syntactically incorrect.
JBoss Web/7.2.0.Final
:
Cookie is not defined! :
URL: https://10.10.1.10:3033/api/rest/ApiConnection/Login
$VAR1 = \bless( {
'_content' => '',
'_uri' => bless( do{\(my $o = 'https://10.10.1.10:3033/api/rest/ApiConnection/Login')}, 'URI::https' ),
'_headers' => bless( {
'x-dell-api-version' => '2.0',
'content-type' => 'application/json; charset=utf-8',
'accept' => 'application/json',
'authorization' => 'Basic YWRtaW46UXdlcnR5MTIz',
'::std_case' => {
'x-dell-api-version' => 'X-Dell-Api-Version'
}
}, 'HTTP::Headers' ),
'_method' => 'POST'
}, 'HTTP::Request' );
$VAR1 = \bless( {
'_msg' => 'Bad Request',
'_content' => 'JBoss Web/7.2.0.Final - JBWEB000064: Error report JBWEB000065: HTTP Status 400 - java.io.EOFException: No content to map to Object due to end of input
JBWEB000309: type JBWEB000067: Status report
JBWEB000068: message java.io.EOFException: No content to map to Object due to end of input
JBWEB000069: description JBWEB000120: The request sent by the client was syntactically incorrect.
JBoss Web/7.2.0.Final
',
'_protocol' => 'HTTP/1.1',
'_headers' => bless( {
'connection' => 'close',
'set-cookie' => 'JSESSIONID=Wi0Vw+JWZObRGoa-D6LPt2rk; Path=/api; Secure',
'date' => 'Thu, 16 Aug 2018 11:42:39 GMT',
'client-ssl-cert-issuer' => '/C=US/ST=Minnesota/L=Eden Prairie/O=Dell Inc/CN=vtrial.damain.loc',
'client-ssl-cipher' => 'ECDHE-RSA-AES128-SHA256',
'client-peer' => '10.10.1.10:3033',
'client-date' => 'Thu, 16 Aug 2018 11:42:39 GMT',
'client-ssl-warning' => 'Peer certificate not verified',
'content-type' => 'text/html;charset=utf-8',
'server' => 'Apache-Coyote/1.1',
'client-ssl-socket-class' => 'IO::Socket::SSL',
'client-response-num' => 1,
'content-length' => '1199',
'::std_case' => {
'client-response-num' => 'Client-Response-Num',
'set-cookie' => 'Set-Cookie',
'client-ssl-cert-issuer' => 'Client-SSL-Cert-Issuer',
'client-ssl-cipher' => 'Client-SSL-Cipher',
'client-peer' => 'Client-Peer',
'client-date' => 'Client-Date',
'client-ssl-warning' => 'Client-SSL-Warning',
'client-ssl-cert-subject' => 'Client-SSL-Cert-Subject',
'title' => 'Title',
'client-ssl-socket-class' => 'Client-SSL-Socket-Class'
},
'client-ssl-cert-subject' => '/C=US/ST=Minnesota/L=Eden Prairie/O=Dell Inc/CN=vtrial.damain.loc',
'title' => 'JBoss Web/7.2.0.Final - JBWEB000064: Error report'
}, 'HTTP::Headers' ),
'_rc' => '400',
'_request' => bless( {
'_content' => '',
'_uri' => bless( do{\(my $o = 'https://10.10.1.10:3033/api/rest/ApiConnection/Login')}, 'URI::https' ),
'_headers' => bless( {
'user-agent' => 'libwww-perl/6.05',
'x-dell-api-version' => '2.0',
'content-type' => 'application/json; charset=utf-8',
'accept' => 'application/json',
'authorization' => 'Basic YWRtaW46UXdlcnR5MTIz',
'::std_case' => {
'x-dell-api-version' => 'X-Dell-Api-Version',
'if-ssl-cert-subject' => 'If-SSL-Cert-Subject'
}
}, 'HTTP::Headers' ),
'_method' => 'POST',
'_uri_canonical' => ${$VAR1}->{'_request'}->{'_uri'}
}, 'HTTP::Request' )
}, 'HTTP::Response' );
connection failed!!
[lpar2rrd@xoruxibm stor2rrd]$