PowerVM

Power Virtualization

Learn about the virtualization technologies designed specifically for IBM Power including #PowerVM, #PowerVC, #VM Recovery Manager#HCM/CMC, and more.


#Power
#TechXchange Conference Lab


#Servers
 View Only
  • 1.  REST0060 Unexpected exception invoking WestboundRootAdapter

    Posted 01/06/16 11:56 AM

    Originally posted by: LaurentOliva


    hello,

     

    on HMC (882 SP1), i'm trying to use "clirunner" through the RESTAPI.

     

    When i submit a cliRunner operation, i got the following error :

     

    PUT /rest/api/uom/ManagementConsole/XXXXXXXXXXX/do/CLIRunner

     

    <entry xmlns="http://www.w3.org/2005/Atom" xmlns:ns2="http://a9.com/-/spec/opensearch/1.1/" xmlns:ns3="http://www.w3.org/1999/xhtml">
        <id>XXXXXXXXXXX</id>
        <title>HttpErrorResponse</title>
        <published>2016-01-06T17:10:38.063+01:00</published>
        <author>
            <name>IBM Power Systems Management Console</name>
        </author>
        <content type="application/vnd.ibm.powervm.web+xml; type=HttpErrorResponse">
            <HttpErrorResponse:HttpErrorResponse xmlns:HttpErrorResponse="http://www.ibm.com/xmlns/systems/power/firmware/web/mc/2012_10/" xmlns="http://www.ibm.com/xmlns/systems/power/firmware/web/mc/2012_10/" xmlns:ns2="http://www.w3.org/XML/1998/namespace/k2" schemaVersion="V1_2_0">
        <Metadata>
            <Atom/>
        </Metadata>
        <HTTPStatus kxe="false" kb="ROR">500</HTTPStatus>
        <RequestURI kb="ROR" kxe="false">/rest/api/uom/ManagementConsole/XXXXXXXXXXX/do/CLIRunner</RequestURI>
        <ReasonCode kb="ROR" kxe="false">Unknown internal error.</ReasonCode>
        <Message kb="ROO" kxe="false">REST0060 Unexpected exception invoking WestboundRootAdapter to request a single ROOT object of type class com.ibm.xmlns.powervm.uom.v2012_10.ManagementConsole</Message>
        <RequestBody kb="ROO" kxe="false"/>
        <RequestHeaders kb="ROO" kxe="false">{Accept-Encoding=identity, Host=<MYHMC>:12443, Content-Length=1286, Content-Type=application/vnd.ibm.powervm.web+xml; type=JobRequest, X-API-Session=*******, X-Transaction-ID=XT10003154}</RequestHeaders>
    </HttpErrorResponse:HttpErrorResponse>
        </content>
    </entry>

     

    The command i'm trying to execute through the CLIRUNNER provided by the RESTAPI is :

    $ viosvrcmd -m FRAME --id 1 -c "rmdev -dev XXXXX"

     

    If i execute the command from the HMC CLI, it works.

     

    Is it a bug of the REST API ?

     


    #HMCandCMC
    #Power-Hardware-Management-Console-Programmers


  • 2.  Re: REST0060 Unexpected exception invoking WestboundRootAdapter

    Posted 01/07/16 06:15 AM

    Originally posted by: manjunathns


    Hi,

     

    Is this an intermittent issue you are seeing while perform REST request? We might get this issue when the underlying commands take longer time to respond. There is a fix available in the 820 SP2 version of HMC. Please update the HMC with the latest service pack. Or Rebooting the HMC should solve the problem. Thanks!

    -Manju


    #HMCandCMC
    #Power-Hardware-Management-Console-Programmers


  • 3.  Re: REST0060 Unexpected exception invoking WestboundRootAdapter

    Posted 01/08/16 04:38 AM

    Originally posted by: LaurentOliva


    i confirm the issue no longer appear after a reboot.

     

    I'm very disappointed about the stability of HMC software.

    This is not the first time i need to reboot an HMC in order to solve an issue.


    #HMCandCMC
    #Power-Hardware-Management-Console-Programmers


  • 4.  Re: REST0060 Unexpected exception invoking WestboundRootAdapter

    Posted 01/11/16 12:16 AM

    Originally posted by: manjunathns


    Hi. I can understand your disappointment. REST API is the newer functionality that is delivered in the HMC. We are working on fixing any resiliency and performance issue we observe in the REST functionality and providing fix as part of the service packs. This is an issue, where the underlying command taking longer time in responding the HMC's interface name/IP. This issue has been fixed by putting the retry and using other mechanism to get the interface name. And the fix is made available in the latest service packs. Please let me know any other issue you see. And also let me know for other issues where you had to reboot the HMC. Thanks!

    -Manju


    #Power-Hardware-Management-Console-Programmers
    #HMCandCMC