[one-users] Strange behaviour when creating new VM from image (ONE 2.0)
Oscar Elfving
sofam84 at gmail.com
Wed Nov 10 02:22:42 PST 2010
I found what was wrong, I needed to use TARGET in the DISK definition
otherwise it can't generate the deployment.0 file.
Best regards,
Oscar Elfving
On Wed, Nov 10, 2010 at 11:21 AM, Javier Fontan <jfontan at gmail.com> wrote:
> Can you send us the vm log file located at $ONE_LOCATION/var/58/vm.log
> or /var/log/58.log?
>
> Bye
>
> On Tue, Nov 9, 2010 at 3:35 PM, Oscar Elfving <sofam84 at gmail.com> wrote:
> > Hello,
> > I am trying to create a new VM from a raw disk image, I have added it in
> the
> > template like this:
> > DISK = [
> > TYPE = "disk",
> > SOURCE = "/srv/cloud/var/images/ws1.img",
> > CLONE = no
> > ]
> > But ONE just creates it, links it and then immediately deletes it, why is
> > this?
> > oned.log:
> > Tue Nov 9 15:33:18 2010 [TM][D]: Message received: LOG - 58 tm_ln.sh:
> > Creating directory /srv/cloud/one/var/58/images
> > Tue Nov 9 15:33:18 2010 [TM][D]: Message received: LOG - 58 tm_ln.sh:
> > Executed "mkdir -p /srv/cloud/one/var/58/images".
> > Tue Nov 9 15:33:18 2010 [TM][D]: Message received: LOG - 58 tm_ln.sh:
> > Executed "chmod a+w /srv/cloud/one/var/58/images".
> > Tue Nov 9 15:33:18 2010 [TM][D]: Message received: LOG - 58 tm_ln.sh:
> Link
> > /srv/cloud/var/images/ws1.img
> > Tue Nov 9 15:33:18 2010 [TM][D]: Message received: LOG - 58 tm_ln.sh:
> > Executed "ln -s /srv/cloud/var/images/ws1.img
> > /srv/cloud/one/var/58/images/disk.0".
> > Tue Nov 9 15:33:18 2010 [TM][D]: Message received: TRANSFER SUCCESS 58 -
> > Tue Nov 9 15:33:18 2010 [TM][D]: Message received: LOG - 58
> tm_delete.sh:
> > Deleting /srv/cloud/one/var/58/images
> > Tue Nov 9 15:33:18 2010 [TM][D]: Message received: LOG - 58
> tm_delete.sh:
> > Executed "rm -rf /srv/cloud/one/var/58/images".
> > Tue Nov 9 15:33:18 2010 [TM][D]: Message received: TRANSFER SUCCESS 58 -
> > Best regards,
> > Oscar Elfving
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >
> >
>
>
>
> --
> Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
> DSA Research Group: http://dsa-research.org
> Globus GridWay Metascheduler: http://www.GridWay.org
> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20101110/1dbfb668/attachment-0003.htm>
More information about the Users
mailing list