S. Ercan Yüzbasioglu
2009-Feb-09 13:48 UTC
[Xen-API] VM Guest Metrics Error (MESSAGE_METHOD_UNKNOWN)
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@lists.xensource.com http://lists.xensource.com/mailman/listinfo/xen-api
S. Ercan Yüzbasioglu
2009-Feb-09 16:48 UTC
[Xen-API] Re: VM Guest Metrics Error (MESSAGE_METHOD_UNKNOWN)
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@gmail.com> 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@lists.xensource.com http://lists.xensource.com/mailman/listinfo/xen-api