<div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 27, 2014 at 5:21 AM, Dirk Müller <span dir="ltr"><<a href="mailto:dirk@dmllr.de" target="_blank">dirk@dmllr.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div class=""><br>
>> When I was an operator, I regularly referred to the sample config files<br>
>> in the git repository.<br>
<br>
</div>The sample config files in git repository are tremendeously useful for<br>
any operator and OpenStack Packager. Having them generateable with a<br>
tox line is very cumbersome.<br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
As a minimum those config files should be part of the sdist tarball<br>
(aka generated during sdist time).<br>
<div class=""><br>
> Do they need to be in the git repo?<br>
<br>
</div>IMHO yes, they should go alongside the code change.<br>
<div class=""><br>
> Note that because libraries now export config options (which is the<br>
> root of this problem!) you cannot ever know from the source all the<br>
> options for a service - you *must* know the library versions you are<br>
> running, to interrogate them for their options.<br>
<br>
</div>The problem is that we hammer in all the libraries configuration<br>
option into the main config file. if we'd have "include" support and<br>
we'd just include the libraries config options that are generated as a<br>
separate file (and possibly autogenerated) this problem would not<br>
occur, and it would avoid the gate breakages.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">Do we need an "include" directive? We could use the existing --config-dir option to read more than one file at runtime.</div>
<div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Doug</div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Thanks,<br>
Dirk<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div></div>