[one-users] Creation of templates by cloud users in Sunstone 4.2.0 views

Daniel Molina dmolina at opennebula.org
Tue Oct 8 05:59:44 PDT 2013


On 8 October 2013 12:55, Gerry O'Brien <gerry at scss.tcd.ie> wrote:

> Hi Daniel,
>
>     I have already created templates for cloud users but that does not
> allow them, as far as I can see, to make persistent images. In any event,
> the freedom to mix and match CPU/Memory/network settings to various images
> is lost.
>

You could enable the images tab, as you did in another thread, so users can
create their own images and in the "launch" vm button they will be able to
select those images and one of the predefined templates, which includes de
cpu, memory, network configuration.


>
>    Also, without the ability to create templates I cannot see how they can
> create a datablock and install their own images from CD. I can enable
> templates in the cloud view but as they are not controlled by quota I'm
> worried about not being able to access our sysadmin templates among an
> unbounded clutter of user templates. If the user templates could be stored
> somewhere else or hidden from view that might solve the problem.
>

You can use the base template, instantiate a new vm and then attach a new
disk (datablock) where users will install their own images from CD.

I don't really get what you are trying to accomplish, could you please
explain your use case, so we can see if it fits in the new cloud views.

Cheers


>
>    Using the CLI is not really an option as I had intended to make the
> self-service available to undergraduate students. In my experience, even
> researchers who had previous cloud experience found the OCCI interface
> unintuitive at first. However, once they got the hang of it, it proved very
> flexible.
>
>     It seems strange to release a new version of software and cripple
> functionality that was previously available (Microsoft's Windows 8 come to
> mind!). Can OCCI 4.2 be built from source with the UI included or the
> version of OCCI shipped with 3.8 pointed at OpenNebula 4.2?
>
>     My intention was to deploy 4.2 for student use this week. If I can't
> provide the functionality of OCCI 3.8 I will have to abandon 4.2, which
> seems a shame.
>
>             Regards,
>                 Gerry
>
>
>
>
> On 08/10/2013 09:02, Daniel Molina wrote:
>
>> Hi Gerry,
>>
>> As you said the old OCCI-based self-service is deprecated and the ui was
>> removed from the code. You should be able to use it from the CLI, but it
>> will be also removed sooner or later.
>>
>> The current cloud view [1], that was implemented to replace the  old
>> self-service, allows you to select a template and na image and launch a
>> new
>> instance without creating new templates. The only part missing for you use
>> case is the network, so maybe we can add this option for upcoming
>> releases,
>> please open a feature request in our dev page so we can consider it.
>>
>> Meanwhile you could use the cloud view and create templates that already
>> define the network (i.e.: small_and_private_net, small_and_public_net,
>> large_and_private_net ...)
>>
>> Cheers
>>
>> [1] http://opennebula.org/**documentation:rel4.2:cloud_**view<http://opennebula.org/documentation:rel4.2:cloud_view>
>>
>>
>> On 7 October 2013 16:20, Gerry O'Brien <gerry at scss.tcd.ie> wrote:
>>
>>  Hi,
>>>
>>>      The reason why I've asked the question below is because I get the
>>> error message below when I try to run the occi-server. I've read in the
>>> posts that it is depreciated but I'm confused as there is documentation
>>> here http://opennebula.org/****documentation:rel4.2:occiug<http://opennebula.org/**documentation:rel4.2:occiug>
>>> <ht**tp://opennebula.org/**documentation:rel4.2:occiug<http://opennebula.org/documentation:rel4.2:occiug>
>>> >**for 4.2.
>>>
>>>
>>>          Regards,
>>>              Gerry
>>>
>>>
>>>
>>>
>>>
>>> XML Parsing Error: no element found
>>> Location: http://XXX.scss.tcd.ie:4567/
>>> Line Number 1, Column 1:
>>>
>>>
>>>
>>> On 07/10/2013 15:11, Gerry O'Brien wrote:
>>>
>>>  Hi,
>>>>
>>>>          I'm trying to emulate the ease-of-use of OCCI self-service in
>>>> OpenNebula 4.2.0 Sunstone using views. In particular, I liked the idea
>>>> of
>>>> the drop-down list of predefined templates where machines could be
>>>> provisioned by adding an image and a network. It seems the only way to
>>>> emulate this is to allow cloud users to be able to create templates.
>>>> While
>>>> I appreciate the flexibility of Sunstone views I'm concerned that if
>>>> cloud
>>>> users can create templates then there is a danger that the site will be
>>>> littered with templates. If the templates could be placed in another
>>>> location that would be great. Is there any way around this or am I
>>>> missing
>>>> something? Somehow, the OCCI self-service was able to hide these
>>>> templates
>>>> that it created on the fly.
>>>>
>>>>          Regards,
>>>>              Gerry
>>>>
>>>>
>>>>  --
>>> Gerry O'Brien
>>>
>>> Systems Manager
>>> School of Computer Science and Statistics
>>> Trinity College Dublin
>>> Dublin 2
>>> IRELAND
>>>
>>> 00 353 1 896 1341
>>>
>>> ______________________________****_________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/****listinfo.cgi/users-opennebula.****org<http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org>
>>> <http://lists.opennebula.**org/listinfo.cgi/users-**opennebula.org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>>> >
>>>
>>>
>>
>>
>
> --
> Gerry O'Brien
>
> Systems Manager
> School of Computer Science and Statistics
> Trinity College Dublin
> Dublin 2
> IRELAND
>
> 00 353 1 896 1341
>
>


-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131008/d99dfb7a/attachment-0002.htm>


More information about the Users mailing list