Error creating octavia amphora

Brendan Shephard bshephar at redhat.com
Thu Jun 9 11:16:30 UTC 2022


Hey Russell,

Are you able to share the outputs from:
$ openstack server show 524ae27b-1542-4c2d-9118-138d9e7f3770 -c id -c
project_id -c security_groups -c status -f yaml

And:
$ openstack security group show0b683c75-d900-4e45-acb2-8bc321580666 -c id
-c project_id -f yaml

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.

All the best,

Brendan Shephard

Software Engineer

Red Hat APAC <https://www.redhat.com>

193 N Quay

Brisbane City QLD 4000
@RedHat <https://twitter.com/redhat>   Red Hat
<https://www.linkedin.com/company/red-hat>  Red Hat
<https://www.facebook.com/RedHatInc>
<https://red.ht/sig>
<https://redhat.com/summit>


On Thu, Jun 9, 2022 at 8:48 PM Russell Stather <
Russell.Stather at ignitiongroup.co.za> wrote:

> Hi
>
> 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)
>
> What am I missing here to resolve this?
>
> 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'}
> 2022-06-09 10:10:03.789 678859 ERROR oslo_messaging.rpc.server
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20220609/a0c86faa/attachment.htm>


More information about the openstack-discuss mailing list