[openstack-dev] [all] sample config files should be ignored in git...

Robert Collins robertc at robertcollins.net
Thu Mar 27 05:10:55 UTC 2014


On 27 March 2014 17:30, Tom Fifield <tom at openstack.org> wrote:

>> Does anyone disagree?
>
> /me raises hand
>
> When I was an operator, I regularly referred to the sample config files
> in the git repository.
>
> If there weren't generated versions of the sample config in the repo, I
> would probably grep the code (not an ideal user experience!). Running
> some random script that I don't know about the existence and might
> depend on having something else installed of is probably not something
> that would happen.

So, I think its important you have sample configs to refer to.

Do they need to be in the git repo?

Note that because libraries now export config options (which is the
root of this problem!) you cannot ever know from the source all the
options for a service - you *must* know the library versions you are
running, to interrogate them for their options.

We can - and should - have a discussion about the appropriateness of
the layering leak we have today, but in the meantime this is breaking
multiple projects every time any shared library that uses oslo.config
changes any config option... so we need to solve the workflow aspect.

How about we make a copy of the latest config for each project for
each series - e.g. trunk of everything, Icehouse of servers with trunk
of everything else, etc and make that easily acccessible?

-Rob

-- 
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Converged Cloud



More information about the OpenStack-dev mailing list