[Pkg-libvirt-maintainers] Bug#566180: virsh can define lxc domain but does not list nor properly start it

Adam Majer adamm at zombino.com
Sun Jul 18 22:34:20 UTC 2010


Package: libvirt
Version: 0.8.2-1
Severity: normal

I'm getting segfaults trying to start lxc container,

# virsh -c lxc:/// version 
Compiled against library: libvir 0.8.2
Using library: libvir 0.8.2
Using API: LXC 0.8.2
Running hypervisor: LXC 2.6.34

# dmesg
[2239291.304216] device veth0 entered promiscuous mode
[2239291.311094] ADDRCONF(NETDEV_UP): veth0: link is not ready
[2239291.360445] libvirt_lxc[2155] general protection ip:b7571071
sp:bf83cbe8 error:0 in libc-2.10.2.so[b7501000+141000]
[2239291.386751] br0: port 12(veth0) entering disabled state
[2239291.402318] device veth0 left promiscuous mode
[2239291.402373] br0: port 12(veth0) entering disabled state


OR,

virsh # start mysql --console
Domain mysql started
error: The domain is not running

[2239611.516378] device veth0 entered promiscuous mode
[2239611.523095] ADDRCONF(NETDEV_UP): veth0: link is not ready
[2239611.571648] libvirt_lxc[2291] general protection ip:b7546071
sp:bfc9c388 error:0 in libc-2.10.2.so[b74d6000+141000]
[2239611.598915] br0: port 12(veth0) entering disabled state
[2239611.615088] device veth0 left promiscuous mode
[2239611.615143] br0: port 12(veth0) entering disabled state


So yes, it is not started. But it is listed now if it is defined. If I
create the domain, I get above segfault and it is never saved.


The container starts with lxc-start

- Adam

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the Pkg-libvirt-maintainers mailing list