[one-users] Strange behaviour when creating new VM from image (ONE 2.0)

Oscar Elfving sofam84 at gmail.com
Tue Nov 9 06:35:31 PST 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20101109/d8618236/attachment-0002.htm>


More information about the Users mailing list