|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
invoke method abortingHi,
I am trying to invoke a method named 'getCPUIds' of one of my providers which takes 1 parameter named 'vmName' using: # wsman invoke -a getCPUIds -k vmName=mbrGuestVM-3 -h hostname -P 8889 -u wsman -p secret -y basic http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Xen_ProviderClass On the client side it throws out a parser error and returns an error code of 503 On the server side, the openwsmand aborts after throwing the following output: ==================================================================== Aug 31 16:14:01 [15365] decide_what_to_do: [/wsman] Aug 31 16:14:01 [15365] is_alias: aliases [] Aug 31 16:14:01 [15365] Checking basic for user: wsman; password XXXXX Aug 31 16:14:01 [15365] user: wsman, passwd: XXXX Aug 31 16:14:01 [15365] user: wsman, passwd: XXXXX Aug 31 16:14:01 [15365] Done reading request Aug 31 16:14:01 [15365] Inbound call... Aug 31 16:14:01 [15365] uri: http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Xen_ProviderClass, action: http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Xen_ProviderClass/getCPUIds Aug 31 16:14:01 [15365] namespace: http://schemas.dmtf.org/wbem/wsman/identity/1/wsmanidentity.xsd Aug 31 16:14:01 [15365] namespace: http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2 Aug 31 16:14:01 [15365] Processing Filters: inbound Aug 31 16:14:01 [15365] Checking Message ID: uuid:b624994d-726d-126d-8002-000000000000 Aug 31 16:14:01 [15365] Custom Method Endpoint Called Aug 31 16:14:01 [15365] username: wsman, password: XXXXX Aug 31 16:14:01 [15365] Connecting using sfcc XML frontend Aug 31 16:14:01 [15365] new cimclient: 0x 627c70 Aug 31 16:14:01 [15365] new cimclient: 1 Aug 31 16:14:01 [15365] no SelectorSet defined Aug 31 16:14:01 [15365] method or action: getCPUIds Aug 31 16:14:01 [15365] wsman_get_method_args Aug 31 16:14:01 [15365] method or action: getCPUIds Aug 31 16:14:01 [15365] text: vmName Aug 31 16:14:01 [15365] Requested Class: Xen_ProviderClass Aug 31 16:14:01 [15365] class available Parse error. Expected token(s) XTOK_ERROR or XTOK_IRETVALUE, found tag number 273 (see cimXmlParser.h) and following xml: </SIMPLERSP> </MESSAGE> </CIM> ... Aborting. ======================================================================== Could you kindly let me know if I am doing something wrong here. Thanks Prashanth |
|
|
Re: invoke method aborting* Prash_blah <prashanth.venky@...> [Aug 31. 2009 13:02]:
> > Hi, > > I am trying to invoke a method named 'getCPUIds' of one of my providers > which takes 1 parameter named 'vmName' using: > > # wsman invoke -a getCPUIds -k vmName=mbrGuestVM-3 -h hostname -P 8889 -u > wsman -p secret -y basic > http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Xen_ProviderClass > > On the client side it throws out a parser error and returns an error code of > 503 Which CIMOM are you using ? If its sblim-sfcb, run it with "-t 4096" to dump the received xml to the log. Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Openwsman-devel mailing list Openwsman-devel@... https://lists.sourceforge.net/lists/listinfo/openwsman-devel |
|
|
Re: invoke method abortingI am using Open Pegasus as the CIM server.
-Prash
|
| Free embeddable forum powered by Nabble | Forum Help |