*** This bug is a duplicate of bug 903897 ***
https://bugs.launchpad.net/bugs/903897
** This bug has been marked a duplicate of bug 903897
-virtual kernel missing modules
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/903878
Title:
libvirt-bin broken for lxc in precise
Status in libvirt package in Ubuntu:
Invalid
Status in linux package in Ubuntu:
Invalid
Bug description:
The following works fine on oneiric, but fails in precise with an
error like:
error: Failed to start domain cirros
error: internal error Child process (ip link add veth0 type veth peer name
veth1) status unexpected: exit status 2
=== Setup ===
# install libvirt-bin
sudo apt-get install cgroup-lite --assume-yes
sudo apt-get install libvirt-bin --assume-yes
# add self to libvirtd
groups | grep -q libvirtd || sudo adduser $USER libvirtd
# exit and log back in to get correct groups to take
exit
# get an lxc cirros image
wget
http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-i386-lxc.tar.gz
wget
"http://smoser.brickies.net/git/?p=tildabin.git;a=blob_plain;f=lxc-libvirt-root;hb=HEAD"
-O lxc-libvirt-root
chmod 755 lxc-libvirt-root
d=cirros
mkdir $d
sudo tar -C $d -Sxvzf - < cirros-0.3.0-i386-lxc.tar.gz
echo "IS_NOCLOUD=1" | sudo tee -a $d/var/lib/cloud/config.sh
./lxc-libvirt-root $d
# this should work, you should see cirros boot to an ascii art
# hit 'ctrl-]' to escape the console
virsh -c lxc:// destroy cirros
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libvirt-bin 0.9.7-2ubuntu7
ProcVersionSignature: User Name 3.2.0-4.10-virtual 3.2.0-rc5
Uname: Linux 3.2.0-4-virtual x86_64
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
Date: Tue Dec 13 19:06:22 2011
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: libvirt
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/903878/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp