<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
Hi</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
Thanks, I added the config in the file and I have now got past that hurdle :)</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
</div>
<div id="appendonsend"></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Russell</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size: 11pt;"><b>From:</b> Michael Johnson <johnsomor@gmail.com><br>
<b>Sent:</b> 21 May 2022 20:37<br>
<b>To:</b> Russell Stather <Russell.Stather@ignitiongroup.co.za><br>
<b>Cc:</b> openstack-discuss@lists.openstack.org <openstack-discuss@lists.openstack.org><br>
<b>Subject:</b> [neutron] Re: Issue creating octavia loadbalancer</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">Hi Russell,<br>
<br>
The error from Octavia is saying that the "port_security" extension is<br>
not enabled in neutron. This is required to allow Octavia to manage<br>
security groups and create a secondary IP for the VIP.<br>
<br>
You can confirm that your neutron is missing the extension by running<br>
this command:<br>
openstack extension list --network|grep port-security<br>
<br>
The configuration setting is documented here:<br>
<a href="https://docs.openstack.org/neutron/yoga/configuration/ml2-conf.html#ml2.extension_drivers" data-auth="NotApplicable">https://docs.openstack.org/neutron/yoga/configuration/ml2-conf.html#ml2.extension_drivers</a><br>
<br>
There is an example configuration file from the neutron test jobs here:<br>
<a href="https://zuul.opendev.org/t/openstack/build/29a7c6b716db4bb08471cc27c4baef22/log/controller/logs/etc/neutron/plugins/ml2/ml2_conf.ini#156" data-auth="NotApplicable">https://zuul.opendev.org/t/openstack/build/29a7c6b716db4bb08471cc27c4baef22/log/controller/logs/etc/neutron/plugins/ml2/ml2_conf.ini#156</a><br>
<br>
Michael<br>
<br>
On Sat, May 21, 2022 at 1:57 AM Russell Stather<br>
<Russell.Stather@ignitiongroup.co.za> wrote:<br>
><br>
> Hi<br>
><br>
> Trying to create a load balancer. Get the following error.<br>
><br>
> igadmin@ig-umh-maas:~$ openstack loadbalancer create -f value -c vip_port_id --name lb1 --vip-subnet-id 66690e99-44b2-4233-8f16-d539c8a05090<br>
> Provider 'amphora' reports error: Port security must be enabled on the VIP network. (HTTP 500) (Request-ID: req-642a4b4d-0d45-4a08-ba47-d4232a350703)<br>
> igadmin@ig-umh-maas:~$ !1067<br>
> openstack network set --enable-port-security int_net<br>
> BadRequestException: 400: Client Error for url: <a href="https://10.0.110.231:9696/v2.0/networks/be5f8494-1964-466b-a47a-8e5430976009" data-auth="NotApplicable">
https://10.0.110.231:9696/v2.0/networks/be5f8494-1964-466b-a47a-8e5430976009</a>, Unrecognized attribute(s) 'port_security_enabled'<br>
><br>
> Anyone come across this issue?<br>
><br>
> Thanks<br>
><br>
> Russell<br>
</div>
</span></font></div>
</body>
</html>