[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2014-03-18 Thread Serge Hallyn
** No longer affects: qemu (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1157626 Title: Unable to use "virsh migrate" on two hosts after moving to raring To manage notifications about this

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2014-02-10 Thread André Bauer
same here after update from 12.04 to 13.10 :-( -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1157626 Title: Unable to use "virsh migrate" on two hosts after moving to raring To manage notifications

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-07-25 Thread Uzzi
My system works after editing /etc/libvirt/qemu.conf and set this: user = "libvirt-qemu" group = "kvm" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1157626 Title: Unable to use "virsh migrate" on t

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-07-24 Thread Uzzi
I'm using libvirt-bin 1.0.2-0ubuntu11.13.04.2, quemu-kvm 1.4.0+dfsg-1expubuntu4 - qemu-system-x86 (2 1.4.0+dfsg-1expubuntu4) on ubuntu 13.04 ancd I've the same problem: 2013-07-24 08:50:36.748+: 12330: error : qemuMonitorIO:602 : internal error End of file from monitor 2013-07-24 08:50:37.28

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-05-05 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/libvirt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1157626 Title: Unable to use "virsh migrate" on two hosts after moving to raring To manage notifications about this

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-04-18 Thread Launchpad Bug Tracker
This bug was fixed in the package libvirt - 1.0.2-0ubuntu11 --- libvirt (1.0.2-0ubuntu11) raring; urgency=low * debian/patches/nonblock-fix.patch: cherrypicked upstream patch to not mark qemu migration fd non-blocking. This fixes tcp live migration. (LP: #1157626) -- Serge

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-04-08 Thread Serge Hallyn
A full backport of the 1.4.1-stable backport is available in ppa:serge- hallyn/virt - it fixes this on its own. We also are getting ready to push libvirt 1.0.4, which also should fix this. (meaning one or the other should not be needed, but both carry other fixes) -- You received this bug notif

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-04-04 Thread David
My VM works fine for any binary I can think of offhand, login in, out, migrating, login, try new binary, checking for updates etc no problems. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1157626 Tit

Re: [Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-04-04 Thread Serge Hallyn
Quoting David (launch...@space-monkey.net): > I can confirm that using the qemu- ppa2 packages, I can migrate the test > VM successfully to and fro. Afterward, when you log in and run a binary which you hadn't previously run (to force loading it from disk), does it work? I'm getting memory corrup

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-04-03 Thread David
I can confirm that using the qemu- ppa2 packages, I can migrate the test VM successfully to and fro. A friend using arch tested the qemu fix successfully too. He then reverted the qemu fix and tried with libvirt 1.0.4 and his migrations were still successful. Are there bugs and workarounds on both

Re: [Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-04-03 Thread Serge Hallyn
Quoting David (launch...@space-monkey.net): > I updated both test hosts to latest raring, then added the ppa, > upgraded, and confirmed with dpkg all "qemu-" packages on both hosts are > "1.4.0+dfsg-1expubuntu5~ppa1". I then started my test VM, tried to > migrate (shared storage) and still have the

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-04-03 Thread Serge Hallyn
Actually as mjt pointed out in irc, there might also be a libvirt aspect after all: https://lists.gnu.org/archive/html/qemu-devel/2013-03/msg04756.html https://bugzilla.redhat.com/show_bug.cgi?id=923124 and perhaps https://www.redhat.com/archives/libvir-list/2013-March/msg01486.html ** Bug watc

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-04-03 Thread David
I updated both test hosts to latest raring, then added the ppa, upgraded, and confirmed with dpkg all "qemu-" packages on both hosts are "1.4.0+dfsg-1expubuntu5~ppa1". I then started my test VM, tried to migrate (shared storage) and still have the same problem. Sending host libvirtd.log: 2013-04-

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-04-02 Thread Serge Hallyn
A test package with my proposed fix is building in ppa:serge-hallyn/virt (qemu_1.4.0+dfsg-1expubuntu5~ppa1). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1157626 Title: Unable to use "virsh migrate

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-04-02 Thread Serge Hallyn
Using upstream git head fails a different way, for the record. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1157626 Title: Unable to use "virsh migrate" on two hosts after moving to raring To mana

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-04-02 Thread Serge Hallyn
Oops, corruption was due to mismatched libvirtd groups with shared media stored over nfs. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1157626 Title: Unable to use "virsh migrate" on two hosts afte

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-04-02 Thread Serge Hallyn
This is not a bug in libvirt after all. When I fix migration.c to reetry on -EAGAIN as well as -EINTR when flushing a buffer, the migration completes. However, the resulting VM on the other end is corrupt. I can ssh in, but eventually ls of any data not yet in the buffer cache results in IO erro

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-04-01 Thread Serge Hallyn
I've opened bug 116963 to track the qemu bug. I suspect when the qemu bug is fixed, we'll still need an apparmor fix or two in libvirt to complete solve this bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-04-01 Thread Serge Hallyn
Actually today manual migration in kvm is not working for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1157626 Title: Unable to use "virsh migrate" on two hosts after moving to raring To manag

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-03-20 Thread Serge Hallyn
Manually migrating in qemu seems to work ok. Need to figure out whether one of the objects being migrated by libvirt is not working right, or if libvirt is setting something up wrong. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. ht

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-03-20 Thread Serge Hallyn
Looks like the errors in the last comment were not meaningful. The actual problem was that although i specified the ip address, later on virsh migrated wanted a hostname tied to that ip address. After doing that, finally got the bug submitter's original problem: qemu: warning: error while loadin

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-03-20 Thread Serge Hallyn
It looks like /sys/fs/cgroup/*/libvirt/qemu/$vm needs to be added to libvirt-qemu. Also, /dev/ptmx is now a symlink or bind mount to /dev/pts/ptmx. /etc/appamor.d/abstractions/libvirt-qemu lists /dev/ptmx, but needs to also list /dev/pts/ptmx. After adding /sys/fs/cgroup/** rw and /dev/pts/ptmx

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-03-20 Thread Serge Hallyn
2013-03-20 17:36:40.328+: 1189: debug : virCgroupSetValueStr:331 : Set value '/sys/fs/cgroup/de vices/libvirt/qemu/vm2/devices.allow' to 'c 136:* rw' 2013-03-20 17:36:40.328+: 1189: debug : virFileClose:72 : Closed fd 24 2013-03-20 17:36:40.328+: 1189: warning : virAuditSend:135 : Fail

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-03-20 Thread Serge Hallyn
Running with shared storage, I see 2013-03-20 17:36:40.328+: 1189: warning : virAuditSend:135 : Failed to send audit message virt=kvm resrc=cgroup reason=allow vm="vm2" uuid=1984e56c-0217-563c-fb23-b344053b385e cgroup="/sys/fs/cgroup/devices/libvirt/qemu/vm2/" class=major category=pty maj=88 a

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-03-20 Thread Serge Hallyn
When I do virsh migrate --live --copy-storage-all --verbose vm2 qemu+ssh://root@10.42.43.1/system with loglevel 1, libvirtd.log gives: 2013-03-20 17:17:28.386+: 28608: warning : virAuditSend:135 : Failed to send audit message virt =kvm resrc=disk reason=start vm="vm2" uuid=1984e56c-0217-563

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-03-20 Thread Serge Hallyn
however disabling apparmor doesn't help it succeed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1157626 Title: Unable to use "virsh migrate" on two hosts after moving to raring To manage notifica

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-03-20 Thread Serge Hallyn
** Changed in: libvirt (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1157626 Title: Unable to use "virsh migrate" on two hosts after moving to raring To ma

[Bug 1157626] Re: Unable to use "virsh migrate" on two hosts after moving to raring

2013-03-20 Thread David
I should add a friend who uses arch linux gets the same error after upgrading to the libvirt and qemu-kvm available there as of this week. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1157626 Title: