-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
podman machine: Adjust Chrony makestep config #17661
podman machine: Adjust Chrony makestep config #17661
Conversation
64dc17c
to
95ab027
Compare
What would a test for this look like? Can you do something like |
@xordspar0 IDK if a test is possible, @n1hility would probably have the best answer for that. If a test isn't possible, you can use the tag The code LGTM, but it's way out of my wheelhouse. |
I should have included a link the chrony.conf docs to make it easier on reviewers. I'm using |
This allows Chrony to update the system time when it has drifted far from NTP time. By default Chrony only makes slight adjustments, but in the case where a user's laptop lid has been shut for a while and then the machine is resumed, the VM system time could be hours or days behind real time, and it may never catch up if Chrony only makes slight changes. [NO NEW TESTS NEEDED] Fixes containers#11541 Signed-off-by: Jordan Christiansen <[email protected]>
95ab027
to
9ac0d4f
Compare
I think testing the actual time sync would be pretty complicated and likely would lead to flakes. If you do it I would definitely blow away the podman machine instance afterwords. Verifying the configs exist would be straight forward, just an enhancement to the machine tests that perhaps uses podman machine ssh to cat / Grep the files. Not sure how valuable that test would be. I’d probably just do [NO NEW TESTS NEEDED]. The change LGTM. Wdyt @baude ? |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: baude, xordspar0 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel |
/cherry-pick v4.4 |
@ashley-cui: new pull request created: #17871 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This allows Chrony to update the system time when it has drifted far from NTP time. By default Chrony only makes slight adjustments, but in the case where a user's laptop lid has been shut for a while and then the machine is resumed, the VM system time could be hours or days behind real time, and it my never catch up if Chrony only makes slight changes.
Fixes #11541
Does this PR introduce a user-facing change?