Comment 9 for bug 322779

Revision history for this message
Ruben S, Montero (rubensm-dacya) wrote : Re: [Bug 322779] Re: Cold migration fails

Hi,

Well actually is the opposite: the patch defaults the driver to use
qemu:///system. It also does a touch to the checkpoint file before
saving the image so it belongs to oneadmin and not to root.

You can check the commit

http://dev.opennebula.org/projects/opennebula/repository/revisions/f8252cfe8bc49bc0ecec376476b711e5d2f1c5dd

Cheers

Ruben

On Fri, Mar 26, 2010 at 10:06 AM, Florian Kruse
<email address hidden> wrote:
> Reading issue 131 it seems to me you suggest using qemu:///session
> instead of qemu:///system. However, this is no option for me as I use
> bridged networking. qemu:///session fails on that:
>
> $ virsh -c qemu:///session create deployment.0
> Connecting to uri: qemu:///session
> error: Failed to create domain from deployment.0
> error: internal error Failed to add tap interface 'vnet%d' to bridge 'br0' : Operation not permitted
>
> --
> Cold migration fails
> https://bugs.launchpad.net/bugs/322779
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “opennebula” package in Ubuntu: New
>
> Bug description:
> Binary package hint: opennebula
>
> Cold migration fails because we're connecting to qemu:///system, so the saved state is owned by root, so we can't copy it to the remote host. We can't switch to qemu:///session, because adding VM's to a bridged network is a privileged operation.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/opennebula/+bug/322779/+subscribe
>

--
Dr. Ruben Santiago Montero
Associate Professor (Profesor Titular), Complutense University of Madrid

URL: http://dsa-research.org/doku.php?id=people:ruben
Weblog: http://blog.dsa-research.org/?author=7