Summary: | app-emulation/libvirt-1.0.1 - does not start LXC VM | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | eroen <erikdenstore+gbugs> |
Component: | Current packages | Assignee: | Doug Goldstein (RETIRED) <cardoe> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | mark, virtualization |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://libvirt.org/git/?p=libvirt.git;a=commit;h=ae9874e471fc61d9d654247c2fd24d9baa455afa | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Patch to functionally revert df33ecdd
Patch to functionally revert df33ecdd -r1 Error message, libvirt-1.0.1 with suggested patch Error message, libvirt-1.0.2-r1 with no local patches Error message, libvirt-1.0.2-r1 with no local patches v.2 |
Description
eroen
2013-01-12 23:13:00 UTC
A git bisect indicates df33ecdd as the commit introducing this issue. commit df33ecdd9e897cf6af56e2120d44bfbcccc80a32 Author: Gao feng <gaofeng@cn.fujitsu.com> Date: Mon Nov 12 15:02:28 2012 +0800 mount fuse's meminfo file to container's /proc/meminfo we already have virtualize meminfo for container through fuse filesystem, add function lxcContainerMountProcFuse to mount this meminfo file to the container's /proc/meminfo. So we can isolate container's /proc/meminfo from host now. Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com> Created attachment 335540 [details, diff]
Patch to functionally revert df33ecdd
Commit df33ecdd can't be reverted trivially due to later changes, so here's a patch removing the calls to the function introduced.
This let's me boot my VMs without creating other visible complaints, but I don't make any claim to understanding the exact purpose of the removed function calls or why they cause a problem.
Created attachment 335550 [details, diff]
Patch to functionally revert df33ecdd -r1
Oops, previous patch a) fails to build and b) is against latest git revision. This one works as advertised with libvirt-1.0.1 from portage.
Try the referenced patch. The easiest way to do this would be to do: $ mkdir -p /etc/portage/patches/app-emulation/libvirt-1.0.1 $ wget -O /etc/portage/patches/app-emulation/libvirt-1.0.1/0001-lxc-fix.patch "http://libvirt.org/git/?p=libvirt.git;a=patch;h=ae9874e471fc61d9d654247c2fd24d9baa455afa" $ emerge -1 libvirt $ /etc/init.d/libvirtd reload Please report back if this fixes your issue. Hi, sorry about the delay. I have now tried the patch you suggested against libvirt-1.0.1, and found it does not solve the issue. It changes the traceback in the error message somewhat, thus I will attach it. I have also tested app-emulation/libvirt-1.0.2-r1 without any local patches applied. After the update a) All my configured VMs disappeared. A nuisance, but nontheless. They returned with a downgrade. b) Trying to start a (necessarily newly created) LXC fails with a (subtly) different error message from before, I will attach that too. I'm reopening the bug, feel free to yell at me if that's not what I'm supposed to do. Created attachment 338022 [details]
Error message, libvirt-1.0.1 with suggested patch
Created attachment 338024 [details]
Error message, libvirt-1.0.2-r1 with no local patches
Created attachment 338026 [details]
Error message, libvirt-1.0.2-r1 with no local patches v.2
Easierly diffable to earlier logs.
Coincidentally found this bug. As we are at libvirt 1.0.4 now for ~amd64, is the bug still alive in this version? (I haven't followed new releases for a while, but used the attached patch with 1.0.1) This problem appears to have gone away in libvirt-1.0.4 (or possibly earlier). Application LXCs seem to work fine, and OS LXCs give me a new and very different error message. Interesting times. Closing as fixed. Disregard that, I can't type paths correctly. The same error seems to still be printed in a slightly modified format, with libvirt-1.0.4 and current -9999. Now application LXCs work, though, at least the trivial one I accidentally made. Toggling the fuse use-flag does not affect this. Don't mind me putting this https://www.redhat.com/archives/libvirt-users/2013-February/msg00028.html here so I won't lose it. Give it another whirl with 1.0.6. I've finally got this working for me with that. Thank you very much! With libvirt-1.0.6 booting LXCs seems to Just Work again. :-D I have only done cursory testing, but any other issues should go in other bugs, I guess. |