Skip to content

ovs addon: fix ifreload ovs_options clear - #345

Open
PavelAF wants to merge 1 commit into
CumulusNetworks:masterfrom
PavelAF:master
Open

PavelAF wants to merge 1 commit into
CumulusNetworks:masterfrom
PavelAF:master

Conversation

@PavelAF

@PavelAF PavelAF commented Nov 17, 2025

Copy link
Copy Markdown

Fixes #344.

openvswitch.py currently applies ovs_options before the bridge update path clears the existing OVS other_config. As a result, options configured in /etc/network/interfaces can be removed during ifreload.

This changes the update order so that stale bridge configuration is cleared first and the configured ovs_options are applied afterwards.

Reproducer

Given a bridge with an option such as:

ovs_options other_config:forward-bpdu=true

running:

ifreload -a

should preserve the configured option.

Before this change, the option may be removed during reload. After this change, it remains configured as expected.

See #344 for the full bug report and reproduction details.

@PavelAF PavelAF changed the title fix ifreload ovs_options clear ovs addon: fix ifreload ovs_options clear Nov 17, 2025
@PavelAF PavelAF mentioned this pull request Sep 11, 2026
6 tasks
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.

OVS addon: configured ovs_options for OVSBridge interfaces disappear after networking reload

1 participant