<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 18, 2015 at 9:06 AM, Chris Friesen <span dir="ltr"><<a href="mailto:chris.friesen@windriver.com" target="_blank">chris.friesen@windriver.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 09/18/2015 06:57 AM, Eric Harney wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 09/17/2015 06:06 PM, John Griffith wrote:<br>
</blockquote>
<br>
</span><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Having the "global conf" settings intermixed with the backend sections<br>
caused a number of issues when we first started working on this.  That's<br>
part of why we require the "self.configuration" usage all over in the<br>
drivers.  Each driver instantiation is it's own independent entity.<br>
<br>
</blockquote>
<br>
Yes, each driver instantiation is independent, but that would still be<br>
the case if these settings inherited values set in [DEFAULT] when they<br>
aren't set in the backend section.<br>
</blockquote>
<br></span>
Agreed.  If I explicitly set something in the [DEFAULT] section, that should carry through and apply to all the backends unless overridden in the backend-specific section.<span class="HOEnZb"><font color="#888888"><br>
<br>
Chris</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><div class="gmail_default" style="font-family:monospace,monospace">Meh I don't know about the "have to modify the code", the config file works you just need to add that line to your driver section and configure the backend correctly.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Regardless, I see your point (but I still certainly don't agree that it's "blatantly wrong").  </div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Bottom line "yes", ideally in the case of drivers we would check global/default setting, and then override it if something was provided in the driver specific setting, or if the driver itself set a different default.  That seems like the right way to be doing it anyway.  I've looked at that a bit this morning, the issue is that currently we don't even pass any of those higher level conf settings in to the drivers init methods anywhere.  Need to figure out how to change that, then it should be a relatively simple fix.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Thanks,</div><div class="gmail_default" style="font-family:monospace,monospace">John</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div></div></div>