Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-11-03 Thread David koo
On Wed, Oct 30, 2013 at 12:18:13AM -0400, Mike Spreitzer wrote: David koo david@huawei.com wrote on 10/29/2013 05:19:24 AM: Would it be possible to provide an alternate link to the doc? The GFW blocks google docs :(. For those of you behind the GFW, here is the main doc and some it

Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-11-01 Thread John Garbutt
On 29 October 2013 20:18, Mike Spreitzer mspre...@us.ibm.com wrote: John Garbutt j...@johngarbutt.com wrote on 10/29/2013 07:29:19 AM: ... Its looking good, but I was thinking about a slightly different approach: * I would like to see instance groups be used to describe all scheduler hints

Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-10-30 Thread Alex Glikson
Mike Spreitzer mspre...@us.ibm.com wrote on 30/10/2013 06:11:04 AM: Date: 30/10/2013 06:12 AM Alex also wrote: ``I wonder whether it is possible to find an approach that takes into account cross-resource placement considerations (VM-to-VM communicating over the application network, or

Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-10-30 Thread Gary Kotton
(not for usage questions) openstack-dev@lists.openstack.orgmailto:openstack-dev@lists.openstack.org Subject: Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload Andrew Laski andrew.la...@rackspace.commailto:andrew.la...@rackspace.com

Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-10-30 Thread Mike Spreitzer
Alex Glikson glik...@il.ibm.com wrote on 10/30/2013 02:26:08 AM: Mike Spreitzer mspre...@us.ibm.com wrote on 30/10/2013 06:11:04 AM: Date: 30/10/2013 06:12 AM Alex also wrote: ``I wonder whether it is possible to find an approach that takes into account cross-resource placement

[openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-10-29 Thread Yathiraj Udupi (yudupi)
The Instance Group API document is now updated with a simple example request payload of a nested group, and some description of how the API implementation should handle the registration of the components of a nested instance group.

Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-10-29 Thread David koo
Hi Yathi, https://docs.google.com/document/d/17OIiBoIavih-1y4zzK0oXyI66529f-7JTCVj-BcXURA/edit Would it be possible to provide an alternate link to the doc? The GFW blocks google docs :(. Thanks. -- Koo ___ OpenStack-dev mailing list

Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-10-29 Thread John Garbutt
On 29 October 2013 06:46, Yathiraj Udupi (yudupi) yud...@cisco.com wrote: The Instance Group API document is now updated with a simple example request payload of a nested group, and some description of how the API implementation should handle the registration of the components of a nested

Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-10-29 Thread Khanh-Toan Tran
: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload On 29 October 2013 06:46, Yathiraj Udupi (yudupi) yud...@cisco.com wrote: The Instance Group API document is now updated with a simple example request payload of a nested group

Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-10-29 Thread Mike Spreitzer
Alex Glikson glik...@il.ibm.com wrote on 10/29/2013 03:37:41 AM: 1. I assume that the motivation for rack-level anti-affinity is to survive a rack failure. Is this indeed the case? This is a very interesting and important scenario, but I am curious about your assumptions regarding all the

Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-10-29 Thread Mike Spreitzer
Khanh-Toan Tran khanh-toan.t...@cloudwatt.com wrote on 10/29/2013 09:10:00 AM: ... 1) Member of a group is recursive. A member can be group or an instance. In this case there are two different declaration formats for members, as with http-server-group-1 (name, policy, edge) and

Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-10-29 Thread Mike Spreitzer
John Garbutt j...@johngarbutt.com wrote on 10/29/2013 07:29:19 AM: ... Its looking good, but I was thinking about a slightly different approach: * I would like to see instance groups be used to describe all scheduler hints (including, please run on cell X, or please run on hypervisor Y) I

Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-10-29 Thread Mike Spreitzer
I should clarify my comment about invoking Heat to do the orchestration. I think we have a choice between designing a 1-stage API vs a 2-stage API. The 2-stage API goes like this: first the client defines the top-level group and everything inside it, then the client makes more calls to create

Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-10-29 Thread Russell Bryant
On 10/29/2013 04:32 PM, Mike Spreitzer wrote: I should clarify my comment about invoking Heat to do the orchestration. I think we have a choice between designing a 1-stage API vs a 2-stage API. The 2-stage API goes like this: first the client defines the top-level group and everything inside

Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-10-29 Thread Andrew Laski
On 10/29/13 at 04:05pm, Mike Spreitzer wrote: Alex Glikson glik...@il.ibm.com wrote on 10/29/2013 03:37:41 AM: 1. I assume that the motivation for rack-level anti-affinity is to survive a rack failure. Is this indeed the case? This is a very interesting and important scenario, but I am curious

Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-10-29 Thread Yathiraj Udupi (yudupi)
Thanks Khanh for your questions and Mike for adding your inputs. Some more inline comments. On 10/29/13, 1:23 PM, Mike Spreitzer mspre...@us.ibm.commailto:mspre...@us.ibm.com wrote: Khanh-Toan Tran khanh-toan.t...@cloudwatt.commailto:khanh-toan.t...@cloudwatt.com wrote on 10/29/2013

Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-10-29 Thread Chris Friesen
On 10/29/2013 03:14 PM, Andrew Laski wrote: Having Nova call into Heat is backwards IMO. Agreed. If there are specific pieces of information that Nova can expose, or API capabilities to help with orchestration/placement that Heat or some other service would like to use then let's look at

Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-10-29 Thread Alex Glikson
Andrew Laski andrew.la...@rackspace.com wrote on 29/10/2013 11:14:03 PM: [...] Having Nova call into Heat is backwards IMO. If there are specific pieces of information that Nova can expose, or API capabilities to help with orchestration/placement that Heat or some other service would like

Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-10-29 Thread Alex Glikson
: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload Thanks Alex, Mike, Andrew, Russel for your comments. This ongoing API discussion started in our scheduler meetings, as a first step to tackle in the Smarter resource placement

Re: [openstack-dev] [nova][scheduler] Instance Group Model and APIs - Updated document with an example request payload

2013-10-29 Thread Mike Spreitzer
Following is my reaction to the last few hours of discussion. Russell Bryant wrote Nova calling heat to orchestrate Nova seems fundamentally wrong. I am not totally happy about this either, but would you be OK with Nova orchestrating Nova? To me, that seems worse --- duplicating