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

networking: Increase checkpoint settle time #13534

Merged
merged 1 commit into from
Feb 12, 2020

Conversation

martinpitt
Copy link
Member

Similar to commit f1d06ab, but bump it harder. Right after
starting the test and cockpit, the VMs are fairly loaded (particularly
rhel-8-2), so that eth0 does not get shut down quickly enough and the
checkpoint_destroy() succeeds. As a result, Cockpit just disconnects,
the curtain never comes up, and there is never a restore.

Fixes #13532

Similar to commit f1d06ab, but bump it harder. Right after
starting the test and cockpit, the VMs are fairly loaded (particularly
rhel-8-2), so that eth0 does not get shut down quickly enough and the
checkpoint_destroy() succeeds. As a result, Cockpit just disconnects,
the curtain never comes up, and there is never a restore.

Fixes cockpit-project#13532
@martinpitt
Copy link
Member Author

@mvollmer: If that is somehow not good enough, an alternative "fix" would be to add some sleeping to the beginning of check-networking-checkpoint to let the VM settle down a bit.

@martinpitt
Copy link
Member Author

The test now passed on first try on rhel-8-2, fedora-31, and all other OSes \o/

@martinpitt
Copy link
Member Author

This also happens on fedora-31. Not surprising, I just saw it less often.

@mvollmer
Copy link
Member

I think a longer settle time is okay. Now people get to see a broken UI for four seconds when they accidentally disconnect themselves, but that still feels short enough to not be confusing.

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.

Network checkpoints don't work reliably on RHEL 8.2
2 participants