[libvirt-users] migration with non-root user

Eric Blake eblake at redhat.com
Wed Aug 8 14:18:59 UTC 2012


On 08/08/2012 08:09 AM, Yih Chuang wrote:
> Hi,
> 
> I had a VM running on c3rh2 under 'vmc' user:
> [vmc at 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@c3rh1.kirkland.ibm.com/session", this VM
> successfully got migrated to the target host c3rh1.  However, it was not
> visible to 'vmc' user but 'root'.
> 
> [vmc at c3rh1 .ssh]$ virsh list --all
>  Id    Name                           State
> ----------------------------------------------------
> 
> [vmc at 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 at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120808/112fc19e/attachment.sig>


More information about the libvirt-users mailing list