[one-users] one2 : save tag does not seem to work

Tino Vazquez tinova at fdi.ucm.es
Tue Oct 26 07:02:17 PDT 2010


Hi Rich,

I've put a note in the VM template definition section to warn about
the attributes that will be ignored when using the Image Catalog.

A template validator is totally within our roadmap, we will provide
that in future releases for sure.

Thanks and regards,

-Tino

--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org



On Tue, Oct 26, 2010 at 3:39 PM, Rich Wellner <rkw at objenv.com> wrote:
> I have run into issues like this also, and would like to suggest that more
> than a documentation update needs to happen.  One should also either abort
> or, at least, throw a warning telling the user the his arguments are going
> to be ignored.
>
> rw2
>
> On 10/26/10 8:14 AM, Olivier Sallou wrote:
>>
>> ok, so it is rather an issue with documentation not really clear at
>> http://www.opennebula.org/documentation:rel2.0:img_template.
>> Page should specify that image template override vm template for disk
>> related data.
>>
>> In my case, I do not want to save the VM, and I do not specify any tag to
>> do so in image description. Though, image is saved anyway.
>> In documentation, it is said that "save" is "no" by default at
>> http://www.opennebula.org/documentation:rel2.0:template.
>>
>> Does it means that I should explicitly specify "save=no" in my image
>> template?
>>
>> Here is my oneimage detail:
>>
>> IMAGE  INFORMATION
>> ID             : 5
>> NAME           : sampleraw2
>> TYPE           : OS
>> REGISTER TIME  : 10/25 18:59:12
>> PUBLIC         : Yes
>> PERSISTENT     : No
>> SOURCE         :
>> /local/one_images/nebula/images/0c2bdd685a6f0abe21b3fb2ba298083abcc5206c
>> STATE          : rdy
>> RUNNING_VMS    : 0
>>
>> IMAGE TEMPLATE
>> DESCRIPTION=Sample suse raw file
>> DEV_PREFIX=hd
>> NAME=sampleraw2
>> PATH=/path_to_my_appliance
>>
>> Thanks
>>
>> Olivier
>>
>> Le 10/26/10 2:29 PM, Tino Vazquez a écrit :
>>>
>>> Dear Olivier,
>>>
>>> When using the Image Catalog, and not the old method of specifying the
>>> full image path in the source attribute, the values of disk attributes
>>> "save" and "clone" are overridden by the Image Catalog inferring them
>>> from the image properties (persistency, save_as).
>>>
>>> If you want to save the image when using the Image Catalog, either
>>> make it persistent or, if you want to save it as another image, use
>>> the save_as functionality.
>>>
>>> Best regards,
>>>
>>> -Tino
>>>
>>> --
>>> Constantino Vázquez Blanco | dsa-research.org/tinova
>>> Virtualization Technology Engineer / Researcher
>>> OpenNebula Toolkit | opennebula.org
>>>
>>>
>>>
>>> On Tue, Oct 26, 2010 at 1:23 PM, Olivier Sallou<olivier.sallou at irisa.fr>
>>>  wrote:
>>>>
>>>> Hi,
>>>> I have a template with:
>>>> DISK   = [
>>>>  image = "sampleraw2",
>>>>  save = "no"
>>>>   ]
>>>>
>>>> and when I do "onevm stop",  one still tries to save the vm on the
>>>> frontend.
>>>> (I also tried with save=no  instead of save="no").
>>>>
>>>> Should I create a bug for this or is there something wrong in my
>>>> template?
>>>>
>>>> Thanks
>>>>
>>>> Olivier
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opennebula.org
>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



More information about the Users mailing list