[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] VM.start and MESSAGE_PARAMETER_COUNT_MISMATCH


  • To: RafaÅ Michalak <rafalak@xxxxxxxxx>, "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • From: John Else <john.else@xxxxxxxxxx>
  • Date: Thu, 18 Apr 2013 11:41:52 +0100
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Delivery-date: Thu, 18 Apr 2013 10:42:23 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: Ac48HaHgDa9Ekx9CRt6BrODZzv+etAAAjFLA
  • Thread-topic: [Xen-API] VM.start and MESSAGE_PARAMETER_COUNT_MISMATCH

Hi Rafal,

 

Iâm not sure which client library youâre using, but I know the python library adds the session ID into the list of arguments for you, so youâd only have to call session.xenapi.VM.start(vmRef, True, True)

 

John

 

From: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxx] On Behalf Of Rafal Michalak
Sent: 18 April 2013 11:12
To: xen-api@xxxxxxxxxxxxx
Subject: [Xen-API] VM.start and MESSAGE_PARAMETER_COUNT_MISMATCH

 

Hello guys.

When I send VM.start with params (sessionId, vmRef, true, true)

I've got MESSAGE_PARAMETER_COUNT_MISMATCH

 

What is the cause of the error ?

 

My environment

Xen 4.2.1

 

raw query and response

<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>VM.start</methodName><params><param><value>78d1d27e-ee13-ab41-766c-39ca1660e0fb</value></param><param><value>e7c5a6ce-7e3d-62f2-478d-de990dd29fe1</value></param><param><value><boolean>1</boolean></value></param><param><value><boolean>1</boolean></value></param></params></methodCall>

 

<?xml version='1.0'?>

<methodResponse>

<params>

<param>

<value><struct>

<member>

<name>Status</name>

<value><string>Failure</string></value>

</member>

<member>

<name>ErrorDescription</name>

<value><array><data>

<value><string>MESSAGE_PARAMETER_COUNT_MISMATCH</string></value>

<value><string>VM.start</string></value>

<value><string>3</string></value>

<value><string>4</string></value>

</data></array></value>

</member>

</struct></value>

</param>

</params>

</methodResponse>

 

 

Thanks

Rafal M.

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.