Re: [libvirt] inability to open local read-only connection

2010-08-20 Thread Tavares, John
@redhat.com Subject: Re: [libvirt] inability to open local read-only connection On Fri, Aug 20, 2010 at 09:34:22AM -0500, Tavares, John wrote: > When I was using libvirt directly, I did see that, but could > never make it work. This is some of the additional memory/ > performance infor

Re: [libvirt] inability to open local read-only connection

2010-08-20 Thread Daniel P. Berrange
On Fri, Aug 20, 2010 at 09:34:22AM -0500, Tavares, John wrote: > When I was using libvirt directly, I did see that, but could > never make it work. This is some of the additional memory/ > performance information we would be interested in. In the > event I stick with using virsh, it is availabl

Re: [libvirt] inability to open local read-only connection

2010-08-20 Thread Tavares, John
- From: Daniel P. Berrange [mailto:berra...@redhat.com] Sent: Friday, August 20, 2010 10:30 AM To: Tavares, John Cc: Justin Clift; libvir-list@redhat.com Subject: Re: [libvirt] inability to open local read-only connection On Fri, Aug 20, 2010 at 09:15:04AM -0500, Tavares, John wrote: > Should

Re: [libvirt] inability to open local read-only connection

2010-08-20 Thread Daniel P. Berrange
On Fri, Aug 20, 2010 at 09:15:04AM -0500, Tavares, John wrote: > Should the memory utilization as report from inside a guest match that > as reported by the hypervisor?? I think one of my QA engineers may have > pointed out a Windows guest where this was not the case. It depends what libvirt APi

Re: [libvirt] inability to open local read-only connection

2010-08-20 Thread Tavares, John
: 'Daniel P. Berrange' Cc: Justin Clift; libvir-list@redhat.com Subject: RE: [libvirt] inability to open local read-only connection I initially used libvirt directly, but when I started running into the lack of a 32-bit library on 64-bit issue and the inconsistent effective root user behavio

Re: [libvirt] inability to open local read-only connection

2010-08-20 Thread Tavares, John
: Friday, August 20, 2010 9:58 AM To: Tavares, John Cc: Justin Clift; libvir-list@redhat.com Subject: Re: [libvirt] inability to open local read-only connection On Fri, Aug 20, 2010 at 08:49:50AM -0500, Tavares, John wrote: > It is available via xm, so my point was if it can, why can't libvi

Re: [libvirt] inability to open local read-only connection

2010-08-20 Thread Daniel P. Berrange
On Fri, Aug 20, 2010 at 08:49:50AM -0500, Tavares, John wrote: > It is available via xm, so my point was if it can, why can't libvirt?? No particular reason why not, other than nobody has requested it before. NB, 'xm uptime' is giving the uptime of the virtual domain, not the guest OS running in

Re: [libvirt] inability to open local read-only connection

2010-08-20 Thread Eric Blake
On 08/20/2010 06:42 AM, Tavares, John wrote: > > 2) Is it possible via libvirt to get that some additional information about > the guests, such as: > a) uptime > b) hostname > c) real operating system hostname and OS of local disk images can be determined using libguestfs (in p

Re: [libvirt] inability to open local read-only connection

2010-08-20 Thread Tavares, John
vided that data in a more machine parseable format. -Original Message- From: Justin Clift [mailto:jcl...@redhat.com] Sent: Friday, August 20, 2010 9:15 AM To: Daniel P. Berrange Cc: Tavares, John; libvir-list@redhat.com Subject: Re: [libvirt] inability to open local read-only connection On

Re: [libvirt] inability to open local read-only connection

2010-08-20 Thread Tavares, John
, Jianjiun Subject: Re: [libvirt] inability to open local read-only connection On Fri, Aug 20, 2010 at 07:42:32AM -0500, Tavares, John wrote: > If you don't mind, I have a few other questions related to > this that I'd like to ask before I forget about them. > > 1) Is there an

Re: [libvirt] inability to open local read-only connection

2010-08-20 Thread Daniel P. Berrange
On Fri, Aug 20, 2010 at 11:15:00PM +1000, Justin Clift wrote: > On 08/20/2010 10:58 PM, Daniel P. Berrange wrote: > > >>a) uptime > > >You can't reliably get any of that information without having > >an agent running inside the guest OS. > > We should be able to get the uptime of the guest's

Re: [libvirt] inability to open local read-only connection

2010-08-20 Thread Justin Clift
On 08/20/2010 10:58 PM, Daniel P. Berrange wrote: a) uptime You can't reliably get any of that information without having an agent running inside the guest OS. We should be able to get the uptime of the guest's qemu process itself though, and report that back "over the wire" to a r

Re: [libvirt] inability to open local read-only connection

2010-08-20 Thread Daniel P. Berrange
On Fri, Aug 20, 2010 at 07:42:32AM -0500, Tavares, John wrote: > If you don't mind, I have a few other questions related to > this that I'd like to ask before I forget about them. > > 1) Is there any technical reason for not shipping the 32-bit > version of the libvirt shared library for 64-bit

Re: [libvirt] inability to open local read-only connection

2010-08-20 Thread Tavares, John
redhat.com; Tomen Tse; Betley, Greg; Chen, Jianjiun Subject: Re: [libvirt] inability to open local read-only connection On Fri, Aug 20, 2010 at 07:03:05AM -0500, Tavares, John wrote: > Hi Daniel, > > Thank you for looking into this for me and providing such a detailed > explanation,

Re: [libvirt] inability to open local read-only connection

2010-08-20 Thread Tavares, John
Thanks! This is good to know. John -Original Message- From: Daniel P. Berrange [mailto:berra...@redhat.com] Sent: Friday, August 20, 2010 8:12 AM To: Tavares, John Cc: libvir-list@redhat.com; Tomen Tse; Betley, Greg; Chen, Jianjiun Subject: Re: [libvirt] inability to open local read

Re: [libvirt] inability to open local read-only connection

2010-08-20 Thread Daniel P. Berrange
On Fri, Aug 20, 2010 at 07:03:05AM -0500, Tavares, John wrote: > Hi Daniel, > > Thank you for looking into this for me and providing such a detailed > explanation, I really appreciate it. > > As a related question, will this work for RHEL6 for KVM as well along with > the virsh CLI?? Yes, just

Re: [libvirt] inability to open local read-only connection

2010-08-20 Thread Tavares, John
] Sent: Friday, August 20, 2010 6:30 AM To: Tavares, John Cc: libvir-list@redhat.com; Tomen Tse; Betley, Greg; Chen, Jianjiun Subject: Re: [libvirt] inability to open local read-only connection On Mon, Jul 12, 2010 at 06:38:27AM -0500, Tavares, John wrote: > Hi Daniel, > > Sorry it too

Re: [libvirt] inability to open local read-only connection

2010-08-20 Thread Daniel P. Berrange
On Mon, Jul 12, 2010 at 03:49:17PM -0500, Tavares, John wrote: > Hi Daniel, > > I added some more info to this. I added a call to try to get the max number > of vcpus as well. For starters, here is the output of my 3 tests: > > $ info1 > -bash: info1: command not found > [perf...@pun-rlnx55-bp

Re: [libvirt] inability to open local read-only connection

2010-08-20 Thread Daniel P. Berrange
On Mon, Jul 12, 2010 at 06:38:27AM -0500, Tavares, John wrote: > Hi Daniel, > > Sorry it took so long to back to this. I just recently ran into the > same problem on RHEL 5.5 where I am running into problems using the > root owned setuid executable to get domain information. Basically > all th

Re: [libvirt] inability to open local read-only connection

2010-07-12 Thread Tavares, John
s. John -Original Message- From: Tavares, John Sent: Monday, July 12, 2010 7:38 AM To: 'Daniel P. Berrange' Cc: libvir-list@redhat.com; 'Tomen Tse'; Betley, Greg; Chen, Jianjiun; Tavares, John Subject: RE: [libvirt] inability to open local read-only connection Importance:

Re: [libvirt] inability to open local read-only connection

2010-07-12 Thread Tavares, John
Re: [libvirt] inability to open local read-only connection On Thu, Feb 25, 2010 at 02:34:02PM -0600, Tavares, John wrote: > I have been experimenting with using libvirt (0.3.3) on a variety of > systems (RHEL, CentOS and Oracle VM). I have run into an issue when > I try to open a local read-

Re: [libvirt] inability to open local read-only connection

2010-03-01 Thread Tavares, John
, John Cc: libvir-list@redhat.com Subject: Re: [libvirt] inability to open local read-only connection On Thu, Feb 25, 2010 at 02:34:02PM -0600, Tavares, John wrote: > I have been experimenting with using libvirt (0.3.3) on a variety of > systems (RHEL, CentOS and Oracle VM). I have run into an

Re: [libvirt] inability to open local read-only connection

2010-03-01 Thread Daniel P. Berrange
On Thu, Feb 25, 2010 at 02:34:02PM -0600, Tavares, John wrote: > I have been experimenting with using libvirt (0.3.3) on a variety of > systems (RHEL, CentOS and Oracle VM). I have run into an issue when > I try to open a local read-only connection to the hypervisor that is > failing only on Oracl

[libvirt] inability to open local read-only connection

2010-02-26 Thread Tavares, John
I have been experimenting with using libvirt (0.3.3) on a variety of systems (RHEL, CentOS and Oracle VM). I have run into an issue when I try to open a local read-only connection to the hypervisor that is failing only on Oracle VM server release 2.2.0. I have created a root owned setuid execu