[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] Using Restore in another host.



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 -chardev
socket,id=monitor,path=/var/lib/libvirt/qemu/chompi1.monitor,server,nowait
-monitor chardev:monitor -boot c -drive
file=/home/radic/mvdata/imagenes/chompi1.img,if=ide,index=0,boot=on,format=raw
-drive if=ide,media=cdrom,index=2,format=raw -net
nic,macaddr=52:54:00:82:ce:80,vlan=0,model=virtio,name=virtio.0 -net
tap,fd=34,vlan=0,name=tap.0 -chardev pty,id=serial0 -serial
chardev:serial0 -parallel none -usb -vnc 0.0.0.0:0 -vga cirrus -incoming
exec:cat
char device redirected to /dev/pts/2
cat: -: Permission denied <== THIS ONE
load of migration failed

I don't know much about the internal libvirt design since libvirt is not
my primary space so I hope my e-mails from yesterday helped a little but
I'll leave the rest for libvirt guys since I'm not having any other
ideas what could be wrong there.

Michal

On 04/06/2011 10:43 AM, Marcela Castro León wrote:
> 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) on the log /var/log/libvirt(qemu/chompi1.log say that an error
> happened during the restore.
>
> I'm sending the trace I did while restoring the file and the log.
> (both on target rionegro
>
> Thank you very much in advance.
> Marcela.
>
>
>
> 2011/4/5 Michal Novotny <minovotn redhat com <mailto:minovotn redhat com>>
>
>     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 working, but I don't
>     find good
>     > information at internet.
>     >
>     > Thank you.
>     > Marcela
>
>     That's fine since you have the SELinux disabled and therefore it can't
>     cause any issues.
>
>     Michal
>
>     --
>     Michal Novotny <minovotn redhat com <mailto:minovotn redhat com>>,
>     RHCE
>     Virtualization Team (xen userspace), Red Hat
>
>


-- 
Michal Novotny <minovotn redhat com>, RHCE
Virtualization Team (xen userspace), Red Hat


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]