WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] VM Guest Metrics Error (MESSAGE_METHOD_UNKNOWN)

To: xen-users@xxxxxxxxxxxxxxxxxxx, xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] VM Guest Metrics Error (MESSAGE_METHOD_UNKNOWN)
From: S. Ercan Yüzbasioglu <ercan.yuzbasioglu@xxxxxxxxx>
Date: Mon, 9 Feb 2009 14:48:52 +0100
Cc:
Delivery-date: Mon, 09 Feb 2009 05:48:58 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=I/kCSRZ8gjjtZEjJohqE5oVHsyLQ121zdb64Qooa/dw=; b=s1tmJrT/r67o/JEk1Cs0mUWjbb8467z4fYeBFn9ctFxxtx234To/OPjrUmZnJSrami XONIYngiksodO6qpgQutwWRKAFe9VfhDy7/Uk88SkcDyq8QEeSSD5Cw6b7oNQinZgM3v ZfhzgotVFlNNaWi50+FZkYfakfZ7KvX2iYFYI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=oEYHTBTeA+gIianBjFlFlsoLZzrua/1xbrHguObgwcAbmg82tuLYwMxRmdAqXdr0+7 HU43c/Loolsg8bsj5we+/epB6ydQG0nrms8nsM6rUReWV6O3+ujyfo1a8bpqRB/24Zmh 0+/foEk4l7kCPQ72cvXWkP4idw5h6XGqqjnxU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

I use the python binding of Xen API. I want to query some guest
information, so I have a code like:

# ... open session, login, etc ...
metrics = session.xenapi.VM.get_metrics(vmref)
g_metrics = session.xenapi.VM.get_guest_metrics(vmref)

The first one returns a VM_metrics object successfully. But the second
one gives the following error:

XenAPI.Failure: MESSAGE_METHOD_UNKNOWN

Question: Am I doing something wrong or is "VM_guest_metrics" not
implemented? (If so, why is it there in the API reference 1.0.6??)

I use Xen 3.2.1

Cheers,
Ercan

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

<Prev in Thread] Current Thread [Next in Thread>