On 21/12/2007, Marcelo Boveto Shima <email address hidden> wrote:
>
> On Dec 21, 2007 8:38 AM, Paul McEnery <email address hidden> wrote:
>
> > I added the above mentioned repository a while ago, but recently there
> > have been a few virt-manager/libvirt updates. I think these may have
> > been some upstream packages. Anyway, these packages dont seem to work
> > too well as /var/run/libvirt doesnt exist. I have made the following
> > change to the init file to get it working.
> >
>
> This has been fixed in debian and Soren told me he was working on a merge.
> He just uploaded.
> So I just backported the new package.
Thanks Marcelo
>
> > Also... with the updated packages, when you restart or stop libvirt-bin,
> > the bridge is not taken down. Not sure where that is run.
> >
>
> Sorry, can't reproduce this. Do you have more info about this?
> I will figure out how to used the new libvirt0-dbg. This should help to
> debug it.
If libvirt-bin is started, then you have the bridge interface:
$ dpkg -l |grep virt
ii kvm
1:28-4ubuntu2 Full virtualization on x86 hardware
ii libvirt-bin
0.4.0-0ubuntu0ppa6~gutsy1
the programs for the libvirt library
ii libvirt0
0.4.0-0ubuntu0ppa6~gutsy1
library for interfacing with Xen & other virtu
ii python-libvirt
0.4.0-0ubuntu0ppa6~gutsy1
libvirt python bindings
ii python-virtkey 0.42
Library to emulate keyboard keypresses.
ii virt-manager 0.5.2-3ubuntu0ppa2
desktop application for managing virtual machi
ii virtinst
0.300.1+hg20071213-0ubuntu0~gutsy0.3 Programs to create and clone virtual
machines
ii xen-tools 3.5-1ubuntu2
Tools to manage debian XEN virtual servers
Not sure if this helps. I have two laptops with the same configuration. I.e.
I started with the same version from the ppa repo. They have recently been
upgraded. They never used to have the bridge problem before the package
upgrades. Something must have changed. I must say that you only notice the
brigde issue if you are restarting the service at the command line. When its
all working and you boot up, you dont notice it.
On 21/12/2007, Marcelo Boveto Shima <email address hidden> wrote: libvirt updates. I think these may have
>
> On Dec 21, 2007 8:38 AM, Paul McEnery <email address hidden> wrote:
>
> > I added the above mentioned repository a while ago, but recently there
> > have been a few virt-manager/
> > been some upstream packages. Anyway, these packages dont seem to work
> > too well as /var/run/libvirt doesnt exist. I have made the following
> > change to the init file to get it working.
> >
>
> This has been fixed in debian and Soren told me he was working on a merge.
> He just uploaded.
> So I just backported the new package.
Thanks Marcelo
>
> > Also... with the updated packages, when you restart or stop libvirt-bin,
> > the bridge is not taken down. Not sure where that is run.
> >
>
> Sorry, can't reproduce this. Do you have more info about this?
> I will figure out how to used the new libvirt0-dbg. This should help to
> debug it.
If libvirt-bin is started, then you have the bridge interface:
$ ifconfig virbr0 168.122. 255 Mask:255.255.255.0 ff:fe00: 0/64 Scope:Link
collisions: 0 txqueuelen:0
virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.122.1 Bcast:192.
inet6 addr: fe80::200:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:5135 (5.0 KB)
Stop it:
~$ sudo /etc/init. d/libvirt- bin stop
* Stopping libvirt management daemon libvirtd [
OK ]
Problem, its still up:
$ ifconfig virbr0 168.122. 255 Mask:255.255.255.0 ff:fe00: 0/64 Scope:Link
collisions: 0 txqueuelen:0
virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.122.1 Bcast:192.
inet6 addr: fe80::200:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:5135 (5.0 KB)
Try and start it:
$ sudo /etc/init. d/libvirt- bin start
* Starting libvirt management daemon
libvirtd libvir: QEMU error : cannot create
bridge 'virbr0' : File exists
Failed to autostart network 'default': cannot create bridge 'virbr0' : File
exists
[fail]
I am running the following packages and versions:
$ dpkg -l |grep virt pa6~gutsy1 pa6~gutsy1 pa6~gutsy1 hg20071213- 0ubuntu0~ gutsy0. 3 Programs to create and clone virtual
ii kvm
1:28-4ubuntu2 Full virtualization on x86 hardware
ii libvirt-bin
0.4.0-0ubuntu0p
the programs for the libvirt library
ii libvirt0
0.4.0-0ubuntu0p
library for interfacing with Xen & other virtu
ii python-libvirt
0.4.0-0ubuntu0p
libvirt python bindings
ii python-virtkey 0.42
Library to emulate keyboard keypresses.
ii virt-manager 0.5.2-3ubuntu0ppa2
desktop application for managing virtual machi
ii virtinst
0.300.1+
machines
ii xen-tools 3.5-1ubuntu2
Tools to manage debian XEN virtual servers
Not sure if this helps. I have two laptops with the same configuration. I.e.
I started with the same version from the ppa repo. They have recently been
upgraded. They never used to have the bridge problem before the package
upgrades. Something must have changed. I must say that you only notice the
brigde issue if you are restarting the service at the command line. When its
all working and you boot up, you dont notice it.