<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Menlo;
panose-1:2 11 6 9 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
p.p1, li.p1, div.p1
{mso-style-name:p1;
margin:0in;
font-size:8.5pt;
font-family:Menlo;
color:black;}
span.s1
{mso-style-name:s1;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">I got close with my approach but I wasn’t sure how to get the network interface I created for Octavia to map to physnet2 to tell the kolla Octavia LB mgmt. subnet to use it. So….Ill go with your approach. It sounds like you have an all-in-one
setup….Im going through the steps with a multinode setup. How do I find the DHCP servers port?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This is my output from this command. I used network01 host as that has the OVS stuff on it. Network02 also has OVS…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="p1"><span class="s1">[root@kolla ~]# ssh network01 sudo docker exec openvswitch_vswitchd ovsdb-client dump unix:/var/run/openvswitch/db.sock Open_vSwitch Port name tag</span><o:p></o:p></p>
<p class="p1"><span class="s1">Port table</span><o:p></o:p></p>
<p class="p1"><span class="s1">name </span><span class="apple-converted-space">
</span><span class="s1">tag</span><o:p></o:p></p>
<p class="p1"><span class="s1">-------------- ---</span><o:p></o:p></p>
<p class="p1"><span class="s1">br-ex</span><span class="apple-converted-space">
</span><span class="s1">[]</span><o:p></o:p></p>
<p class="p1"><span class="s1">br-int </span><span class="apple-converted-space">
</span><span class="s1">[]</span><o:p></o:p></p>
<p class="p1"><span class="s1">br-tun </span><span class="apple-converted-space">
</span><span class="s1">[]</span><o:p></o:p></p>
<p class="p1"><span class="s1">eth1 </span><span class="apple-converted-space">
</span><span class="s1">[]</span><o:p></o:p></p>
<p class="p1"><span class="s1">int-br-ex</span><span class="apple-converted-space">
</span><span class="s1">[]</span><o:p></o:p></p>
<p class="p1"><span class="s1">patch-int</span><span class="apple-converted-space">
</span><span class="s1">[]</span><o:p></o:p></p>
<p class="p1"><span class="s1">patch-tun</span><span class="apple-converted-space">
</span><span class="s1">[]</span><o:p></o:p></p>
<p class="p1"><span class="s1">phy-br-ex</span><span class="apple-converted-space">
</span><span class="s1">[]</span><o:p></o:p></p>
<p class="p1"><span class="s1">qg-dd91a0d9-e7 2</span><o:p></o:p></p>
<p class="p1"><span class="s1">qr-1fb72495-df 3</span><o:p></o:p></p>
<p class="p1"><span class="s1">qr-a7bcbd91-14 4</span><o:p></o:p></p>
<p class="p1"><span class="s1">qr-cd05b21c-b7 6</span><o:p></o:p></p>
<p class="p1"><span class="s1">qr-e9938869-17 5</span><o:p></o:p></p>
<p class="p1"><span class="s1">tap12d3571c-7f 1</span><o:p></o:p></p>
<p class="p1"><span class="s1">tapd6c55c73-05 4</span><o:p></o:p></p>
<p class="p1"><span class="s1">tape62e9ed6-a7 3</span><o:p></o:p></p>
<p class="p1"><span class="s1">vxlan-0a00c817 []</span><o:p></o:p></p>
<p class="p1"><span class="s1">vxlan-0a00c81b []</span><o:p></o:p></p>
<p class="p1"><span class="s1">[root@kolla ~]#</span><span class="apple-converted-space"> </span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">Bernd Bausch <berndbausch@gmail.com><br>
<b>Date: </b>Tuesday, August 10, 2021 at 9:38 PM<br>
<b>To: </b>Chris Lyons <chris@lyonsgroup.family>, openstack-discuss <openstack-discuss@lists.openstack.org><br>
<b>Subject: </b>Re: Octavia<o:p></o:p></span></p>
</div>
<p>A flat network for LB management should work as well. However, the LB management network has nothing to do with your VMs (except the amphorae), and it's unclear to me what ports you are adding to them and the Neutron router. There is no router for a flat
network. <o:p></o:p></p>
<p>You seem to imply that your machines (controllers, computes) are virtual. My experience with Kolla is also in a virtual environment. I had to abandon VLAN or flat LB management networks because I was not competent enough to solve the networking problems
outside of Kolla and went for the tenant network solution that I shared. <o:p></o:p></p>
<p>Bernd<o:p></o:p></p>
<div>
<p class="MsoNormal">On 2021/08/10 9:31 PM, Chris Lyons wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Thank you! I am trying the path of adding a separate physical (although its really virtual..) network that will be exclusively for lb-mgmt….that would work also, correct? I added a port to my virtual router and the added a corresponding
port to each openstack vm. It sounds like only control and compute nodes need it but I was going to add it to everything to start and then eliminate one by one once it worked.
<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Would that approach also work?<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">Bernd Bausch <a href="mailto:berndbausch@gmail.com">
<berndbausch@gmail.com></a><br>
<b>Date: </b>Tuesday, August 10, 2021 at 2:39 AM<br>
<b>To: </b>Chris Lyons <a href="mailto:chris@lyonsgroup.family"><chris@lyonsgroup.family></a>,
<a href="mailto:openstack-discuss@lists.openstack.org">openstack-discuss@lists.openstack.org</a>
<a href="mailto:openstack-discuss@lists.openstack.org"><openstack-discuss@lists.openstack.org></a><br>
<b>Subject: </b>Re: Octavia</span><o:p></o:p></p>
</div>
<p class="MsoNormal">The stacktrace shows that Octavia can't reach an Amphora. I suppose you get this log when trying to create a loadbalancer? If so, most likely the Amphora management network is not set up correctly.
<o:p></o:p></p>
<p>The difficulty is that Octavia workers, which are <i>processes </i>running on the controllers, need to have access to the same management network as the Amphora
<i>instances</i>. If you implement the management network as a normal tenant network, some non-trivial manual Openvswitch configuration is required. See
<a href="https://docs.openstack.org/octavia/latest/install/install-ubuntu.html#install-and-configure-components">
https://docs.openstack.org/octavia/latest/install/install-ubuntu.html#install-and-configure-components</a> for instructions. In production settings, usually a VLAN is used, which is easy to access from controller processes.<o:p></o:p></p>
<p>I succeeded running Octavia on a Kolla cluster with three-way controllers, with a tenant network (VXLAN-based) for amphora management. My notes are attached (they are tailored to my configuration, of course).<o:p></o:p></p>
<p>Bernd.<o:p></o:p></p>
<p> <o:p></o:p></p>
<div>
<p class="MsoNormal">On 2021/08/09 10:57 AM, Chris Lyons wrote:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p>Well…it gets. A lot further…. I see this error now…. Im looking around to see if it’s a security group missing or if there is some other setting I missed. Im not seeing any scripts to prep the env…usually there is something like that if it’s a security
group…anyone know?<o:p></o:p></p>
<p>...<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">2021-08-08 21:22:35.965 27 ERROR octavia.controller.worker.v1.controller_worker Traceback (most recent call last):</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">2021-08-08 21:22:35.965 27 ERROR octavia.controller.worker.v1.controller_worker File "/usr/lib/python3.6/site-packages/taskflow/engines/action_engine/executor.py", line 53, in
_execute_task</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">2021-08-08 21:22:35.965 27 ERROR octavia.controller.worker.v1.controller_worker result = task.execute(**arguments)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">2021-08-08 21:22:35.965 27 ERROR octavia.controller.worker.v1.controller_worker File "/usr/lib/python3.6/site-packages/octavia/controller/worker/v1/tasks/amphora_driver_tasks.py",
line 424, in execute</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">2021-08-08 21:22:35.965 27 ERROR octavia.controller.worker.v1.controller_worker amp_info = self.amphora_driver.get_info(amphora)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">2021-08-08 21:22:35.965 27 ERROR octavia.controller.worker.v1.controller_worker File "/usr/lib/python3.6/site-packages/octavia/amphorae/drivers/haproxy/rest_api_driver.py", line
373, in get_info</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">2021-08-08 21:22:35.965 27 ERROR octavia.controller.worker.v1.controller_worker amphora, raise_retry_exception=raise_retry_exception)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">2021-08-08 21:22:35.965 27 ERROR octavia.controller.worker.v1.controller_worker File "/usr/lib/python3.6/site-packages/octavia/amphorae/drivers/haproxy/rest_api_driver.py", line
106, in _populate_amphora_api_version</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">2021-08-08 21:22:35.965 27 ERROR octavia.controller.worker.v1.controller_worker raise_retry_exception=raise_retry_exception)['api_version']</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">2021-08-08 21:22:35.965 27 ERROR octavia.controller.worker.v1.controller_worker File "/usr/lib/python3.6/site-packages/octavia/amphorae/drivers/haproxy/rest_api_driver.py", line
744, in get_api_version</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">2021-08-08 21:22:35.965 27 ERROR octavia.controller.worker.v1.controller_worker raise_retry_exception=raise_retry_exception)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">2021-08-08 21:22:35.965 27 ERROR octavia.controller.worker.v1.controller_worker File "/usr/lib/python3.6/site-packages/octavia/amphorae/drivers/haproxy/rest_api_driver.py", line
738, in request</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">2021-08-08 21:22:35.965 27 ERROR octavia.controller.worker.v1.controller_worker raise driver_except.TimeOutException()</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">2021-08-08 21:22:35.965 27 ERROR octavia.controller.worker.v1.controller_worker octavia.amphorae.driver_exceptions.exceptions.TimeOutException: contacting the amphora timed out</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">...</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br clear="all">
<o:p></o:p></p>
<div id="trustifiTDFooter">
<p><i><span style="font-size:8.5pt;font-family:"Arial",sans-serif">This email has been scanned by Inbound Shield™.</span></i><o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <o:p></o:p></p>
</div>
</blockquote>
</div>
</body>
</html>