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

core: reconnect faster to host after reboot #974

Conversation

JasperB-TeamBlue
Copy link
Contributor

Altered sleepOnReboot to try and reach the host with a certain interval, ServerRebootSleepTime, as waiting time in between tries. When the host is back online after reboot, cancel sleep timeout and continue with operations. Instead of trying to reach the host after the ServerRebootTimeout has been reached, this is the max time the host has to come back online before breaking off operations. Uses the stats it gets from the vdsproxy to check the state of the host and reports back that operations with this host can be continued.

Are you the owner of the code you are sending in, or do you have permission of the owner?

[y]

@dupondje
Copy link
Member

/ost

@JasperB-TeamBlue JasperB-TeamBlue force-pushed the TB1OVI3-23-adding-new-host-to-engine-waits-too-long-for-host-reboot branch from e538816 to cf0f996 Compare December 17, 2024 15:16
@dupondje dupondje force-pushed the TB1OVI3-23-adding-new-host-to-engine-waits-too-long-for-host-reboot branch from cf0f996 to 5d071e8 Compare December 31, 2024 12:42
@JasperB-TeamBlue JasperB-TeamBlue force-pushed the TB1OVI3-23-adding-new-host-to-engine-waits-too-long-for-host-reboot branch from 5d071e8 to 8bbec74 Compare March 14, 2025 16:35
Altered sleepOnReboot to try and reach the host with a certain interval, ServerRebootSleepTime, as waiting time in between tries.
When the host is back online after reboot, cancel sleep timeout and continue with operations.
Instead of trying to reach the host after the ServerRebootTimeout has been reached, this is the max time the host has to come back online before breaking off operations.
Uses the stats it gets from the vdsproxy to check the state of the host and reports back that operations with this host can be continued.
Signed-off-by: Jasper Berton <[email protected]>
@JasperB-TeamBlue JasperB-TeamBlue force-pushed the TB1OVI3-23-adding-new-host-to-engine-waits-too-long-for-host-reboot branch from 8bbec74 to 8690f36 Compare March 17, 2025 08:56
@dupondje dupondje merged commit 9a9b4c6 into oVirt:master Mar 17, 2025
2 checks passed
@dupondje dupondje deleted the TB1OVI3-23-adding-new-host-to-engine-waits-too-long-for-host-reboot branch March 17, 2025 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants