Skip to content

team: perform cleanup immediately when connecting to teamd fails

Beniamino Galvani requested to merge bg/rh1856723 into master

When NM fails to connect to teamd during an activation, it sets the device state to FAILED. Eventually the device will become DISCONNECTED and will call the ->deactivate() method that will perform the cleanup of timers, teamd process and teamdctl instance.

However, in this way, when the device is DISCONNECTED timers are still armed and can be triggered in the wrong state. Instead, perform the cleanup immediately on failure.

https://bugzilla.redhat.com/show_bug.cgi?id=1856723

Merge request reports