You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But because the migration is supposed to often be run from a container where the interfaces aren't available an error [ERROR] Could not add/update the connection en0: D-Bus service error
gets logged even though everything else went well. (See e.g. our integration testsuite)
To avoid this I see 2 possibilities:
add a flag inside the network model if the connection should be activated or not
modify the write() and add_or_update_connection() functions to take a parameter if connections should be activated or not
The text was updated successfully, but these errors were encountered:
## Problem
Currently a connection always gets activated when it is added.
This is a problem for the wicked migration described here
jcronenberg#20
## Solution
Add `Up` and `Down` state to `Status` to control this behavior.
## Testing
- *Tested manually*
- *Tested in the wicked migration
https://github.com/jcronenberg/agama/tree/skip-activation*
jcronenberg
added
migration
Something needs to be changed/implemented in the wicked migration
and removed
upstream
Something needs to be changed/implemented upstream
labels
Dec 18, 2023
Currently when we run
agama/rust/agama-migrate-wicked/src/migrate.rs
Line 38 in 813a755
the following line is always executed
agama/rust/agama-dbus-server/src/network/nm/client.rs
Line 102 in 813a755
But because the migration is supposed to often be run from a container where the interfaces aren't available an error
[ERROR] Could not add/update the connection en0: D-Bus service error
gets logged even though everything else went well. (See e.g. our integration testsuite)
To avoid this I see 2 possibilities:
write()
andadd_or_update_connection()
functions to take a parameter if connections should be activated or notThe text was updated successfully, but these errors were encountered: