Re: [libvirt] Problem compiling latest code from libvirt CVS

2009-06-17 Thread Daniel Veillard
On Fri, Jun 05, 2009 at 01:43:15PM -0400, Dave Allan wrote: Daniel P. Berrange wrote: On Fri, Jun 05, 2009 at 12:08:13PM -0400, Dave Allan wrote: Daniel P. Berrange wrote: snip which is failing because neither of the node device driver implementations are turned on. This is a bug in the

Re: [libvirt] Undefined symbol: virNodeDeviceWaitForDevices

2009-06-17 Thread Daniel Veillard
On Tue, Jun 16, 2009 at 10:44:18PM +0200, Matthias Bolte wrote: 2009/6/16 Dave Allan dal...@redhat.com: Matthias Bolte wrote: Hi, GIT commit f7b12afc7b67b6727151f74683e7cb9d6fc2b36f adds a new function: virNodeDeviceWaitForDevices In storage_backend.c

Re: [libvirt] Re: Future release schedule

2009-06-17 Thread Daniel P. Berrange
On Tue, Jun 16, 2009 at 09:18:40PM +0200, Matthias Bolte wrote: I'm currently checking the VI API to see where to gather the information for dump-xml, but it seems one needs to read most of it from the .vmx file of a virtual machine located on the host. Luckily all files of a virtual machine

Re: [libvirt] [PATCH] Fix logging in libvirt_lxc controller

2009-06-17 Thread Daniel P. Berrange
On Tue, Jun 16, 2009 at 06:12:04PM -0400, Amy Griffis wrote: Cole Robinson wrote: [Tue Jun 16 2009, 02:44:28PM EDT] On 06/16/2009 01:35 PM, Amy Griffis wrote: The lxc controller can't see libvirtd's log level setting so it needs to re-query it from the environment. The parsing code has

Re: [libvirt] domain.info() sometimes returns state zero for running machines

2009-06-17 Thread Andreas Sommer
I found that virt-manager 0.7.0 does the following: def _normalize_status(self, status): if status == libvirt.VIR_DOMAIN_NOSTATE: return libvirt.VIR_DOMAIN_RUNNING elif status ==

[libvirt] Re: [netcf-devel] [RFC] Reporting host interface status/statistics via netcf/libvirt, and listing active vs. inactive interfaces

2009-06-17 Thread David Lutterkort
On Tue, 2009-06-16 at 15:12 -0400, Laine Stump wrote: I've already been working on incorporating physical host interface configuration into libvirt by way of using libnetcf on the backend. It's becoming apparent that, in addition to modifying and reporting the current configuration of

Re: [libvirt] [RFC] Reporting host interface status/statistics via netcf/libvirt, and listing active vs. inactive interfaces

2009-06-17 Thread Daniel P. Berrange
On Tue, Jun 16, 2009 at 03:12:36PM -0400, Laine Stump wrote: I've already been working on incorporating physical host interface configuration into libvirt by way of using libnetcf on the backend. It's becoming apparent that, in addition to modifying and reporting the current configuration

Re: [libvirt] [PATCH] Fix logging in libvirt_lxc controller

2009-06-17 Thread Amy Griffis
Daniel P. Berrange wrote: [Wed Jun 17 2009, 06:44:31AM EDT] On Tue, Jun 16, 2009 at 06:12:04PM -0400, Amy Griffis wrote: Cole Robinson wrote: [Tue Jun 16 2009, 02:44:28PM EDT] On 06/16/2009 01:35 PM, Amy Griffis wrote: The lxc controller can't see libvirtd's log level setting so it

Re: [libvirt] Re: [netcf-devel] [RFC] Reporting host interface status/statistics via netcf/libvirt, and listing active vs. inactive interfaces

2009-06-17 Thread David Lutterkort
On Wed, 2009-06-17 at 19:27 +0100, Daniel P. Berrange wrote: Hmm, this seems wrong to me. 'connections' are an application level concept. The libvirt API should be exposing all the interfaces on the host, so you should see all the br0, bond0, and eth0 eth1 devices for a bridge on top of a

Re: [netcf-devel] [libvirt] [RFC] Reporting host interface status/statistics via netcf/libvirt, and listing active vs. inactive interfaces

2009-06-17 Thread David Lutterkort
On Wed, 2009-06-17 at 19:24 +0100, Daniel P. Berrange wrote: IP address information should be in the XML, and indeed surely it is already there in order to allow non-DHCP based IP address config on interfaces ? Yes, for statically configured interfaces, the IP information is in the XML -

Re: [netcf-devel] [libvirt] [RFC] Reporting host interface status/statistics via netcf/libvirt, and listing active vs. inactive interfaces

2009-06-17 Thread David Lutterkort
On Wed, 2009-06-17 at 22:10 +0200, Daniel Veillard wrote: On Wed, Jun 17, 2009 at 09:03:32PM +0100, Daniel P. Berrange wrote: On Wed, Jun 17, 2009 at 09:42:11PM +0200, Daniel Veillard wrote: On Wed, Jun 17, 2009 at 12:22:13PM -0700, David Lutterkort wrote: On Wed, 2009-06-17 at 19:24

Re: [netcf-devel] [libvirt] [RFC] Reporting host interface status/statistics via netcf/libvirt, and listing active vs. inactive interfaces

2009-06-17 Thread Daniel Veillard
On Wed, Jun 17, 2009 at 01:27:14PM -0700, David Lutterkort wrote: On Wed, 2009-06-17 at 22:10 +0200, Daniel Veillard wrote: On Wed, Jun 17, 2009 at 09:03:32PM +0100, Daniel P. Berrange wrote: On Wed, Jun 17, 2009 at 09:42:11PM +0200, Daniel Veillard wrote: On Wed, Jun 17, 2009 at

Re: [netcf-devel] [libvirt] [RFC] Reporting host interface status/statistics via netcf/libvirt, and listing active vs. inactive interfaces

2009-06-17 Thread Daniel P. Berrange
On Wed, Jun 17, 2009 at 10:33:02PM +0200, Daniel Veillard wrote: On Wed, Jun 17, 2009 at 01:27:14PM -0700, David Lutterkort wrote: On Wed, 2009-06-17 at 22:10 +0200, Daniel Veillard wrote: On Wed, Jun 17, 2009 at 09:03:32PM +0100, Daniel P. Berrange wrote: On Wed, Jun 17, 2009 at

Re: [libvirt] domain.info() sometimes returns state zero for running machines

2009-06-17 Thread Daniel P. Berrange
On Wed, Jun 17, 2009 at 04:04:20PM +0100, Andreas Sommer wrote: I'm using Xen-3.2-1 on Debian 5.0.1-lenny and retrieve information about running domains using domain.info()[0] The domain object is retrieved via connection.lookupByUUIDString(...) and stored as a variable called domain.

Re: [libvirt] problems with remote authentication with policykit

2009-06-17 Thread Jim Paris
Daniel P. Berrange wrote: But when accessing remotely, I get no useful error, and a hang: $ virsh -c qemu+ssh://j...@server/system libvir: Remote error : authentication failed process hangs here $ virsh --readonly -c qemu+ssh://j...@server/system libvir: Remote error :

Re: [libvirt] problems with remote authentication with policykit

2009-06-17 Thread Daniel P. Berrange
On Wed, Jun 17, 2009 at 05:51:27PM -0400, Jim Paris wrote: Daniel P. Berrange wrote: 17:34:59.360: debug : call:6947 : Doing call 70 (nil) 17:34:59.360: debug : call:7017 : We have the buck 70 0xbccef0 0xbccef0 17:34:59.433: debug : processCallRecvLen:6605 : Got length, now need 128 total

Re: [libvirt] problems with remote authentication with policykit

2009-06-17 Thread Jim Paris
Daniel P. Berrange wrote: On Wed, Jun 17, 2009 at 05:51:27PM -0400, Jim Paris wrote: Daniel P. Berrange wrote: 17:34:59.360: debug : call:6947 : Doing call 70 (nil) 17:34:59.360: debug : call:7017 : We have the buck 70 0xbccef0 0xbccef0 17:34:59.433: debug : processCallRecvLen:6605 : Got

Re: [netcf-devel] [libvirt] [RFC] Reporting host interface status/statistics via netcf/libvirt, and listing active vs. inactive interfaces

2009-06-17 Thread David Lutterkort
On Wed, 2009-06-17 at 21:32 +0100, Daniel P. Berrange wrote: How do you deal with IPv6 currently ? With lots of Aspirin (actually, not at all) I was thinking of sugesting an attribute ip type=ipv6 address=2001:23::2 prefix=24/ but I think its possibly better to have a different

Re: [netcf-devel] [libvirt] [RFC] Reporting host interface status/statistics via netcf/libvirt, and listing active vs. inactive interfaces

2009-06-17 Thread David Lutterkort
On Wed, 2009-06-17 at 22:33 +0200, Daniel Veillard wrote: On Wed, Jun 17, 2009 at 01:27:14PM -0700, David Lutterkort wrote: I haven't declared the schema or the API stable yet, but I want to do that once there is a libvirt release out there that relies on netcf. So if there are any other