Re: [libvirt] [libvirt-users] Anyone interested in forming a libvirt docs team?
On 12/21/2010 03:15 AM, Anthony Davis wrote: Hi Justin, I can offer some free time:) I'd be willing to contribute to a wiki if we had the docs in a wiki. -- Scott Baker - Canby Telcom System Administrator - RHCE - 503.266.8253 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] virsh migrate with libvirt-0.5.1: failed to start listening VM
On 07/14/2009 10:11 AM, Jakub Hrozek wrote: Hello, I was trying to migrate a KVM/QEMU VM running on a Fedora 10 host to another F10 host. Both machines have identical architectures (x86_64) and are running identical versions of libvirt and KVM (libvirt-0.5.1-2.fc10.x86_64, kvm-74-10.fc10.x86_64). However, the migration fails: # virsh migrate jhrozek-f11-minimal qemu+ssh://someothersystem.example.com/system libvir: QEMU error : operation failed: failed to start listening VM On the target host, the logfile /var/log/libvirt/qemu/jhrozek-f11-minimal.log says: qemu: could not open disk image /var/lib/libvirt/images/jhrozek-f11-minimal.img Which seems rather odd, isn't libvirt supposed to copy the image file? Is this supposed to work? Is there any way to debug the problem? I skimmed through RH Bugzilla and googled a bit but haven't found much clue. You're supposed to have /var/lib/libvirt/images mounted via shared storage (nfs/cifs/etc) on both machines. -- Scott Baker - Canby Telcom System Administrator - RHCE - 503.266.8253 -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] F11 and KVM Migrations
On 07/09/2009 01:43 AM, Chris Lalancette wrote: Yeah, that's just not going to work. In theory it might work, but it's never been tested, so I'm not surprised it doesn't. In general migration is extremely finicky when it comes to CPU versions, and versions of the software. If you are interested in debugging it more, I would suggest stopping libvirtd on both sides, starting them back up by hand with: LIBVIRT_DEBUG=1 /usr/sbin/libvirtd --verbose --listen And then re-running your test. That will dump lots of debugging information on both machines, and you might be able to get somewhat of a better idea of what is happening. Host 1: [r...@vm1 ~]# rpm -q libvirt libvirt-0.6.2-12.fc11.x86_64 [r...@vm1 ~]# uname -r 2.6.29.5-191.fc11.x86_64 Host 2: [r...@vm2 ~]# rpm -q libvirt libvirt-0.6.2-12.fc11.x86_64 [r...@vm2 ~]# uname -r 2.6.29.5-191.fc11.x86_64 Host 2 doesn't want to start with --verbose: 08:16:44.859: debug : virEventInterruptLocked:635 : Skip interrupt, 0 0 08:16:44.859: debug : virEventAddHandleImpl:111 : Add handle 11 13 0x412c70 0x13368a0 08:16:44.859: debug : virEventInterruptLocked:635 : Skip interrupt, 0 0 08:16:44.868: error : Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory What's weird is, if I start the service it works fine. It only errors about that cacert if I do it raw. I can't find any reference to cacert in my config. Help! -- Scott Baker - Canby Telcom System Administrator - RHCE - 503.266.8253 -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
[libvirt] F11 and KVM Migrations
I have two host machines on the same subnet, and I have /var/lib/libvirt/images shared between the two via NFS. I'm trying to do a migration from one host to another and I'm getting an error. virsh # migrate --live Narwhal qemu+ssh://10.1.1.1/system error: operation failed: failed to start listening VM That's from the host running the VM to the new host. I'm assuming you have to do a push migrate, not a pull? Where can I look next to figure out why it didn't work? -- Scott Baker - Canby Telcom System Administrator - RHCE - 503.266.8253 -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] F11 and KVM Migrations
On 07/08/2009 02:02 PM, Daniel Veillard wrote: On Wed, Jul 08, 2009 at 01:21:53PM -0700, Scott Baker wrote: I have two host machines on the same subnet, and I have /var/lib/libvirt/images shared between the two via NFS. I'm trying to do a migration from one host to another and I'm getting an error. virsh # migrate --live Narwhal qemu+ssh://10.1.1.1/system error: operation failed: failed to start listening VM That's from the host running the VM to the new host. I'm assuming you have to do a push migrate, not a pull? Where can I look next to figure out why it didn't work? Hum that sounds familiar, what versions of libvirt are you running on both nodes, look at /var/log/libvirt/qemu/Narwhal.log on the target for informations. I suggest to make sure that you get up2date and similar versions on both sides to avoid extra troubles. Host 1: libvirt-0.6.2-12.fc11.x86_64 Host 2: libvirt-0.6.2-12.fc11.i586 Both machine are 64 bit, Host 2 is just running i386 code. Will that be a problem? If I check Narwhal.log there is nothing in there at the time of the migration error. Nothing in messages either. As far as I can tell it just fails silently. -- Scott Baker - Canby Telcom System Administrator - RHCE - 503.266.8253 -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list