<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">
I've built new security groups to make sure they are in the correct project. I can start a new server manually using these security groups.</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">
The error is coming from the nova compute node. Same error can't find security group.</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">
I am creating the load balancer and specifying the project on the command line even.</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">
openstack loadbalancer create --name lb25 --vip-subnet-id admin_subnet1 --project 5e168b652a374a02aff855a5e250b7f8<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">
<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">
Kind of running out of ideas.</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 id="appendonsend"></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</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> Brendan Shephard <bshephar@redhat.com><br>
<b>Sent:</b> 09 June 2022 13:16<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> Re: Error creating octavia amphora</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hey Russell,
<div><br>
</div>
<div>Are you able to share the outputs from:</div>
<div><font face="monospace">$ openstack server show <span style="color: rgb(0, 0, 0);">524ae27b-1542-4c2d-9118-</span><span style="color: rgb(0, 0, 0);">138d9e7f3770</span> -c id -c project_id -c security_groups -c status -f yaml</font></div>
<div><br>
</div>
<div>And:</div>
<div><font face="monospace">$ openstack security group show<span style="color: rgb(0, 0, 0);">0b683c75-d900-4e45-acb2-</span><span style="color: rgb(0, 0, 0);">8bc321580666</span> -c id -c project_id -f yaml</font><br>
</div>
<div><font face="monospace"><br>
</font></div>
<div><font face="arial, sans-serif">I agree with James, my assumption would be that we will find they aren't in the same project, so Nova can't use that security group for the Amphorae. I'm not familiar with charmed openstack though, but it does look like James
is from Canonical and might be able to advise on the specifics. </font></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif">All the best,</font></div>
<div><br clear="all">
<div>
<div dir="ltr" class="x_gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<p style="font-weight:bold; margin:0px; padding:0px; font-size:14px; text-transform:capitalize; font-family:"RedHatText",sans-serif">
<span>Brendan</span> <span>Shephard</span><span style="color: rgb(170, 170, 170); margin: 0px;"></span>
</p>
<p style="font-weight:normal; font-size:12px; margin:0px; text-transform:capitalize; font-family:"RedHatText",sans-serif">
<span>Software Engineer</span> </p>
<p style="font-weight:normal; margin:0px 0px 4px; font-size:12px; font-family:"RedHatText",sans-serif">
<a href="https://www.redhat.com" data-auth="NotApplicable" style="color: rgb(0, 136, 206); font-size: 12px; margin: 0px; text-decoration: none; font-family: RedHatText, sans-serif;">Red Hat
<span>APAC</span></a> </p>
<div style="margin-bottom:4px"><span>
<p style="font-size:12px; margin:0px; font-family:"RedHatText",sans-serif">193 N Quay</p>
</span><span>
<p style="font-size:12px; margin:0px; font-family:"RedHatText",sans-serif">Brisbane City QLD 4000</p>
</span></div>
<div style="font-weight:normal; font-size:12px; font-family:"RedHatText",sans-serif; margin-bottom:8px">
<div><a href="https://twitter.com/redhat" data-auth="NotApplicable" title="twitter" style="background: url("https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/3780bd4ede961ef3cd4108b8c0e80186/web-icon-twitter.png") 0px 50% / 13px no-repeat scroll transparent; text-decoration: none; color: rgb(0, 0, 0); display: inline-block; line-height: 20px; padding-left: 13px;"><span style="margin-left:2px">@RedHat</span>
</a> <a href="https://www.linkedin.com/company/red-hat" data-auth="NotApplicable" title="LinkedIn" style="background: url("https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/8d3507e3c6b6c9ad10e301accf1a4af0/web-icon-linkedin.png") 0px 50% / 12px no-repeat scroll transparent; text-decoration: none; color: rgb(0, 0, 0); display: inline-block; line-height: 20px; padding-left: 12px; margin: 0px 4px 0px 3px; padding-top: 1px;">
<span style="margin-left:4px">Red Hat</span> </a> <a href="https://www.facebook.com/RedHatInc" data-auth="NotApplicable" title="Facebook" style="background: url("https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/220b85e2f100025e94cb1bcd993bd51d/web-icon-facebook.png") 0px 50% / 11px no-repeat scroll transparent; text-decoration: none; color: rgb(0, 0, 0); display: inline-block; line-height: 20px; padding-left: 13px;">
<span>Red Hat</span> </a></div>
</div>
<div style="margin-top:12px">
<table border="0">
<tbody>
<tr>
<td width="100px"><a href="https://red.ht/sig" data-auth="NotApplicable"><img width="90" height="auto" src="https://static.redhat.com/libs/redhat/brand-assets/latest/corp/logo.png"></a>
</td>
<td style="font-weight:normal; font-size:12px">
<div><a href="https://redhat.com/summit" data-auth="NotApplicable" style="text-decoration:none"><img width="53px" height="auto" style="outline:currentcolor none 0px" src="https://static.redhat.com/libs/redhat/brand-assets/latest/events/red-hat-summit.png"></a></div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<span></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Thu, Jun 9, 2022 at 8:48 PM Russell Stather <<a href="mailto:Russell.Stather@ignitiongroup.co.za" data-auth="NotApplicable">Russell.Stather@ignitiongroup.co.za</a>> wrote:<br>
</div>
<blockquote class="x_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">
<div 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);">
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);">
<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);">
I am seeing the below error when creating a load balancer. The security group does exist, and it is the correct group (tagged with charm-octavia)</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<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);">
What am I missing here to resolve this?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<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);">
2022-06-09 10:10:03.789 678859 ERROR oslo_messaging.rpc.server octavia.common.exceptions.ComputeBuildException: Failed to build compute instance due to: {'code': 500, 'created': '2022-06-09T10:09:59Z', 'message': 'Exceeded maximum number of retries. Exceeded
max scheduling attempts 3 for instance 524ae27b-1542-4c2d-9118-138d9e7f3770. Last exception: Security group 0b683c75-d900-4e45-acb2-8bc321580666 not found.', 'details': 'Traceback (most recent call last):\n File "/usr/lib/python3/dist-packages/nova/conductor/manager.py",
line 654, in build_instances\n scheduler_utils.populate_retry(\n File "/usr/lib/python3/dist-packages/nova/scheduler/utils.py", line 989, in populate_retry\n raise exception.MaxRetriesExceeded(reason=msg)\nnova.exception.MaxRetriesExceeded: Exceeded
maximum number of retries. Exceeded max scheduling attempts 3 for instance 524ae27b-1542-4c2d-9118-138d9e7f3770. Last exception: Security group 0b683c75-d900-4e45-acb2-8bc321580666 not found.\n'}
<div>2022-06-09 10:10:03.789 678859 ERROR oslo_messaging.rpc.server</div>
<br>
</div>
</div>
</blockquote>
</div>
</div>
</body>
</html>