Re: migration with non-root user

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

 



On 08/08/2012 08:09 AM, Yih Chuang wrote:
> Hi,
> 
> I had a VM running on c3rh2 under 'vmc' user:
> [vmc@c3rh2 .ssh]$ virsh list --all
>  Id    Name                           State
> ----------------------------------------------------
>  1     vs2relocate_nonRoot            running

What do you get on this host if you do 'virsh uri'?  Is it qemu:///session?

> 
> After the virsh migration command, "virsh migrate --live --unsafe
> vs2relocate_nonRoot qemu+ssh://vmc@xxxxxxxxxxxxxxxxxxxxxx/session", this VM
> successfully got migrated to the target host c3rh1.  However, it was not
> visible to 'vmc' user but 'root'.
> 
> [vmc@c3rh1 .ssh]$ virsh list --all
>  Id    Name                           State
> ----------------------------------------------------
> 
> [vmc@c3rh1 .ssh]$ sudo virsh list --all
>  Id    Name                           State
> ----------------------------------------------------
>  1     vs2relocate_nonRoot            running

Again, on this machine, what do:

virsh uri
sudo virsh uri

display?  It looks like migration went from a session to a system
libvirtd.  To be honest, I have no idea if session migration is even
supposed to work.  So it's possible you have exposed a bug.

> 
> * The libvirt version is libvirt-0.9.10-21.el6_3.1.x86_64 on both hosts.

Since you are using RHEL libvirt, would you mind opening a support
ticket with Red Hat?

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux