- From: Lamont Granquist <
>
- To:
- Subject: [chef] Re: Re: Simultaneous node edits
- Date: Wed, 01 Jul 2015 15:08:48 -0700
RFC #045
https://github.com/chef/chef-rfc/blob/master/rfc045-node_state_separation.md
is the closest thing we have for plans for addressing node editing
conflicts, but it still won't help you in the case of two admins
doing a knife node edit. It does address a lot of the use cases
of #2.
#1 might be addressed better via something like a knife plugin the
converted the task the admins were doing into something more
similar to `knife node run_list add 'role[foo]'`. by getting it
onto the command line you narrow the race condition between
reading the old value and writing the new value. you could also
make it even a bit more declarative/idempotent/convergent so that
running it twice by two admins didn't result in duplicated edits
(unlike knife node run_list add).
On 7/1/15 12:26 PM, Brian Hatfield wrote:
"
type="cite">
We avoid it by abstaining: we don't do individual
node edits, ever. The advantage of this is that nearly all of
our chef server can be recreated by an upload and client resync,
with the exception of the client keys.
|
- [chef] Simultaneous node edits, Daniil S, 07/01/2015
- [chef] Re: Simultaneous node edits, Brian Hatfield, 07/01/2015
- [chef] Re: Re: Simultaneous node edits, Lamont Granquist, 07/01/2015
- [chef] Re: Re: Re: Simultaneous node edits, Daniel DeLeo, 07/01/2015
- [chef] Re: Re: Re: Re: Simultaneous node edits, Maxime Brugidou, 07/01/2015
- [chef] Re: Re: Re: Re: Re: Simultaneous node edits, Lamont Granquist, 07/06/2015
- [chef] Re: Re: Re: Re: Re: Re: Simultaneous node edits, Rafał Trójniak, 07/07/2015
- [chef] Re: Simultaneous node edits, Noah Kantrowitz, 07/07/2015
- [chef] Re: Re: Simultaneous node edits, Rafał Trójniak, 07/08/2015
- [chef] Re: Re: Re: Simultaneous node edits, Maxime Brugidou, 07/08/2015
- [chef] Re: Re: Re: Re: Simultaneous node edits, Rafał Trójniak, 07/10/2015
- [chef] Re: Re: Re: Re: Re: Simultaneous node edits, Lamont Granquist, 07/10/2015
- [chef] Re: Re: Re: Re: Re: Simultaneous node edits, Rafał Trójniak, 07/10/2015
Archive powered by MHonArc 2.6.16.