roachprod: Install and configure chrony on GCE clusters#62108
roachprod: Install and configure chrony on GCE clusters#62108craig[bot] merged 1 commit intocockroachdb:masterfrom
Conversation
|
I created a cluster using this change: |
Fixes cockroachdb#62063 In cockroachdb#31577 we switched to `chrony` for AWS, but not for CGE. By default they GCE clusters based on Ubuntu 16.04 use `ntp`. This patch installs `chrony` (and automatically removes `ntp`) on GCE and configures `chrony` to use Google's time server. Release note: None
|
The optional CI failures don't look related, but I can rebase again, just in case. |
|
Potentially related: #62060 |
Sounds the same to me. Thank you! |
|
Interesting. We frequently see clock offset panics in our attempts at long-running roachtests such as #47652. I had poked at that in the past and never got anywhere, but maybe this will help. Either way thank you for looking into this! |
petermattis
left a comment
There was a problem hiding this comment.
I thought GCE VMs had good time synchronization out of the box that obviated the need for chrony. My knowledge is admittedly a few years out of date. I'm fine to see if this helps.
Reviewable status:
complete! 1 of 0 LGTMs obtained (waiting on @rail)
|
bors r+ |
|
Build succeeded: |
Fixes #62063
In #31577 we switched to
chronyfor AWS, but not for CGE. By defaultthey GCE clusters based on Ubuntu 16.04 use
ntp.This patch installs
chrony(and automatically removesntp) on GCEand configures
chronyto use Google's time server.Release note: None