-
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] new node can't join the cluster if time is not synced #2860
Comments
WorkaroundAdjust BIOS time to correct one before installing Harvester first node. reproduce stepManual install
Auto install (PXE install)
|
Possible solution:We should execute rancherd/rke2-server/rke2-agent service after Override systemd service config with NoteOnly tested with correct and proper NTP server and NTP settings. |
Pre Ready-For-Testing Checklist
*~~ [ ] If the fix introduces the code for backward compatibility Has a separate issue been filed with the label |
Automation e2e test issue: harvester/tests#576 |
Test stepIt's not easy to test this issue in VM because we can not handle RTC hardware clock of a VM. Test 1 (correct NTP)rancherd and rke2 should wait for time sync.
Test 2 (cannot connect to NTP server or without NTP)If NTP server is unreachable or other NTP problem, ignore NTP and start Rancherd and rke2.
|
Test 2 (cannot connect to NTP server or without NTP):
|
Verified fixed on ResultVerified when machine bios time is not synced
Test Information
Verify Steps |
Describe the bug
A new node can't join an existing cluster if its time is not in sync.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The node can join.
Support bundle
Environment
Additional context
It takes time to make time in sync; one way is to wait for time sync in rancherd.
The text was updated successfully, but these errors were encountered: