Skip to content

[stable/caracal] fix: attach BGP peer to external network - #1448

Merged
brianphaley merged 1 commit into
openstack-charmers:stable/caracalfrom
raineszm:fix/dragent-peer-ext-net-caracal
Nov 12, 2026
Merged

brianphaley merged 1 commit into
openstack-charmers:stable/caracalfrom
raineszm:fix/dragent-peer-ext-net-caracal

Conversation

@raineszm

@raineszm raineszm commented Nov 6, 2026

Copy link
Copy Markdown

Neutron Dynamic Routing advertises tenant prefixes with a next hop on
the external network. By default the BGP peer unit only has the port
created by juju when deploying the model. If this is on a different L2
segment, it can make the advertised routes unreachable from the peer
unit and cause dragent tests to fail.

Give the BGP peer an address from the undercloud subnet that bridges to
the external network. The next hop is then on-link, so floating IP
traffic works.

Neutron Dynamic Routing advertises tenant prefixes with a next hop on
the external network. By default the BGP peer unit only has the port
created by juju when deploying the model. If this is on a different L2
segment, it can make the advertised routes unreachable from the peer
unit and cause dragent tests to fail.

Give the BGP peer an address from the undercloud subnet that bridges to
the external network. The next hop is then on-link, so floating IP
traffic works.

Assisted-By: opencode (deepseek/deepseek-v4.1-flash-1017; openrouter)
Signed-off-by: Zachary Raines <zachary.raines@canonical.com>
(cherry picked from commit 40a511c)

@nicolasbock-canonical nicolasbock-canonical left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@brianphaley
brianphaley merged commit 06d457e into openstack-charmers:stable/caracal Nov 12, 2026
3 checks passed
openstackadmin pushed a commit to openstack/charm-neutron-dynamic-routing that referenced this pull request Nov 13, 2026
* update:
  - charmcraft.yaml for v3
  - tox.ini to use py3.10 by default
  - test-requirements.in to use zaza for juju3
  - pin dnspython<2.9 to avoid pulling in rustup
  - update test bundles to work with charmcraft v3
  - functional tests to jammy-caracal-ovn and noble-caracal-ovn
* generate:
  - merged-requirements-py310.txt
  - merged-requirements-py312.txt
  - test-requirements-py310.txt
* add:
   - update-requirements env to tox.ini and src/tox.ini
   - update-requirements-noble env to tox.ini
   - add jammy-caracal-ovn.yaml and noble-caracal-ovn.yaml test bundles
     - disable distributed fip on neutron ovn plugin (network topology in
       the functests can lead to failures otherwise)

Change-Id: I7db81699a2bc5e3d34a4502c5c4a3bc282f10051
Func-Test-PR: openstack-charmers/zaza-openstack-tests#1448
Assisted-By: opencode (deepseek/deepseek-v4.1-flash-1017; openrouter)
Signed-off-by: Zachary Raines <zachary.raines@canonical.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants