Re: [openstack-dev] [Heat] [TripleO] Rolling updates spec re-written. RFC

2014-02-05 Thread Zane Bitter
On 05/02/14 11:39, Clint Byrum wrote: Excerpts from Zane Bitter's message of 2014-02-04 16:14:09 -0800: On 03/02/14 17:09, Clint Byrum wrote: UpdatePolicy in cfn is a single string, and causes very generic rolling Huh? http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribu

Re: [openstack-dev] [Heat] [TripleO] Rolling updates spec re-written. RFC

2014-02-05 Thread Zane Bitter
On 04/02/14 20:34, Robert Collins wrote: On 5 February 2014 13:14, Zane Bitter wrote: That's not a great example, because one DB server depends on the other, forcing them into updating serially anyway. I have to say that even in general, this whole idea about applying update policies to non-

Re: [openstack-dev] [Heat] [TripleO] Rolling updates spec re-written. RFC

2014-02-05 Thread Clint Byrum
Excerpts from Steven Dake's message of 2014-02-05 07:35:37 -0800: > On 02/04/2014 06:34 PM, Robert Collins wrote: > > On 5 February 2014 13:14, Zane Bitter wrote: > > > > > >> That's not a great example, because one DB server depends on the other, > >> forcing them into updating serially anyway. >

Re: [openstack-dev] [Heat] [TripleO] Rolling updates spec re-written. RFC

2014-02-05 Thread Clint Byrum
Excerpts from Zane Bitter's message of 2014-02-04 16:14:09 -0800: > On 03/02/14 17:09, Clint Byrum wrote: > > Excerpts from Thomas Herve's message of 2014-02-03 12:46:05 -0800: > >>> So, I wrote the original rolling updates spec about a year ago, and the > >>> time has come to get serious about imp

Re: [openstack-dev] [Heat] [TripleO] Rolling updates spec re-written. RFC

2014-02-05 Thread Steven Dake
On 02/04/2014 06:34 PM, Robert Collins wrote: On 5 February 2014 13:14, Zane Bitter wrote: That's not a great example, because one DB server depends on the other, forcing them into updating serially anyway. I have to say that even in general, this whole idea about applying update policies to

Re: [openstack-dev] [Heat] [TripleO] Rolling updates spec re-written. RFC

2014-02-05 Thread Jay Dobies
First, I don't think RollingUpdatePattern and CanaryUpdatePattern should be 2 different entities. The second just looks like a parametrization of the first (growth_factor=1?). Perhaps they can just be one. Until I find parameters which would need to mean something different, I'll just use Upda

Re: [openstack-dev] [Heat] [TripleO] Rolling updates spec re-written. RFC

2014-02-04 Thread Christopher Armstrong
On Tue, Feb 4, 2014 at 7:34 PM, Robert Collins wrote: > On 5 February 2014 13:14, Zane Bitter wrote: > > > > That's not a great example, because one DB server depends on the other, > > forcing them into updating serially anyway. > > > > I have to say that even in general, this whole idea about ap

Re: [openstack-dev] [Heat] [TripleO] Rolling updates spec re-written. RFC

2014-02-04 Thread Robert Collins
On 5 February 2014 13:14, Zane Bitter wrote: > That's not a great example, because one DB server depends on the other, > forcing them into updating serially anyway. > > I have to say that even in general, this whole idea about applying update > policies to non-grouped resources doesn't make a wh

Re: [openstack-dev] [Heat] [TripleO] Rolling updates spec re-written. RFC

2014-02-04 Thread Robert Collins
On 4 February 2014 08:51, Clint Byrum wrote: > Excerpts from Robert Collins's message of 2014-02-03 10:47:06 -0800: >> Quick thoughts: >> >> - I'd like to be able to express a minimum service percentage: e.g. I >> know I need 80% of my capacity available at anyone time, so an >> additional constr

Re: [openstack-dev] [Heat] [TripleO] Rolling updates spec re-written. RFC

2014-02-04 Thread Christopher Armstrong
On Tue, Feb 4, 2014 at 6:14 PM, Zane Bitter wrote: > On 03/02/14 17:09, Clint Byrum wrote: > >> Excerpts from Thomas Herve's message of 2014-02-03 12:46:05 -0800: >> >>> > update behavior. I want this resource to be able to control multiple >> groups as if they are one in some cases (Such a

Re: [openstack-dev] [Heat] [TripleO] Rolling updates spec re-written. RFC

2014-02-04 Thread Zane Bitter
On 03/02/14 17:09, Clint Byrum wrote: Excerpts from Thomas Herve's message of 2014-02-03 12:46:05 -0800: So, I wrote the original rolling updates spec about a year ago, and the time has come to get serious about implementation. I went through it and basically rewrote the entire thing to reflect

Re: [openstack-dev] [Heat] [TripleO] Rolling updates spec re-written. RFC

2014-02-04 Thread Thomas Herve
> > I then feel that using (abusing?) depends_on for update pattern is a bit > > weird. Maybe I'm influenced by the CFN design, but the separate > > UpdatePolicy attribute feels better (although I would probably use a > > property). I guess my main question is around the meaning of using the > > u

Re: [openstack-dev] [Heat] [TripleO] Rolling updates spec re-written. RFC

2014-02-04 Thread Thomas Spatzier
Thomas Herve wrote on 03/02/2014 21:46:05: > From: Thomas Herve > To: "OpenStack Development Mailing List (not for usage questions)" > > Date: 03/02/2014 21:52 > Subject: Re: [openstack-dev] [Heat] [TripleO] Rolling updates spec > re-written. RFC > > > So,

Re: [openstack-dev] [Heat] [TripleO] Rolling updates spec re-written. RFC

2014-02-03 Thread Clint Byrum
Excerpts from Thomas Herve's message of 2014-02-03 12:46:05 -0800: > > So, I wrote the original rolling updates spec about a year ago, and the > > time has come to get serious about implementation. I went through it and > > basically rewrote the entire thing to reflect the knowledge I have > > gain

Re: [openstack-dev] [Heat] [TripleO] Rolling updates spec re-written. RFC

2014-02-03 Thread Christopher Armstrong
Heya Clint, this BP looks really good - it should significantly simplify the implementation of scaling if this becomes a core Heat feature. Comments below. On Mon, Feb 3, 2014 at 2:46 PM, Thomas Herve wrote: > > So, I wrote the original rolling updates spec about a year ago, and the > > time has

Re: [openstack-dev] [Heat] [TripleO] Rolling updates spec re-written. RFC

2014-02-03 Thread Thomas Herve
> So, I wrote the original rolling updates spec about a year ago, and the > time has come to get serious about implementation. I went through it and > basically rewrote the entire thing to reflect the knowledge I have > gained from a year of working with Heat. > > Any and all comments are welcome.

Re: [openstack-dev] [Heat] [TripleO] Rolling updates spec re-written. RFC

2014-02-03 Thread Clint Byrum
Excerpts from Robert Collins's message of 2014-02-03 10:47:06 -0800: > Quick thoughts: > > - I'd like to be able to express a minimum service percentage: e.g. I > know I need 80% of my capacity available at anyone time, so an > additional constraint to the unit counts, is to stay below 20% down a

Re: [openstack-dev] [Heat] [TripleO] Rolling updates spec re-written. RFC

2014-02-03 Thread Robert Collins
Quick thoughts: - I'd like to be able to express a minimum service percentage: e.g. I know I need 80% of my capacity available at anyone time, so an additional constraint to the unit counts, is to stay below 20% down at a time (and this implies that if 20% have failed, either stop or spin up more

[openstack-dev] [Heat] [TripleO] Rolling updates spec re-written. RFC

2014-02-03 Thread Clint Byrum
So, I wrote the original rolling updates spec about a year ago, and the time has come to get serious about implementation. I went through it and basically rewrote the entire thing to reflect the knowledge I have gained from a year of working with Heat. Any and all comments are welcome. I intend to