Re: [libvirt] Using Restore in another host.

2011-04-08 Thread Marcela Castro León
Hello I'm thinking to upgrade the libvirt to solve the problem as you said in your last mail. But I've installed the package using apt-get install and I can''t get higher version of all the packages involves doing an upgrade in ubuntu (I'm using 10.04) Can you suggest-me an easy way to upgrate the

Re: [libvirt] Using Restore in another host.

2011-04-08 Thread Michal Novotny
Hi, I think the best thing would be to download it directly from libvirt.org site and install it. It's not the easiest way but it's the best way IMHO. You can find relevant information there: http://libvirt.org/compiling.html Michal On 04/08/2011 10:18 AM, Marcela Castro León wrote: Hello

Re: [libvirt] Using Restore in another host.

2011-04-06 Thread Marcela Castro León
Hello: I repeated all the test again and reproduce a similar situation. Apparently the restore is finished ok, and the guest is running but: a) I cannot connect to the guest trough ssh. b) I cannot enter to the guest using the virt-manager: It's say Connecting to graphical console for guest. c)

Re: [libvirt] Using Restore in another host.

2011-04-06 Thread Michal Novotny
Hi, the interesting thing is the Permission denied message in the log file: LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-system-x86_64 -S -M pc-0.12 -enable-kvm -m 4096 -smp 4 -name chompi1 -uuid 22f013aa-25d4-b317-9eac-b232692db8c7

Re: [libvirt] Using Restore in another host.

2011-04-06 Thread Eric Blake
On 04/06/2011 04:09 AM, Michal Novotny wrote: Hi, the interesting thing is the Permission denied message in the log file: LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-system-x86_64 -S -M pc-0.12 -enable-kvm -m 4096 -smp 4

Re: [libvirt] Using Restore in another host.

2011-04-05 Thread Marcela Castro León
Hello Daniel Thank you for all your information, but I still didn't solve the problem. I tried the option you mention, with two differents guest into two differents host, but all the cases I've got: *virsh # restore sv-chubut-2011-04-04-17:38* *error: Failed to restore domain from

Re: [libvirt] Using Restore in another host.

2011-04-05 Thread Michal Novotny
Hi Marcela, is any other guest on the host that cannot restore this VM working fine ? You could also try running the: */# LIBVIRT_DEBUG=1 virsh restore sv-chubut-2011-04-04-17:38 2 virsh-restore.log /*command which would enable the libvirt logging and output the debug log into the

Re: [libvirt] Using Restore in another host.

2011-04-05 Thread Marcela Castro León
Hello This is the log I got doing the restore. It's says that it coun't get the image, but the image is ok, because I can startup the guest. Neither I can migrate the guest, so I suppose I've a problem in my configuration. Thank you very much in advance. Marcela. 2011/4/5 Michal Novotny

Re: [libvirt] Using Restore in another host.

2011-04-05 Thread Michal Novotny
Hi Marcela, I was investigating the log file and it seems like the image file cannot be opened on the remote host. According to the lost you're doing the restore on the host named rionegro so not the localhost. This seems like the saved guest image is not accessible from the rionegro system.

Re: [libvirt] Using Restore in another host.

2011-04-05 Thread Michal Novotny
On 04/05/2011 05:15 PM, Eric Blake wrote: On 04/05/2011 09:09 AM, Michal Novotny wrote: Hi Marcela, I was investigating the log file and it seems like the image file cannot be opened on the remote host. Are you using SELinux, and is your shared storage on NFS? If so, did you run 'setsebool

Re: [libvirt] Using Restore in another host.

2011-04-05 Thread Eric Blake
On 04/05/2011 09:09 AM, Michal Novotny wrote: Hi Marcela, I was investigating the log file and it seems like the image file cannot be opened on the remote host. Are you using SELinux, and is your shared storage on NFS? If so, did you run 'setsebool -P virt_use_nfs on' to let the destination

Re: [libvirt] Using Restore in another host.

2011-04-05 Thread Marcela Castro León
Hello OK, this is the new log. Now, the old error appeared again... *error: Failed to restore domain from XX error: monitor socket did not show up.: Connection refused * Regards. 2011/4/5 Michal Novotny minov...@redhat.com Hi Marcela, I was investigating the log file and it seems like the

Re: [libvirt] Using Restore in another host.

2011-04-05 Thread Marcela Castro León
Hello I don't do this, I'd find out about it and set it. But, i don't know if this avoid the error, but I'm trying to restore the image from the host that is nfs server. I will execute, try again and tell you if I succeed. Thank you. Marcela 2011/4/5 Eric Blake ebl...@redhat.com On 04/05/2011

Re: [libvirt] Using Restore in another host.

2011-04-05 Thread Michal Novotny
Hi, what about /var/log/libvirt/qemu/$NAME.log file from the attempt? This seems like the monitor socket cannot be connected which may be the result of different version of QEMU on source and target system IMHO. Could you please provide result of # virsh version command from both source and

Re: [libvirt] Using Restore in another host.

2011-04-05 Thread Eric Blake
On 04/05/2011 09:17 AM, Michal Novotny wrote: On 04/05/2011 05:15 PM, Eric Blake wrote: On 04/05/2011 09:09 AM, Michal Novotny wrote: Hi Marcela, I was investigating the log file and it seems like the image file cannot be opened on the remote host. Are you using SELinux, and is your shared

Re: [libvirt] Using Restore in another host.

2011-04-05 Thread Marcela Castro León
Hello The restore finished ok, I found at a log that was looking the image at an old location. Anyway, the image don't start well, but I've to revise all the configuration again, to see what's exactly is happening now. Thank you a lot, I learned a lot. The version are the same *source*

Re: [libvirt] Using Restore in another host.

2011-04-05 Thread Michal Novotny
On 04/05/2011 05:59 PM, Marcela Castro León wrote: Hello The restore finished ok, I found at a log that was looking the image at an old location. Anyway, the image don't start well, but I've to revise all the configuration again, to see what's exactly is happening now. Thank you a lot, I

Re: [libvirt] Using Restore in another host.

2011-04-05 Thread Marcela Castro León
Yes, its say that recover all right and the guest is running, but I cannot connect doing ssh, and in the virt-manager say connecting to graphical console. I've just found in the log: *radic@rionegro:/var/log/libvirt/qemu$ sudo cat chompi1.log * *LC_ALL=C

Re: [libvirt] Using Restore in another host.

2011-04-05 Thread Michal Novotny
On 04/05/2011 06:07 PM, Marcela Castro León wrote: Yes, its say that recover all right and the guest is running, but I cannot connect doing ssh, and in the virt-manager say connecting to graphical console. I've just found in the log: *radic@rionegro:/var/log/libvirt/qemu$ sudo cat

Re: [libvirt] Using Restore in another host.

2011-04-05 Thread Marcela Castro León
Hellol I've downloaded the policycoreutils, and then I execute on the nfs clients: *radic@santacruz:~/discoguest/aplicaciones/virsh$ setsebool -P virt_use_nfs on setsebool: SELinux is disabled. * It's enough? I understand that it's not working, but I don't find good information at internet.

Re: [libvirt] Using Restore in another host.

2011-04-05 Thread Michal Novotny
On 04/05/2011 06:16 PM, Marcela Castro León wrote: Hellol I've downloaded the policycoreutils, and then I execute on the nfs clients: *radic@santacruz:~/discoguest/aplicaciones/virsh$ setsebool -P virt_use_nfs on setsebool: SELinux is disabled. * It's enough? I understand that it's not

Re: [libvirt] Using Restore in another host.

2011-04-04 Thread Daniel P. Berrange
On Sun, Apr 03, 2011 at 10:43:45AM +0200, Marcela Castro León wrote: Hello: I need to know if I can use the restore operation (virsh o the equivalent in libvirt) to recover a previous state of a guest, but recovered previously in another host. I did a test, but I got an error: The exactly

[libvirt] Using Restore in another host.

2011-04-03 Thread Marcela Castro León
Hello: I need to know if I can use the restore operation (virsh o the equivalent in libvirt) to recover a previous state of a guest, but recovered previously in another host. I did a test, but I got an error: The exactly sequence using virsh I testes is: On [HOST SOURCE]: Using virsh 1) save