Skip to content

Comments

Gracefully handle lost network#91

Draft
scholzp wants to merge 3 commits intocyberus-technology:gardenlinuxfrom
scholzp:gracefully-handle-lost-network
Draft

Gracefully handle lost network#91
scholzp wants to merge 3 commits intocyberus-technology:gardenlinuxfrom
scholzp:gracefully-handle-lost-network

Conversation

@scholzp
Copy link

@scholzp scholzp commented Feb 18, 2026

When the receiver host cuts the network connection, the sender host will not proceed and hang. By introducing keep_alive messages that the sender receives from the receiver, the sender can decide when to cut the connection on proceed.

This is a fix for https://github.com/cobaltcore-dev/cobaltcore/issues/348

That way, when the connection between sender and receiver dies, both
sides will time out and notice that something is wrong.

On-behalf-of: SAP sebastian.eydam@sap.com
Signed-off-by: Sebastian Eydam <sebastian.eydam@cyberus-technology.de>
On the receiver side, a live migration with status "aborted" does not
return an error. Thus, management software will think that the live
migration was successful. This is not expected behaviour.

On-behalf-of: SAP sebastian.eydam@sap.com
Signed-off-by: Sebastian Eydam <sebastian.eydam@cyberus-technology.de>
After introducing timeouts on sockets used for live migrations, live
migations with mutliple TCP connections stopped working. This happens
because the receiver side of the main connection does not get any
messages while the VMs memory is being sent. Thus, we now send periodic
keep alive messages when using multiple TCP connections.

On-behalf-of: SAP sebastian.eydam@sap.com
Signed-off-by: Sebastian Eydam <sebastian.eydam@cyberus-technology.de>
@scholzp scholzp marked this pull request as draft February 18, 2026 14:25
@scholzp scholzp self-assigned this Feb 18, 2026
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.

2 participants