fix(host_network): remove extra fields from bond config to prevent clashes #186

Merged
letian merged 14 commits from fix-bond-config into master 2025-11-11 14:12:57 +00:00
6 changed files with 70 additions and 319 deletions
Showing only changes of commit 325d7891be - Show all commits

View File

@@ -97,8 +97,8 @@ impl NetworkManager for OpenShiftNmStateNetworkManager {
debug!(
"Applying NMState bond config for host {}:\n{}",
config.host_id,
serde_yaml::to_string(&bond_config).unwrap(),
config.host_id
);
self.k8s_client
.apply(&bond_config, None)

View File

@@ -118,7 +118,7 @@ impl HostNetworkConfigurationInterpret {
port,
});
}
Ok(None) => debug!("No port found for '{mac_address}', skipping"),
Ok(None) => {}
Err(e) => {
return Err(InterpretError::new(format!(
"Failed to get port for host '{}': {}",