[one-users] OpenNebula 2 RC: Why do image names have to be unique?

Carlos Martín Sánchez cmartins at fdi.ucm.es
Wed Sep 29 03:36:28 PDT 2010

Hi Carsten,

Yes, it is necessary if you want to be able to use the image name's in the
template, like

DISK = [ IMAGE = "Ubuntu Lucic" ]

Otherwise, you are forcing the users to use images by their IMAGE_ID, which
is an internal ID that can change at any time, e.g., you define templates
for your IMAGE "Ubuntu" and a VM that uses "Ubuntu", but the VM template has
be modified if you delete and register again some time later that IMAGE)

Carlos Martín, Cloud Technology Engineer/Researcher
DSA Research Group: web http://dsa-research.org and blog
OpenNebula Open Source Toolkit for Cloud Computing:

On 29 September 2010 07:20, <Carsten.Friedrich at csiro.au> wrote:

>  Trying to insert a second image with the same name into the image
> repository creates an error on the database layer. Since images are already
> uniquely defined by their id, and it is not unlikely that different users
> may choose the same name for an image, e g. “Ubuntu Lucid”, I’m not sure
> this restriction is doing more good than harm (by confusing users through
> hard to interpret error messages). Is it really necessary?
> Carsten
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100929/ba1bdb5f/attachment-0003.htm>

More information about the Users mailing list