Comment 8 for bug 2057751

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to octavia (stable/2023.1)

Reviewed: https://review.opendev.org/c/openstack/octavia/+/916761
Committed: https://opendev.org/openstack/octavia/commit/d943336c0eb7461838a040e263355003682df960
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit d943336c0eb7461838a040e263355003682df960
Author: Gregory Thiemonge <email address hidden>
Date: Wed Mar 13 04:31:17 2024 -0400

    Fix fully-populated API with allowed_cidrs

    When creating a LB + a listener with an allowed_cidr with the
    fully-populated API, an issue happened when Octavia validated that the
    allowed_cidrs and the VIP ip address have the same IP version. The
    vip.ip_address value was not updated in the load balancer object,
    forcing the expiration of the DB object before entering _graph_create
    fixes this issue.

    Note: there's no change in the tests, the test function for this feature
    exists, looks correct, and passes successfully, the bug is only
    reproducible in octavia-api.

    Closes-Bug: 2057751
    Change-Id: Ia106d81c1b2588e5d938d2238c8a2f6660bf5ef1
    (cherry picked from commit 5d9b23c6021ad961fafc17866c6b8ea50f2dc824)