issue with invoke method

View: New views
5 Messages — Rating Filter:   Alert me  

issue with invoke method

by Prash_blah :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

I am not sure if this is the same issue as raised earlier. So I am starting a new thread.

While trying to call invoke method, sfcc seems to be aborting with the error invalid value. I was not able to make any sense of this error. Can someone kindly look at the output and let me know as to what could be happening here:

# wsman invoke -a getCPUIds -k vmName=mbrGuestVM-3 -h host -P 8889 -u wsman -p secret -y basic http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Xen_ProviderClass?Name="001"

===========================================
Oct  1 11:53:19 [927] decide_what_to_do: [/wsman]
Oct  1 11:53:19 [927] is_alias: aliases []
Oct  1 11:53:19 [927] Checking basic for user: wsman; password XXXXX
Oct  1 11:53:19 [927] user: wsman,  passwd: XXXX
Oct  1 11:53:19 [927] user: wsman,  passwd: XXXXX
Oct  1 11:53:19 [927] Done reading request
Oct  1 11:53:19 [927] Inbound call...
Oct  1 11:53:19 [927] 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
Oct  1 11:53:19 [927] namespace: http://schemas.dmtf.org/wbem/wsman/identity/1/wsmanidentity.xsd
Oct  1 11:53:19 [927] namespace: http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2
Oct  1 11:53:19 [927] Processing Filters: inbound
Oct  1 11:53:19 [927] Checking Message ID: uuid:aef6d8c1-74d9-14d9-8002-000000000000
Oct  1 11:53:19 [927] Custom Method Endpoint Called
Oct  1 11:53:19 [927] username: wsman, password: XXXXX
Oct  1 11:53:19 [927] Connecting using sfcc XML frontend
Oct  1 11:53:19 [927] new cimclient: 0x  621fb0
Oct  1 11:53:19 [927] new cimclient: 1
Oct  1 11:53:19 [927] text: Name
Oct  1 11:53:19 [927] method or action: getCPUIds
Oct  1 11:53:19 [927] wsman_get_method_args
Oct  1 11:53:19 [927] method or action: getCPUIds
Oct  1 11:53:19 [927] text: vmName
Oct  1 11:53:19 [927] class available
Oct  1 11:53:19 [927] enumInstanceNames rc=0, msg=(null)
Oct  1 11:53:19 [927] objectpath: Xen_ProviderClass.Name="001"
Oct  1 11:53:19 [927] verify selectors
Oct  1 11:53:19 [927] getKeyCount rc=0, msg=(null)
Oct  1 11:53:19 [927] selector count from user: 1, in object path: 1
Oct  1 11:53:19 [927] getKey rc=0, msg=(null)
Oct  1 11:53:19 [927] fault: 0 0
Oct  1 11:53:19 [927] adding method arguments
Oct  1 11:53:19 [927] text: mbrGuestVM-3
backend/cimxml/value.c(459): invalid value 18160-1
==================================================



Re: issue with invoke method

by A_Venkatachalam :: Rate this Message:

| View Threaded | Show Only this Message

We had seen the similar kind of issue when sfcc was returning error stating invalid type when using invoke method. The issue was because of some uninitialized structures and as a result of which some garbage value was creeping into the type.

We have submitted a patch to sfcc, not sure if it has been picked, please try the attached patch on sfcc.

Thanks,

Arun Venkatachalam
Dell R & D Centre,
Bangalore.
Extn - 78973

 Please consider the environment before printing this e-mail.


-----Original Message-----
From: Prash_blah [mailto:prashanth.venky@...]
Sent: Thursday, October 01, 2009 12:10 PM
To: openwsman-devel@...
Subject: [Openwsman-devel] issue with invoke method


Hi,

I am not sure if this is the same issue as raised earlier. So I am starting
a new thread.

While trying to call invoke method, sfcc seems to be aborting with the error
invalid value. I was not able to make any sense of this error. Can someone
kindly look at the output and let me know as to what could be happening
here:

# wsman invoke -a getCPUIds -k vmName=mbrGuestVM-3 -h host -P 8889 -u wsman
-p secret -y basic
http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/Xen_ProviderClass?Name="001"

===========================================
Oct  1 11:53:19 [927] decide_what_to_do: [/wsman]
Oct  1 11:53:19 [927] is_alias: aliases []
Oct  1 11:53:19 [927] Checking basic for user: wsman; password XXXXX
Oct  1 11:53:19 [927] user: wsman,  passwd: XXXX
Oct  1 11:53:19 [927] user: wsman,  passwd: XXXXX
Oct  1 11:53:19 [927] Done reading request
Oct  1 11:53:19 [927] Inbound call...
Oct  1 11:53:19 [927] 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
Oct  1 11:53:19 [927] namespace:
http://schemas.dmtf.org/wbem/wsman/identity/1/wsmanidentity.xsd
Oct  1 11:53:19 [927] namespace:
http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2
Oct  1 11:53:19 [927] Processing Filters: inbound
Oct  1 11:53:19 [927] Checking Message ID:
uuid:aef6d8c1-74d9-14d9-8002-000000000000
Oct  1 11:53:19 [927] Custom Method Endpoint Called
Oct  1 11:53:19 [927] username: wsman, password: XXXXX
Oct  1 11:53:19 [927] Connecting using sfcc XML frontend
Oct  1 11:53:19 [927] new cimclient: 0x  621fb0
Oct  1 11:53:19 [927] new cimclient: 1
Oct  1 11:53:19 [927] text: Name
Oct  1 11:53:19 [927] method or action: getCPUIds
Oct  1 11:53:19 [927] wsman_get_method_args
Oct  1 11:53:19 [927] method or action: getCPUIds
Oct  1 11:53:19 [927] text: vmName
Oct  1 11:53:19 [927] class available
Oct  1 11:53:19 [927] enumInstanceNames rc=0, msg=(null)
Oct  1 11:53:19 [927] objectpath: Xen_ProviderClass.Name="001"
Oct  1 11:53:19 [927] verify selectors
Oct  1 11:53:19 [927] getKeyCount rc=0, msg=(null)
Oct  1 11:53:19 [927] selector count from user: 1, in object path: 1
Oct  1 11:53:19 [927] getKey rc=0, msg=(null)
Oct  1 11:53:19 [927] fault: 0 0
Oct  1 11:53:19 [927] adding method arguments
Oct  1 11:53:19 [927] text: mbrGuestVM-3
backend/cimxml/value.c(459): invalid value 18160-1
==================================================



--
View this message in context: http://www.nabble.com/issue-with-invoke-method-tp25693430p25693430.html
Sent from the Openwsman - Development mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@...
https://lists.sourceforge.net/lists/listinfo/openwsman-devel


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@...
https://lists.sourceforge.net/lists/listinfo/openwsman-devel

sblim-sfcc-2.1.0-initialization.patch (20K) Download Attachment

Re: issue with invoke method

by Klaus Kaempf :: Rate this Message:

| View Threaded | Show Only this Message

* A_Venkatachalam@... <A_Venkatachalam@...> [Oct 01. 2009 08:59]:
> We had seen the similar kind of issue when sfcc was returning error stating invalid type when using invoke method. The issue was because of some uninitialized structures and as a result of which some garbage value was creeping into the type.
>
> We have submitted a patch to sfcc, not sure if it has been picked, please try the attached patch on sfcc.

There was a new sfcc release last week. Whats the tracker # of your
patch ? Maybe its already included in the new release.

Klaus
---
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@...
https://lists.sourceforge.net/lists/listinfo/openwsman-devel

Re: issue with invoke method

by A_Venkatachalam :: Rate this Message:

| View Threaded | Show Only this Message

Sfcc 2.2.1 has my changes. Please try with this version of SFCC.

Thanks,

Arun Venkatachalam
Dell R & D Centre,
Bangalore.
Extn - 78973

 Please consider the environment before printing this e-mail.


-----Original Message-----
From: Klaus Kaempf [mailto:kkaempf@...]
Sent: Thursday, October 01, 2009 12:36 PM
To: Venkatachalam, A
Cc: prashanth.venky@...; openwsman-devel@...
Subject: Re: [Openwsman-devel] issue with invoke method

* A_Venkatachalam@... <A_Venkatachalam@...> [Oct 01. 2009 08:59]:
> We had seen the similar kind of issue when sfcc was returning error stating invalid type when using invoke method. The issue was because of some uninitialized structures and as a result of which some garbage value was creeping into the type.
>
> We have submitted a patch to sfcc, not sure if it has been picked, please try the attached patch on sfcc.

There was a new sfcc release last week. Whats the tracker # of your
patch ? Maybe its already included in the new release.

Klaus
---
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@...
https://lists.sourceforge.net/lists/listinfo/openwsman-devel

Re: issue with invoke method

by Prash_blah :: Rate this Message:

| View Threaded | Show Only this Message

Hi Arun,

Thanks for the patch. I installed the patch and this issues was not seen.

Thanks
Prashanth

On Thu, Oct 1, 2009 at 12:47 PM, <A_Venkatachalam@...> wrote:
Sfcc 2.2.1 has my changes. Please try with this version of SFCC.

Thanks,

Arun Venkatachalam
Dell R & D Centre,
Bangalore.
Extn - 78973

 Please consider the environment before printing this e-mail.


-----Original Message-----
From: Klaus Kaempf [mailto:kkaempf@...]
Sent: Thursday, October 01, 2009 12:36 PM
To: Venkatachalam, A
Cc: prashanth.venky@...; openwsman-devel@...
Subject: Re: [Openwsman-devel] issue with invoke method

* A_Venkatachalam@... <A_Venkatachalam@...> [Oct 01. 2009 08:59]:
> We had seen the similar kind of issue when sfcc was returning error stating invalid type when using invoke method. The issue was because of some uninitialized structures and as a result of which some garbage value was creeping into the type.
>
> We have submitted a patch to sfcc, not sure if it has been picked, please try the attached patch on sfcc.

There was a new sfcc release last week. Whats the tracker # of your
patch ? Maybe its already included in the new release.

Klaus
---
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)



------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@...
https://lists.sourceforge.net/lists/listinfo/openwsman-devel