<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div><br>
</div>
I'm not sure how Climate would map to the non-predictable nature of the workload. I had understood Climate as providing a booking system to reserve resources in the future (which is a valuable use case but not quite the problem Ulrich is describing of delegation
of quota).
<div><br>
</div>
<div>Looking at <a href="https://blueprints.launchpad.net/nova/+spec/domain-quota-driver">https://blueprints.launchpad.net/nova/+spec/domain-quota-driver</a>, it appears that there is a quota driver using Domains being developed for Icehouse in Nova. I don't
know if it completely covers the use case (i.e. quotas on both projects and domains), but if this is the case, the delegation might be handled with the domain/project structure and an appropriate policy definition (<a href="http://docs.openstack.org/trunk/openstack-ops/content/customize_auth.html">http://docs.openstack.org/trunk/openstack-ops/content/customize_auth.html</a>)
where the domain manager has the rights to modify the quota of the projects as well as the project manager.</div>
<div><br>
</div>
<div>With the groups functions mapping onto roles, I think this functionality could be built using the domain quota driver (or a derivative of it), policies and groups and allow other kinds of delegation in addition to quotas (such as shared image upload).</div>
<div><br>
</div>
<div>Tim</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>
<div>On 26 Dec 2013, at 20:51, Dina Belova <<a href="mailto:dbelova@mirantis.com">dbelova@mirantis.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">That quota staff has been following me from summit where we discussed that with Tim. Also, <font face="arial, sans-serif">Ulrich, Sylvain is right - speaking about one piece of cake for one customer, our Climate (Reservation-as-a-Service) might
help that. That piece might be some amount of hosts with specific (customer specific) characteristics, or just some already created and reserved virtual capacity measured in certain amount of VMs, volumes, etc.</font>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif">I'll be here in mailing list (and, probably, on our IRC channel #openstack-climate) during all holidays, so you are welcome! Now I'm working on better documentation for Climate just to give link and that's it, but now I may
only explain that by mails and so on :)</font></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif">[Climate Launchpad] </font><a href="https://launchpad.net/climate">https://launchpad.net/climate</a></div>
<div>[<span style="color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">Hosts Reservation BP</span>] <a href="https://wiki.openstack.org/wiki/Blueprint-nova-planned-resource-reservation-api">https://wiki.openstack.org/wiki/Blueprint-nova-planned-resource-reservation-api</a></div>
<div>[Climate wiki (not compete one)] <a href="https://wiki.openstack.org/wiki/Resource-reservation-service">https://wiki.openstack.org/wiki/Resource-reservation-service</a></div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Dec 26, 2013 at 9:44 PM, Sylvain Bauza <span dir="ltr">
<<a href="mailto:sylvain.bauza@gmail.com" target="_blank">sylvain.bauza@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Hi Ulrich,<br>
I already discussed with Tim during last Swiss meetup at CERN about how Climate could maybe help you on your use cases. There are still many things to discuss and a demo to run out so we could see if it match your needs.</p>
<p dir="ltr">Basically, Climate is a new Stackforge project planning to implement resource reservations in OpenStack, including but not exhaustively Nova instances or nova-compute nodes. Resources can be allocated to either full tenants or to a specific user
and can be provisioned now or in a certain period of time.</p>
<p dir="ltr">About quotas, that's something not yet planned but kind of nice feature to have.</p>
<p dir="ltr">Sorry but as I'm being in vacations, I don't have way to give you more inputs on this (typing from my very limited phone...) but should you be interested in, just give a shot and search on ML, you'll find previous pointers.</p>
<p dir="ltr">-Sylvain<br>
</p>
<div class="gmail_quote">Le 26 déc. 2013 08:04, "Ulrich Schwickerath" <<a href="mailto:ulrich.schwickerath@cern.ch" target="_blank">ulrich.schwickerath@cern.ch</a>> a écrit :
<div>
<div class="h5"><br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear all,<br>
<br>
I'd like to trigger a new discussion about the future of quota management in OpenStack. Let me start with our main user story to clarify what we need.<br>
I'm working for CERN for the IT departement. We're providing computing resources to our customers, either through traditional batch farms or through an OpenStack IaaS<br>
infrastructure. Our main customers are the LHC experiments, which by themselves are fairly large dynamic organizations with complex internal structures, with specific requirements<br>
and many thousand users from many different countries and regions. Computing resources are centralized, and each customer organization gets it's share of the cake.<br>
<br>
Instead of trying to keep track of the internal structures of our customers and their changing needs, we need a way to allocate one piece of the big cake to each customer (and adjust it regularely), and give them the possibility to manage these resources themselves.
What I have in mind here is the idea of a "Quota delegation":<br>
<br>
- The main resource manager determines the fractions of the resources for each customer<br>
- He allocates a quota to each customer by giving it to a "computing coordinater" which is nominated by the customer<br>
- the computing coordinater in turn takes his piece of the cake, chops it up and gives it to the coordinators of the different research groups in his experiment<br>
<br>
and so on.<br>
<br>
I'd like to ask people for their opinion on how such a schema should be implemented. There are several aspects which need to be taken into account here:<br>
- There are people with different roles in this game:<br>
+- the main resource manager role is a super user role which can but does not have to be identical to the cloud manager.<br>
Persons with this role should be able to change all numbers down in the tree. In general, the cloud manager and the resource manager role are<br>
not identical in my opinion. Persons with this role should also be able to nominate other resource managers and give them a fraction of the resources<br>
+- a normal resource manager is a bit like the main resource manager, with the exception that he can only manage the fraction of the resources he was allocated by a person "above" him<br>
+- a normal user: persons with this role can only consume resources<br>
<br>
- several people can have the same role. This is necessary to be able to cover eg. holiday season or sick leave periods where one manager is not available. Maybe introducing a group concept here would be appropriate, in a way that roles are assigned to groups
and people are assigned to the groups instead of assigning roles directly to individuals.<br>
<br>
- When I say "Quota" what I'm talking about is actually just a number, eventually assigned with some unit. It could be a static limit on a specific resource like number of VMs or the amount of memory or disk space, or it could be something different like computing
performance or even something like a currency at the longer term<br>
<br>
- What is the right place to store such "groups" or "roles" ? What do people think ?<br>
<br>
We are currently only interested in limit settings for Nova. The described ideas could be implemented as part of Nova, or as an entirely independent external tool (which might be incorporated later). IMO the latter approach has some advantages but I'd like
to hear peoples opinion about this.<br>
<br>
We'll have some man power available to work on the design and the implementation of this so I'd expect to see some rapid progress if everbody agrees that this is a useful thing to do.<br>
<br>
Thanks a lot for your comments/opinions!<br>
<br>
Kind regards,<br>
Ulrich<br>
<br>
<br>
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</blockquote>
</div>
</div>
</div>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<div style="font-size: small; margin: 0px; font-family: Helvetica; ">Best regards,</div>
<div style="font-size: small; margin: 0px; font-family: Helvetica; ">Dina Belova</div>
<div style="font-size: small; margin: 0px; font-family: Helvetica; ">Software Engineer</div>
<div style="font-size: small; margin: 0px; font-family: Helvetica; ">Mirantis Inc.</div>
</div>
</div>
</div>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br>
</blockquote>
</div>
<br>
</div>
</body>
</html>