-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Time synchronization inside LCOW UVM (#1119)
Start time synchronization service in opengcs Changes to the opengcs to start the chronyd service after UVM boots. Signed-off-by: Amit Barve <ambarve@microsoft.com> * Signed-off-by: Amit Barve <ambarve@microsoft.com> * TimeSync service inside LCOW UVM. Add test to verify both chronyd running & disabled cases. Minor fixes in chronyd startup code. Signed-off-by: Amit Barve <ambarve@microsoft.com> * Run Chronyd with restart monitor Signed-off-by: Amit Barve <ambarve@microsoft.com> * Force chronyd to step update time if difference is big Signed-off-by: Amit Barve <ambarve@microsoft.com> * Fixes after rebase Signed-off-by: Amit Barve <ambarve@microsoft.com> * go mod vendor & tidy Signed-off-by: Amit Barve <ambarve@microsoft.com> * Use backoff package instead of manually calculating backoffs Signed-off-by: Amit Barve <ambarve@microsoft.com> * Rename gcs cmdline params, use io.ReadFull instead of io.Read Minor other fixes. Signed-off-by: Amit Barve <ambarve@microsoft.com> * go mod vendor Signed-off-by: Amit Barve <ambarve@microsoft.com> * Ignore err if file doesn't exist Signed-off-by: Amit Barve <ambarve@microsoft.com> * Use ioutil.ReadFile to read clock_name file Signed-off-by: Amit Barve <ambarve@microsoft.com> * minor fix Signed-off-by: Amit Barve <ambarve@microsoft.com> * Remove incorrect usage of backoff.MaxElapsedTime Signed-off-by: Amit Barve <ambarve@microsoft.com>
- Loading branch information
Showing
8 changed files
with
217 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
test/vendor/github.com/Microsoft/hcsshim/internal/uvm/create_lcow.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
test/vendor/github.com/Microsoft/hcsshim/pkg/annotations/annotations.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.