WBEMCLI: we are trying to migrate from RHEL 6.5 to RHEL 7.2 and the connection stops working

ON the RHEL 6.5 we do: "CURLDEBUG=true ./bin/config_check.sh"

AND get:
=========================
STORAGE: XIV7803191: XIV
=========================
* About to connect() to 192.168.143.205 port 5989 (#0)
*   Trying 192.168.143.205... * connected
* Connected to 192.168.143.205 (192.168.143.205) port 5989 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* skipping SSL peer certificate verification
* SSL connection using TLS_RSA_WITH_AES_256_CBC_SHA
* Server certificate:
* subject: E=owner@us.ibm.com,CN=owner,OU=CIM Agent,O=IBM,L=Armonk,ST=NY,C=US
* start date: Nov 12 03:49:23 2010 GMT
* expire date: Nov 12 03:49:23 2011 GMT
* common name: owner
* issuer: E=owner@us.ibm.com,CN=owner,OU=CIM Agent,O=IBM,L=Armonk,ST=NY,C=US
* Server auth using Basic with user 'admin'
> POST /cimom HTTP/1.1
Authorization: Basic YWRtaW46dHJQZzhQMnU=
Host: 192.168.143.205:5989
Content-Type: application/xml; charset="utf-8"
Connection: Keep-Alive, TE
CIMProtocolVersion: 1.0
CIMOperation: MethodCall
CIMMethod: EnumerateInstances
CIMObject: root%2Fibm
Content-Length: 692

< HTTP/1.1 200 OK
< Content-Type: application/xml; charset="utf-8"
< content-length: 0000003674
< CIMOperation: MethodResponse
* Connection #0 to host 192.168.143.205 left intact
192.168.143.205:5989/root/ibm:IBMTSDS_StorageSystem.CreationClassName="IBMTSDS_StorageSystem",Name="IBM.2810-7803191"
-Caption=
-Description=
-InstallDate=
-StatusDescriptions=
-Status=
-HealthState=5
-EnabledState=5
-OtherEnabledState=
-RequestedState=12
-EnabledDefault=2
-TimeOfLastStateChange=
-PrimaryOwnerName=
-PrimaryOwnerContact=
-Roles=
-OtherDedicatedDescriptions=
-ResetCapability=
-PowerManagementCapabilities=
-CreationClassName="IBMTSDS_StorageSystem"
-Name="IBM.2810-7803191"
-NameFormat="Other"
-ElementName="Storage Facility Image IBM.2810-7803191"
-OperationalStatus=2
-OtherIdentifyingInfo="192.168.143.204","192.168.32.7","192.168.143.205","192.168.143.206","192.168.32.8","192.168.120.20","192.168.120.21","192.168.120.22","IBM.2810.A14.7803191","iqn.2005-10.com.xivstorage:003191"
-IdentifyingDescriptions="ipv4 address","ipv4 address","ipv4 address","ipv4 address","ipv4 address","ipv4 address","ipv4 address","ipv4 address","MTMS","iscsi name"
-CodeLevel="10.2.4.e"
-MinCodeLevel="10.2.4"
-CacheMemory=180224
-NVSMemory=0
-ProcessorMemory=132
-Dedicated=3,15
-DeprecatedName=
* Closing connection #0

ON the RHEL 7.2 we do: "CURLDEBUG=true ./bin/config_check.sh"

AND get:
=========================
STORAGE: XIV7803191: XIV
=========================
* About to connect() to 192.168.143.205 port 5989 (#0)
*   Trying 192.168.143.205...
* Connected to 192.168.143.205 (192.168.143.205) port 5989 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* skipping SSL peer certificate verification
* SSL connection using TLS_RSA_WITH_AES_256_CBC_SHA
* Server certificate:
* subject: E=owner@us.ibm.com,CN=owner,OU=CIM Agent,O=IBM,L=Armonk,ST=NY,C=US
* start date: Nov 12 03:49:23 2010 GMT
* expire date: Nov 12 03:49:23 2011 GMT
* common name: owner
* issuer: E=owner@us.ibm.com,CN=owner,OU=CIM Agent,O=IBM,L=Armonk,ST=NY,C=US
* Server auth using Basic with user 'admin'
> POST /cimom HTTP/1.1
Authorization: Basic YWRtaW46dHJQZzhQMnU=
Host: 192.168.143.205:5989
Content-Type: application/xml; charset="utf-8"
Connection: Keep-Alive, TE
CIMProtocolVersion: 1.0
CIMOperation: MethodCall
CIMMethod: EnumerateInstances
CIMObject: root%2Fibm
Content-Length: 692

* upload completely sent off: 692 out of 692 bytes
* The requested URL returned error: 501 Not Implemented
* Closing connection 0
*
* /usr/bin/wbemcli: Http Exception: HTTP response code said error
*

CAN YOU HELP US PLS

Comments

  • Do you use same wbemcli?

    wbemcli -v      
    * wbemcli Version 1.6.3, $Date: 2013/09/19 14:34:26 $

    curl --version

    If so then openssl might be an issue.
    Confirm wbemcli and let us know.

  • Here the requested info:

    OLD machine:
    RHEL 6
    # cat /etc/redhat-release 
    Red Hat Enterprise Linux Server release 6.7 (Santiago)
    # uname -a
    Linux pmg-bob01.onprvp.fgov.be 2.6.32-573.8.1.el6.x86_64 #1 SMP Fri Sep 25 19:24:22 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
    # wbemcli -v
    * wbemcli Version 1.6.1, $Date: 2009/06/24 17:44:48 $
    # curl --version
    curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.18 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
    # yum list *wbemcli
    Installed Packages
    sblim-wbemcli.x86_64                                 1.6.1-3.el6                                  @/sblim-wbemcli-1.6.1-3.el6.x86_64
    # yum list curl
    Installed Packages
    curl.x86_64                                            7.19.7-46.el6                                             @rhel-6-server-rpms

    NEW machine:
    RHEL 7.2
    # cat /etc/redhat-release 
    Red Hat Enterprise Linux Server release 7.2 (Maipo)
    # uname -a
    Linux lpr-stor2rrd01.onprvp.fgov.be 3.10.0-327.28.3.el7.x86_64 #1 SMP Fri Aug 12 13:21:05 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
    # wbemcli -v
    * wbemcli Version 1.6.3, $Date: 2013/09/19 14:34:26 $
    # curl --version
    curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.16.2.3 Basic ECC zlib/1.2.7 libidn/1.28 libssh2/1.4.3
    # yum list *wbemcli
    Installed Packages
    sblim-wbemcli.x86_64                                1.6.2-10.el7                                 @/sblim-wbemcli-1.6.2-10.el7.x86_64
    # yum list curl
    Installed Packages
    curl.x86_64                                               7.29.0-25.el7                                                @anaconda/7.2

  • Aditionel info:

    Old machine:
    openssl version
    OpenSSL 1.0.1e-fips 11 Feb 2013

    New machine:
    openssl version
    OpenSSL 1.0.1e-fips 11 Feb 2013

    XIV  2814 ( XIV G2 firmware 10.2.4.e )
  • Hi,

    definitelly use wbemcli in version 1.6.3.
    This is tested and supported. Other version might work also. We know that same versions do not work properly.

  • Problem solved:
    Our XIV G2 is now updated to 10.2.4.e-8 and all the functions ( wbemcli ) work correctly on RHEL 6 AND RHEL 7
Sign In or Register to comment.