[Pkg-opennebula-devel] Bug#673427: Bug#673427: opennebula: Fails deploying VM with shared image on same host
Jaime Melis
jmelis at opennebula.org
Fri May 18 18:00:50 UTC 2012
Hello Olivier,
try following the libvirt configuration detailed here:
http://opennebula.org/documentation:rel3.4:kvmg#kvm_configuration
In particular adding:
dynamic_ownership = 0
user = oneadmin
group = cloud
to /etc/libvirt/qemu.conf
cheers,
Jaime
On Fri, May 18, 2012 at 7:02 PM, Olivier Berger <
olivier.berger at it-sudparis.eu> wrote:
> On Fri, 18 May 2012 18:33:06 +0200, Olivier Berger <
> olivier.berger at it-sudparis.eu> wrote:
> > But :
> > # ls -alrt /var/lib/one/images/
> > total 1049612
> > drwxrws--T 2 oneadmin root 4096 mai 18 14:25 .
> > -rw-rw---- 1 root root 1073741824 mai 18 14:25
> d378f408ef971dacbbb17af29db53f2a
> > drwxr-xr-x 37 oneadmin root 4096 mai 18 18:05 ..
> >
>
> I've tried changing the image file and containing dir's ownership to
> oneadmin:cloud before creating the VM, but there's something in the
> deployment scripts that reset these to root:root, as far as I can see.
>
> Will try and investigate which is the culprit.
>
> Hope this helps.
>
> In the meantime, I would recommend using only non-persistent images on
> shared file system, but that seems potentially dangerous to me, if not
> saving the image before destroying/shutting down VMs (I'm not completely
> sure about their lifecycles), depending on the admin's choices.
>
> Thanks in advance.
>
> Best regards,
> --
> Olivier BERGER
> http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
> Ingenieur Recherche - Dept INF
> Institut Mines-Telecom, Telecom SudParis, Evry (France)
>
>
>
>
> _______________________________________________
> Pkg-opennebula-devel mailing list
> Pkg-opennebula-devel at lists.alioth.debian.org
>
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-opennebula-devel
>
--
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-opennebula-devel/attachments/20120518/06dd9152/attachment.html>
More information about the Pkg-opennebula-devel
mailing list