<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
The one downside of using the veth method vs a vlan tagged interface on the host is making it persistent after reboot. It's possible, but it's far more of a faff than just using a standard tagged interface.</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Satish Patel <satish.txt@gmail.com><br>
<b>Sent:</b> 06 September 2023 13:59<br>
<b>To:</b> Oliver Weinmann <oliver.weinmann@me.com><br>
<b>Cc:</b> OpenStack Discuss <openstack-discuss@lists.openstack.org><br>
<b>Subject:</b> Re: [kolla-ansible][octavia] octavia management network setup for vlan provider</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="x_mc-ip-hide">
<div style="color:#000000; font-size:12px; text-align:left; font-family:Helvetica,Arial,sans-serif">
<strong><br>
<div class="x_caution" style="background-color:#F47F53; font-family:sans-serif"><span style="font-size:14pt"><strong>CAUTION:</strong></span>
<span style="font-size:11pt; font-weight:400">This email originates from outside THG</span>
</div>
</strong><br>
</div>
<hr>
</div>
Hi Oliver,
<div><br>
</div>
<div>Thank you for your reply, That is an awesome blog and we should add multiple scenarios or examples to kolla-ansible official doc page to help out people :) </div>
<div><br>
</div>
<div>By the way, Last night I figured out how to handle veth and wire up with lb-mgmt-net and soon I will create a blog to make it easier for others to understand the logic behind it. </div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Wed, Sep 6, 2023 at 12:31 AM Oliver Weinmann <<a href="mailto:oliver.weinmann@me.com">oliver.weinmann@me.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="auto">Hi Satish,
<div><br>
</div>
<div>I got stuck at the very same issue when I first set up Octavia. The control. Does need to have an interface on VLAN 41, since they need to communicate with the amphora instances. So you need to create a VLAN 41 interface on all control nodes with an IP
of the LB-MGMT-NET outside of your defined allocation pool. If you have a free interface in your control nodes use that, if not you can try to create VETH interfaces as explained in the following article:</div>
<div><br>
</div>
<div>
<div style="display:block">
<p style="margin:0px; font-stretch:normal; line-height:normal; font-kerning:auto; font-variant-alternates:normal; font-variant-ligatures:normal; font-variant-numeric:normal; font-variant-east-asian:normal; font-feature-settings:normal; color:rgb(0,0,0)">
<span><a href="https://cloudbase.it/openstack-on-arm64-lbaas/" target="_blank">*https://cloudbase.it/openstack-on-arm64-lbaas/*</a></span></p>
<p style="margin:0px; font-stretch:normal; line-height:normal; font-kerning:auto; font-variant-alternates:normal; font-variant-ligatures:normal; font-variant-numeric:normal; font-variant-east-asian:normal; font-feature-settings:normal; color:rgb(0,0,0)">
<br>
</p>
<p style="margin:0px; font-stretch:normal; line-height:normal; font-kerning:auto; font-variant-alternates:normal; font-variant-ligatures:normal; font-variant-numeric:normal; font-variant-east-asian:normal; font-feature-settings:normal; color:rgb(0,0,0)">
Cheers,</p>
<p style="margin:0px; font-stretch:normal; line-height:normal; font-kerning:auto; font-variant-alternates:normal; font-variant-ligatures:normal; font-variant-numeric:normal; font-variant-east-asian:normal; font-feature-settings:normal; color:rgb(0,0,0)">
Oliver</p>
</div>
<br>
<div dir="ltr">Von meinem iPhone gesendet</div>
<div dir="ltr"><br>
<blockquote type="cite">Am 06.09.2023 um 00:52 schrieb Satish Patel <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>>:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">Folks,<br>
<div><br>
</div>
<div>I have setup kolla-ansible and configured octavia using the o-hm0 interface with the tenant and it works. For production I think I should use VLAN based provider for octavia management network so this is what I did </div>
<div><br>
</div>
<div>I have created a bond0.41 dedicated interface on all 3 controller nodes and created vlan 41 on all network switches. </div>
<div><br>
</div>
<div>This is what my global.yml looks like</div>
<div><br>
</div>
<div>## Octivia<br>
enable_octavia: "yes"<br>
octavia_network_interface: "bond0.41"<br>
<br>
octavia_amp_flavor:<br>
name: "amphora"<br>
is_public: no<br>
vcpus: 2<br>
ram: 2048<br>
disk: 5<br>
<br>
octavia_amp_network:<br>
name: lb-mgmt-net<br>
provider_network_type: vlan<br>
provider_segmentation_id: 41<br>
provider_physical_network: physnet1<br>
external: false<br>
shared: false<br>
subnet:<br>
name: lb-mgmt-subnet<br>
cidr: "<a href="http://192.168.41.0/24" target="_blank">192.168.41.0/24</a>"<br>
allocation_pool_start: "192.168.41.100"<br>
allocation_pool_end: "192.168.41.200"<br>
enable_dhcp: yes<br>
</div>
<div><br>
</div>
<div>After running the playbook all get setup as per document. When I create loadbalancer it just get stuck in PENDING status. </div>
<div><br>
</div>
<div>[1] Document saying make sure your octavia_network_interface is connected to openvswitch. Do I need to connect manually or will kolla-ansible do that for me? If I am going to do that then on which bridge I should attach br-ex or br-int ? </div>
<div><br>
</div>
<div>[1] <a href="https://docs.openstack.org/kolla-ansible/latest/reference/networking/octavia.html" target="_blank">https://docs.openstack.org/kolla-ansible/latest/reference/networking/octavia.html</a> </div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</body>
</html>