<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 4 August 2016 at 11:35, Sean Dague <span dir="ltr"><<a href="mailto:sean@dague.net" target="_blank">sean@dague.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">One of the cycle goals in newton was to get devstack over to neutron by<br>
default. Neutron is used by 90+% of our users, and nova network is<br>
deprecated, and is not long for this world.<br>
<br>
Because devstack is used by developers as well as by out test<br>
infrastructure, the major stumbling block was coming up with a good<br>
working default on a machine with only 1 interface, that doesn't leave<br>
that interface in a totally broken state if you reboot the box (noting<br>
that ovs changes are persistent by default, but brctl ones are not).<br>
<br>
We think we've come up with a model that works. It's here -<br>
<a href="https://review.openstack.org/#/c/350750/" rel="noreferrer" target="_blank">https://review.openstack.org/#<wbr>/c/350750/</a>. And while it's surprisingly<br>
short, it took a lot of thinking this one through to get there.<br>
<br>
The crux of it is that we trust the value of PUBLIC_INTERFACE in a new<br>
way on the neutron side. It is now unset by default (logic was changed<br>
in n-net to keep things right there), and if set, then we assume you<br>
really want neutron to manage this physical interface.<br>
<br>
If not, that's cool. We're automatically creating a bridge interface<br>
(with no physical interfaces in it) and managing that. For single node<br>
testing this works fine. It passes all the tempest tests[1]. The only<br>
thing that's really weird in this setup is that because there is no<br>
physical interface in that bridge, there is no path to the outside world<br>
from guests. That means no package updates on them.<br>
<br>
We address that with an iptables masq rule. It's a little cheaty pants,<br>
however of the options we've got, it didn't seem so bad. (Note: if you<br>
have a better option and are willing to get knee deep in solving it,<br>
please do so. More contributors the better.)<br>
<br>
It's going to take a bit for docs to all roll over here, but I think we<br>
actually want this out sooner rather than later to find any other edge<br>
cases that it introduces. There will be some bumpiness here. However,<br>
being able to bring up a full neutron with only the 4 passwords<br>
specified in config is quite nice.<br>
<br>
1. actually 5 tests fail for unrelated reasons, which is that tempest<br>
isn't probably excluding tests for services that aren't running because<br>
it makes some assumptions on the gate config. That will be fixed soon.<br>
<span class=""><font color="#888888"><br>
        -Sean<br>
<br></font></span></blockquote><div><br></div><div>So glad we are finally within the grasp of this!</div><div><br></div><div>I posted [1], just to err on the side of caution and get the opportunity to see how other gate jobs for Neutron might be affected by this change.</div><div><br></div><div>Are there any devstack-gate changes lined up too that we should be aware of?</div><div><br></div><div>Cheers,</div><div>Armando</div><div><br></div><div>[1] <a href="https://review.openstack.org/#/c/351450/">https://review.openstack.org/#/c/351450/</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class=""><font color="#888888">
--<br>
Sean Dague<br>
<a href="http://dague.net" rel="noreferrer" target="_blank">http://dague.net</a><br>
<br>
<br>
______________________________<wbr>______________________________<wbr>______________<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.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
</font></span></blockquote></div><br></div></div>