Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

guest agent: revamp synchronisation and assist thawing #16

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

ctheune
Copy link
Member

@ctheune ctheune commented Oct 11, 2024

We think that this is the cause of PL-132809
(VMs unavailable due to hung tasks / guest freeze).

The previous way to establish a connection was broken as it misunderstood the synchronisation mechanism and the way the guest agent tries to send pending messages to the socket.

The new approach first tries to send a gratuitous thaw, flush out any pending messages and then tries once to ping and synchronize - otherwise erroring out immediately.

Also, when freezing we try harder to thaw if we failed and we increased the freezing timeout to 5 minutes.

Fixes PL-132809

We think that this is the cause of PL-132809
(VMs unavailable due to hung tasks / guest freeze).

The previous way to establish a connection was broken as it
misunderstood the synchronisation mechanism and the way the guest agent
tries to send pending messages to the socket.

The new approach first tries to send a gratuitous thaw,
flush out any pending messages and then tries once to ping and
synchronize - otherwise erroring out immediately.

Also, when freezing we try harder to thaw if we failed and we increased
the freezing timeout to 5 minutes.

Fixes PL-132809
@ctheune ctheune merged commit d3cb317 into master Oct 11, 2024
1 check passed
@ctheune ctheune deleted the PL-132809-guest-agent-thaw branch October 11, 2024 14:57
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