<div dir="ltr">HACK ALERT Disclaimer: My suggestion could be clumsy. <br><div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 6, 2018 at 1:46 PM Paul Bourke <<a href="mailto:paul.bourke@oracle.com">paul.bourke@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
This is mostly a follow on to the thread at[0], though due to the mailing list transition it was easier to start a new thread.<br>
<br>
I've been attempting to get Octavia setup according to the dev-quick-start guide[1], but have been struggling with the following piece:<br>
<br>
"Add appropriate routing to / from the ‘lb-mgmt-net’ such that egress is allowed, and the controller (to be created later) can talk to hosts on this network."<br>
<br>
In mranga's reply, they say:<br>
<br>
> -- Create an ovs port on br-int<br>
> -- Create a neutron port using the ovs port that you just created.<br>
> -- Assign the ip address of the neutron port to the ovs port<br>
> -- Use ip netns exec to assign a route in the router namespace of the LoadBalancer network.<br>
<br>
I have enough of an understanding of Neutron/OVS for this to mostly make sense, but not enough to actually put it into practice it seems. My environment:<br>
<br>
3 x control nodes<br>
2 x network nodes<br>
1 x compute<br>
<br>
All nodes have two interfaces, eth0 being the management network - <a href="http://192.168.5.0/24" rel="noreferrer" target="_blank">192.168.5.0/24</a>, and eth1 being used for the provider network. I then create the Octavia lb-mgmt-net on <a href="http://172.18.2.0/24" rel="noreferrer" target="_blank">172.18.2.0/24</a>.<br>
<br>
I've read the devstack script[2] and have the following questions:<br>
<br>
* Should I add the OVS port to br-int on the compute, network nodes, or both?<br></blockquote><div><br></div><div>I have only one controller which also functions as my network node. I added the port on the controller/network node. br-int is the place where the integration happens. You will find each network has an internal vlan tag associated with it. Use the tag assigned to your lb network when you create the ovs port. <br></div><div><br></div><div>ovs-vsctl show will tell you more.<br></div><div><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
* What is the purpose of creating a neutron port in this scenario<br></blockquote><div><br></div><div>Just want to be sure Neutron knows about it and has an entry in its database so the address won't be used for something else. If you are using static addresses, for example you should not need this (I think).<br></div><div><br></div><div>BTW the created port is DOWN. I am not sure why and I am not sure it matters.<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
If anyone is able to explain this a bit further or can even point to some good material to flesh out the underlying concepts it would be much appreciated, I feel the 'Neutron 101' videos I've done so far are not quite getting me there :)<br>
<br>
Cheers,<br>
-Paul<br>
<br>
[0] <a href="http://lists.openstack.org/pipermail/openstack-discuss/2018-December/000544.html" rel="noreferrer" target="_blank">http://lists.openstack.org/pipermail/openstack-discuss/2018-December/000544.html</a><br>
[1] <a href="https://docs.openstack.org/octavia/latest/contributor/guides/dev-quick-start.html" rel="noreferrer" target="_blank">https://docs.openstack.org/octavia/latest/contributor/guides/dev-quick-start.html</a><br>
[2] <a href="https://github.com/openstack/octavia/blob/master/devstack/plugin.sh" rel="noreferrer" target="_blank">https://github.com/openstack/octavia/blob/master/devstack/plugin.sh</a><br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>M. Ranganathan <br><br></div></div></div></div></div></div></div></div></div></div></div></div></div>