[one-users] OpenNebula ignores SAVE parameter

richard -rw- weinberger richard.weinberger at gmail.com
Mon Dec 12 12:03:31 PST 2011


Hi,

After deleting a VM OpenNebula tries to save an image.
But SAVE is set to "no". Therefore, the image is in error-state!

Here my image definition:
----
NAME = img1
SOURCE = "/srv/guestimgs/guests/_centos6_template/disk1.raw"
TYPE = OS
PERSISTENT = yes
SAVE = no
BUS = virtio
DRIVER = raw
----

----
 oneimage show 3
IMAGE 3 INFORMATION
ID             : 3
NAME           : img1
USER           : oneadmin
GROUP          : oneadmin
TYPE           : OS
REGISTER TIME  : 12/12 20:31:40
PUBLIC         : No
PERSISTENT     : Yes
SOURCE         : /srv/guestimgs/guests/_centos6_template/disk1.raw
SIZE           : 0
STATE          : err
RUNNING_VMS    : 0

IMAGE TEMPLATE
BUS=virtio
DEV_PREFIX=hd
DRIVER=raw
ERROR=[
  MESSAGE="Error saving image to the repository: Could not move
/var/lib/one/35/disk.0 to
/srv/guestimgs/guests/_centos6_template/disk1.raw",
  TIMESTAMP="Mon Dec 12 20:56:51 2011" ]
NAME=img1
SAVE=no
SOURCE=/srv/guestimgs/guests/_centos6_template/disk1.raw
TYPE=OS
----

-- 
Thanks,
//richard



More information about the Users mailing list