<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-25 15:38 GMT+01:00 Dina Belova <span dir="ltr"><<a href="mailto:dbelova@mirantis.com" target="_blank">dbelova@mirantis.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I guess that's simple and that's why nice solution for this problem.<div><br></div><div>So you propose to implement that feature in following way:</div>
<div>1) mark project as 'reservable' during its creation in extras specs</div>
<div>2) add some more logic to reservable resources creation/reservation. Like adding one more checking in instance creation request. Currently we're checking hints in request, you propose to check project extra info and if project is 'reservable' you'll use smth like default_reservation stuff for instances</div>

<div><br></div><div>Although it looks ok (because of no changes to Keystone/Nova/etc. core code), I have some question about this solution:</div><div>- info about project should be given only to admins, really. But all these VMs will be booted by simple users, am I right? In this case you'll have no possibility to get info about project and to process checking.</div>

<div><br></div><div>Do you have some ideas about how to solve this problem?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Dina</div><div><br></div></font></span></div></blockquote><div><br></div><div>
<br></div><div>Why should it require to be part of Keystone to hook up on Climate ? </div><div>Provided we consider some projects as 'reservable', we could say this should be a Climate API endpoint like CRUD /project/ and up to the admin responsability to populate it.</div>
<div><br></div><div>If we say that new projects should automatically be 'reservable', that's only policy from Climate to whiteboard these.</div><div><br></div><div>Provided a VM is booted by a single end-user, that would still be Climate's responsability to verify that the user's tenant has been previously granted.</div>
<div><br></div><div>-Sylvain</div><div><br></div></div></div></div>