<div dir="ltr">Hi Gerry,<br><div class="gmail_extra"><br><br><div class="gmail_quote">On 8 October 2013 18:04, Gerry O'Brien <span dir="ltr"><<a href="mailto:gerry@scss.tcd.ie" target="_blank">gerry@scss.tcd.ie</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Daniel,<br>
<br>
      What we are really trying to do is emulate the OCCI self-service GUI.  We potentially have a lot of networks (routed and non-routed) which could be used for teaching and research so having a set of core templates that can be modified on-the-fly is a very useful feature. Also, we could have many different images so predefined templates for  (networks) X (images) x (CPU/memory specs) starts to get large and requires continual maintenance as images are updated. Having the OCCI stubs simplifies this. If there were quotas on templates and/or if user templates were somehow hidden then it might be feasible to let users create their own templates and ignore them.<br>

</blockquote><div><br></div><div>Ok, so I think the only functionality missing in the new cloud view is selecting a network. In the OCCI self-service you can define CPU/MEMORY/... in the file based templates, in the cloud view you can do the same thing but using OpenNebula templates instead of files. This allows you to use restricted attributes and define different base templates for different users/groups. In the OCCI-ss, when you create a new compute (vm) you select an instance_type, storage and network and a new vm is instantiated using this information. In the new cloud view, when you launch a new vm you select a template (former instance_type) and an image, the information is merged and a new vm is created, but you don't have to create a new template. Therefore, I think the only piece missing is selecting the network when the vm is launched.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
    There is also the question of human resources in providing support for OpenNebual users. Switching from the OCCI GUI requires retraining of support staff. On the other hand, the view model will clearly be more flexible in the long run and will facilitate provisioning for more sophisticated users who can be trusted not to create large amounts of templates.<br>

</blockquote><div><br></div><div>I agree. </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<br>
    In the meantime we have pointed the 3.8 OCCI GUI at the 4.2 core and everything looks good so far. The only change we had to make was to explicitly specify the OS parameters (BOOT and ARCH) in the stub templates, otherwise the VMs wouldn't boot.<br>

</blockquote><div><br></div><div>The 3.8 OCCI GUI is not tested on top of one-4.2 but it should work.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<br>
    I'm not sure I follow you suggestion below as to how cloud users could install from CD. How would they specify a different boot device?<br></blockquote><div><br></div><div>Specifying multiple boot devices is not supported in one-4.2, but it is already implemented for 4.4</div>

<div><a href="http://dev.opennebula.org/issues/538">http://dev.opennebula.org/issues/538</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<br>
    One new feature that we would find really useful would be if users were allowed to CLONE to a different datastore. We tend to put our system images and any public images in datastore 1 and user images in other datastores. We have to run multiple versions of the OCCI to direct different classes of users to different datastores. It would be nice if users could clone from public images in datastore 1 into their own datastore. I guess AppMarket is the proper way to do this, but simple cloning is easy.<br>

</blockquote><div><br></div><div>Indeed, there is already a feature request in our dev page for that feature, maybe we can consider it for upcoming release:</div><div><a href="http://dev.opennebula.org/issues/1696">http://dev.opennebula.org/issues/1696</a></div>

<div><br></div><div>But, as you said I think the best fit for your use case is using the AppMarket component, you can host base images for your users and they will be able to import them to their datastore.</div><div><br>

</div><div>Thank you for your feedback</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<br>
        Regards,<br>
            Gerry<div><div class="h5"><br>
<br>
<br>
 On 08/10/2013 13:59, Daniel Molina wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
On 8 October 2013 12:55, Gerry O'Brien <<a href="mailto:gerry@scss.tcd.ie" target="_blank">gerry@scss.tcd.ie</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi Daniel,<br>
<br>
     I have already created templates for cloud users but that does not<br>
allow them, as far as I can see, to make persistent images. In any event,<br>
the freedom to mix and match CPU/Memory/network settings to various images<br>
is lost.<br>
<br>
</blockquote>
You could enable the images tab, as you did in another thread, so users can<br>
create their own images and in the "launch" vm button they will be able to<br>
select those images and one of the predefined templates, which includes de<br>
cpu, memory, network configuration.<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
    Also, without the ability to create templates I cannot see how they can<br>
create a datablock and install their own images from CD. I can enable<br>
templates in the cloud view but as they are not controlled by quota I'm<br>
worried about not being able to access our sysadmin templates among an<br>
unbounded clutter of user templates. If the user templates could be stored<br>
somewhere else or hidden from view that might solve the problem.<br>
<br>
</blockquote>
You can use the base template, instantiate a new vm and then attach a new<br>
disk (datablock) where users will install their own images from CD.<br>
<br>
I don't really get what you are trying to accomplish, could you please<br>
explain your use case, so we can see if it fits in the new cloud views.<br>
<br>
Cheers<br>
<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
    Using the CLI is not really an option as I had intended to make the<br>
self-service available to undergraduate students. In my experience, even<br>
researchers who had previous cloud experience found the OCCI interface<br>
unintuitive at first. However, once they got the hang of it, it proved very<br>
flexible.<br>
<br>
     It seems strange to release a new version of software and cripple<br>
functionality that was previously available (Microsoft's Windows 8 come to<br>
mind!). Can OCCI 4.2 be built from source with the UI included or the<br>
version of OCCI shipped with 3.8 pointed at OpenNebula 4.2?<br>
<br>
     My intention was to deploy 4.2 for student use this week. If I can't<br>
provide the functionality of OCCI 3.8 I will have to abandon 4.2, which<br>
seems a shame.<br>
<br>
             Regards,<br>
                 Gerry<br>
<br>
<br>
<br>
<br>
On 08/10/2013 09:02, Daniel Molina wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
Hi Gerry,<br>
<br>
As you said the old OCCI-based self-service is deprecated and the ui was<br>
removed from the code. You should be able to use it from the CLI, but it<br>
will be also removed sooner or later.<br>
<br>
The current cloud view [1], that was implemented to replace the  old<br>
self-service, allows you to select a template and na image and launch a<br>
new<br>
instance without creating new templates. The only part missing for you use<br>
case is the network, so maybe we can add this option for upcoming<br>
releases,<br>
please open a feature request in our dev page so we can consider it.<br>
<br>
Meanwhile you could use the cloud view and create templates that already<br>
define the network (i.e.: small_and_private_net, small_and_public_net,<br>
large_and_private_net ...)<br>
<br>
Cheers<br>
<br></div></div>
[1] <a href="http://opennebula.org/**documentation:rel4.2:cloud_**view" target="_blank">http://opennebula.org/**<u></u>documentation:rel4.2:cloud_**<u></u>view</a><<a href="http://opennebula.org/documentation:rel4.2:cloud_view" target="_blank">http://opennebula.org/<u></u>documentation:rel4.2:cloud_<u></u>view</a>><div class="im">

<br>
<br>
<br>
On 7 October 2013 16:20, Gerry O'Brien <<a href="mailto:gerry@scss.tcd.ie" target="_blank">gerry@scss.tcd.ie</a>> wrote:<br>
<br>
  Hi,<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">
      The reason why I've asked the question below is because I get the<br>
error message below when I try to run the occi-server. I've read in the<br>
posts that it is depreciated but I'm confused as there is documentation<br></div>
here <a href="http://opennebula.org/****documentation:rel4.2:occiug" target="_blank">http://opennebula.org/****<u></u>documentation:rel4.2:occiug</a><<a href="http://opennebula.org/**documentation:rel4.2:occiug" target="_blank">ht<u></u>tp://opennebula.org/**<u></u>documentation:rel4.2:occiug</a>><br>


<ht**tp://<a href="http://opennebula.org/**documentation:rel4.2:occiug" target="_blank">opennebula.org/**<u></u>documentation:rel4.2:occiug</a><<a href="http://opennebula.org/documentation:rel4.2:occiug" target="_blank">ht<u></u>tp://opennebula.org/<u></u>documentation:rel4.2:occiug</a>><br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
**for 4.2.<br>
</blockquote><div><div class="h5">
<br>
          Regards,<br>
              Gerry<br>
<br>
<br>
<br>
<br>
<br>
XML Parsing Error: no element found<br>
Location: <a href="http://XXX.scss.tcd.ie:4567/" target="_blank">http://XXX.scss.tcd.ie:4567/</a><br>
Line Number 1, Column 1:<br>
<br>
<br>
<br>
On 07/10/2013 15:11, Gerry O'Brien wrote:<br>
<br>
  Hi,<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
          I'm trying to emulate the ease-of-use of OCCI self-service in<br>
OpenNebula 4.2.0 Sunstone using views. In particular, I liked the idea<br>
of<br>
the drop-down list of predefined templates where machines could be<br>
provisioned by adding an image and a network. It seems the only way to<br>
emulate this is to allow cloud users to be able to create templates.<br>
While<br>
I appreciate the flexibility of Sunstone views I'm concerned that if<br>
cloud<br>
users can create templates then there is a danger that the site will be<br>
littered with templates. If the templates could be placed in another<br>
location that would be great. Is there any way around this or am I<br>
missing<br>
something? Somehow, the OCCI self-service was able to hide these<br>
templates<br>
that it created on the fly.<br>
<br>
          Regards,<br>
              Gerry<br>
<br>
<br>
  --<br>
</blockquote>
Gerry O'Brien<br>
<br>
Systems Manager<br>
School of Computer Science and Statistics<br>
Trinity College Dublin<br>
Dublin 2<br>
IRELAND<br>
<br>
<a href="tel:00%20353%201%20896%201341" value="+35318961341" target="_blank">00 353 1 896 1341</a><br>
<br></div></div>
______________________________<u></u>****_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/****listinfo.cgi/users-opennebula.****org" target="_blank">http://lists.opennebula.org/**<u></u>**listinfo.cgi/users-<u></u>opennebula.****org</a><<a href="http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org" target="_blank">http://<u></u>lists.opennebula.org/**<u></u>listinfo.cgi/users-opennebula.<u></u>**org</a>><br>


<<a href="http://lists.opennebula." target="_blank">http://lists.opennebula.</a>**<u></u>org/listinfo.cgi/users-**<a href="http://opennebula.org" target="_blank">openn<u></u>ebula.org</a><<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.<u></u>opennebula.org/listinfo.cgi/<u></u>users-opennebula.org</a>><br>


<br>
</blockquote>
<br>
</blockquote><div class="im">
--<br>
Gerry O'Brien<br>
<br>
Systems Manager<br>
School of Computer Science and Statistics<br>
Trinity College Dublin<br>
Dublin 2<br>
IRELAND<br>
<br>
<a href="tel:00%20353%201%20896%201341" value="+35318961341" target="_blank">00 353 1 896 1341</a><br>
<br>
<br>
</div></blockquote>
<br>
</blockquote>
<br>
<br>
-- <br><div class=""><div class="h5">
Gerry O'Brien<br>
<br>
Systems Manager<br>
School of Computer Science and Statistics<br>
Trinity College Dublin<br>
Dublin 2<br>
IRELAND<br>
<br>
<a href="tel:00%20353%201%20896%201341" value="+35318961341" target="_blank">00 353 1 896 1341</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>--<br></div>Daniel Molina<br>Project Engineer<br>OpenNebula - Flexible Enterprise Cloud Made Simple<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula</div>


</div></div>