[openstack-dev] Compute API (Was Re: [nova][cinder] how to handle AZ bug 1496235?)

Sylvain Bauza sbauza at redhat.com
Mon Sep 28 12:58:07 UTC 2015



Le 28/09/2015 12:35, Duncan Thomas a écrit :
>
>
> On 28 September 2015 at 12:35, Sylvain Bauza <sbauza at redhat.com 
> <mailto:sbauza at redhat.com>> wrote:
>
>     About the maintenance burden, I also consider that patching
>     clients is far more easier than patching an API unless I missed
>     something.
>
>
> I think I very much disagree there - patching a central installation 
> is much, much easier than getting N customers to patch M different 
> libraries, even assuming the fix is available for any significant 
> subset of the M libraries, plus making sure that new customers use the 
> correct libraries, plus helping any customers who have some sort of 
> roll-your-own library do the new right thing...
>

Well, having N versions of clients against one single API version is 
just something we manage since the beginning. I don't really see why it 
suddently becomes so difficult to manage it.


> I think there's a definite place for a simple API to do infrastructure 
> level orchestration without needing the complexities of heat - these 
> APIs are in nova because they're useful - there's clear operator 
> desire for them and a couple of operators have been quite vocal about 
> their desire for them not to be removed. Great, let's keep them, but 
> form a team of people interested in getting them right (get rid of 
> fixed timeouts, etc), add any missing pieces (like floating IPs for 
> new VMs) and generally focus on getting this piece of the puzzle 
> right. Breaking another small piece off nova and polishing it has been 
> a generally successful pattern.

I don't want to overthink what could be the right scope of that future 
API but given the Heat mission statement [1] and its service name 
'orchestration', I don't see why this API endpoint should land in the 
Nova codebase and couldn't be rather provided by the Heat API. Oh sure, 
it would perhaps require another endpoint behind the same service, but 
isn't that better than having another endpoint in Nova ?

[1] 
https://github.com/openstack/governance/blob/master/reference/projects.yaml#L482-L484


>
> I remember Monty Taylor (copied) having a rant about the lack of the 
> perfect 'give me a VM with all its stuff sorted' API. Care to comment, 
> Monty?

Sounds you misunderstood me. I'm not against implementing this excellent 
usecase, I just think the best place is not in Nova and should be done 
elsewhere.

>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150928/6471090d/attachment.html>


More information about the OpenStack-dev mailing list