<p class="MsoNormal"><span><span lang="EN-US" style="color:black">Hello all,</span></span></p><p class="MsoNormal"><span><span lang="EN-US" style="color:black"><br></span></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black"> We
are with problems to save VMs on Ubuntu Server 10.04. We are using OpenNebula
2.0, KVM and NFS. </span></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black"> </span></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black"> The
checkpoint file has to be created on shared fs. Otherwise, it's not possible to
create that because root can’t write on shared fs.</span></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black">>error:
Failed to save domain one-18 to /var/lib/one/18/checkpoint</span></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black">>error:
unable to set ownership of '/var/lib/one/18/checkpoint' to user 0:0: Operation
not permitted</span></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black"> </span></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black"> At
this moment, out file '/usr/lib/one/remotes/vmm/kvm/kvmrc' has the variable
LIBVIRT_URI like this LIBVIRT_URI=qemu:///system</span></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black"> On
Ubuntu, connect using 'virsh' with qemu:///system means that the root will be the
ownership of the checkpoint file.</span></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black"> </span></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black">Can
we configure NFS to permit write by root? I think it's not possible.</span></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black"> </span></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black">We
tried to change the '/usr/lib/one/remotes/vmm/kvm/kvmrc' to use the variable
LIBVIRT_URI like LIBVIRT_URI=qemu:///session, how we found at [1]. </span></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black">Using
like this, we had other problem: </span></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black">>error:
Failed to create domain from deployment.0</span></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black">>error:
Failed to add tap interface to bridge 'br0': Operation not permitted</span></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black">We
couldn’t create the VM, because, now, the virsh is being used by oneadmin.</span></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black"> </span></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black">With
VIRSH set with qemu: / / / session, can use the bridge? For example, with some
configuration of LIBVIRT?</span></span><span lang="EN-US"></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black"> </span></span></p>
<p class="MsoNormal"><span><span lang="EN-US" style="color:black">[1]
<a href="http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2009-July/000611.html" target="_blank">http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2009-July/000611.html</a><br clear="all"><br></span></span></p>
<p class="MsoNormal">
<span><span lang="EN-US"></span></span></p><p class="MsoNormal">Thank you very much in advance.</p><p class="MsoNormal"><br></p><p class="MsoNormal">Regards,</p><p class="MsoNormal"><span><span lang="EN-US"><br></span></span></p>
-- <p class="MsoNormal"><span><span lang="EN-US" style="color:black">Prof. Flávio R. C. Sousa <br>
Software Engineering Coordinator<br>Federal University of Ceará, Quixadá, Brazil<br><a href="http://www.es.ufc.br/~flavio" target="_blank">http://www.es.ufc.br/~flavio</a><br>
<br>
</span></span></p>