-
Notifications
You must be signed in to change notification settings - Fork 341
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
[BUG] Setting Harvester NTP Servers Is Only Additive #5876
Comments
Pre Ready-For-Testing Checklist
|
Automation e2e test issue: harvester/tests#1295 |
added |
added |
Thanks for this fix @brandboat 😄 👍 - this looks great on Harvester Version: v1.4.0-dev-20240705 It is correctly updating the timesyncd.conf and additionally re-initializing the synchronization to the timeserver as updated / needed / etc.
This looks great 😄 - I'll go ahead and close this out |
Describe the bug
Harvester Dashboard -> Settings -> NTP Servers do not accurately update '/etc/systemd/timesyncd.conf`.
To Reproduce
Steps to reproduce the behavior:
cat /etc/systemd/timesyncd.conf
, you should see your single NTP server there and presentcat /etc/systemd/timesyncd.conf
you'll notice, that it has only "added" the other server that it is not "truly" reflective of what we set it in the Harvester settings.Example.
Original NTP Server:
After Modification (if let's say you modified the ntp-server in Harvester Dashboard -> Settings -> NTP Servers, from time1.google.com to replacing that with time2.google.com):
Workaround
Expected behavior
Expectation would be that we would have parity reflected with
/etc/systemd/timesync.conf
- but it seems to only be "additive" in nature, and would not remove the original ntp-server from the/etc/systemd/timesyncd.conf
even if in our Harvester Settings -> NTP Servers that server is nowhere to be foundEnvironment
The text was updated successfully, but these errors were encountered: