bonded link goes down on reconfigure

Bug #2052137 reported by Marlin Cremers
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
systemd
Fix Released
Unknown
netplan.io (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Invalid
Undecided
Unassigned
systemd (Ubuntu)
Fix Released
Low
Nick Rosbrook
Jammy
New
Low
Nick Rosbrook

Bug Description

systemd-networkd brings down member interfaces of a bond when they get reconfigured

Jan 31 15:43:46 unique-slug systemd-networkd[2430]: pn1: Bringing link down

This has a result that a server has complete downtime for a few seconds, this has also been reported upstream https://github.com/systemd/systemd/issues/31165.

A pull request has been opened to fix this https://github.com/systemd/systemd/pull/31172

Revision history for this message
Marlin Cremers (marlinc) wrote :
Revision history for this message
Marlin Cremers (marlinc) wrote :
Changed in systemd:
status: Unknown → New
Changed in systemd:
status: New → Fix Released
Revision history for this message
Lukas Märdian (slyon) wrote :

Looks like this has been fixed in upstream systemd, so there's probably not a lot that we can do on the Netplan side.

Changed in netplan.io (Ubuntu):
status: New → Invalid
Revision history for this message
Nick Rosbrook (enr0n) wrote :

The upstream bug is tagged for a stable backport, so we *should* get this soon-ish in noble.

Changed in systemd (Ubuntu):
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Nick Rosbrook (enr0n)
tags: added: foundations-todo
Revision history for this message
Marlin Cremers (marlinc) wrote :

Would it be possible to backport this to 22.04 as well? We are currently using very hacky workarounds with Netplan.io and networkctl to prevent this bug from being triggered and causing downtime.

Revision history for this message
Daniel 'f0o' Preussker (dpreussker) wrote :

Bump this is also affecting us causing quite a lot of downtime just to add a vlan interface

Revision history for this message
Alexander (zukimorimkato) wrote :

Hello,

Another bump from me, as it affects our infrastructure quite heavily, as we are currently in process of transitioning to Jammy realease. And with more than thousand nodes being redeployed alreday, even small task like add new route causes unwanted complications.

I don't know if i did everything correct, but PSA patch for canonical systemd repo for jammy branch, which has been applied in mainstream of systemd, and has been linked abovr already. I hope it helps to fasten the process.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "jammy_netplan_systemd.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Alexander (zukimorimkato) wrote :

@enr0n Hi, I apologize for tagging you directly; as you very busy man, but I'd like to clarify if there is anything I can do to help on that matter? I.e. fill SRU or prepare a some kind of PR to offload it in some way.

Revision history for this message
Nick Rosbrook (enr0n) wrote :

I will look into this more when working on the next SRU for jammy. But this is not a trivial backport because (a) the patch does not apply, and (b) the link_down_now() function does not exist in v249 (was added in v251). It might be fine to just use link_down(), but this all needs to be tested when I have more time.

AFAICT, the patches should already be included in 24.04 since upstream backported them to v255.4.

Changed in systemd (Ubuntu Jammy):
importance: Undecided → Low
assignee: nobody → Nick Rosbrook (enr0n)
Changed in systemd (Ubuntu):
status: Triaged → Fix Released
tags: added: systemd-sru-next
removed: foundations-todo
Changed in netplan.io (Ubuntu Jammy):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.