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] Re: VM Guest Metrics Error (MESSAGE_METHOD_UNKNOWN)

To: xen-users@xxxxxxxxxxxxxxxxxxx, xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] Re: VM Guest Metrics Error (MESSAGE_METHOD_UNKNOWN)
From: S. Ercan Yüzbasioglu <ercan.yuzbasioglu@xxxxxxxxx>
Date: Mon, 9 Feb 2009 17:48:33 +0100
Cc:
Delivery-date: Mon, 09 Feb 2009 08:48:43 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=Dq/BQ3hulcOgnn9DkrYkO9LlOULYPGOGTV5BsszHhW8=; b=fYQirI0oAEfmSuVD8MOlfv7/cclKIrQByySNfTCtQNV6jh/AA+Mw/k++12bmrI8hjp qhXsNUaTN31F9qKuYaSivRakBIs7osSyftDgHL4oPP8TA84wT+v4tVG2229bAQ3e6868 qy+s7ezAmsldokd351afNZ0sEvC1xzM37sgTQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=taUdyEA1NNNo996P7Cjxsek/iQoOAHFt8Yb8c401mqVph0fPuGoxO8tdMTN4To1lJa ug4rHi3tgfqF94j5FByPlu/ujdy1QsN4iAH7vhtBh+g8MESa/TLM0zdnkHPPG0/BgpXF QQmo095nd5J6xHykHjtEU4/4vPXzGrLd15r/c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <d71fa1da0902090548t6c614822o914e2ab2d0763c10@xxxxxxxxxxxxxx>
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>
References: <d71fa1da0902090548t6c614822o914e2ab2d0763c10@xxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Apparently the latest version of open source xen 3.3.1 has very little support for guest metrics. Keyword: "xenballoon deamon".

One has to install a bunch of tools in each of the PV guests to get internal metrics from it, and there is even a distro restriction (it only supports redhat for now).

I assume that only the commercial Xen really sticks to the Xen API on the xensource page.

I wonder if there is a documentation about what parts of the Xen API is actually implemented in the current version of Xen, and what not..


On Mon, Feb 9, 2009 at 2:48 PM, S. Ercan Yüzbasioglu <ercan.yuzbasioglu@xxxxxxxxx> wrote:
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>