[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Xen-API] Re: VM Guest Metrics Error (MESSAGE_METHOD_UNKNOWN)
- To: xen-users@xxxxxxxxxxxxxxxxxxx, xen-api@xxxxxxxxxxxxxxxxxxx
- 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
- 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=
- List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
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
|