Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

factory: set guest time after resuming#976

Merged
lifupan merged 2 commits intokata-containers:masterfrom
bergwolf:synctime
Dec 12, 2018
Merged

factory: set guest time after resuming#976
lifupan merged 2 commits intokata-containers:masterfrom
bergwolf:synctime

Conversation

@bergwolf
Copy link
Copy Markdown
Member

@bergwolf bergwolf commented Dec 4, 2018

We might have paused a guest for a long time so we need to sync its time.

depends on kata-containers/agent#425

@bergwolf
Copy link
Copy Markdown
Member Author

bergwolf commented Dec 4, 2018

/test

@jodh-intel
Copy link
Copy Markdown

jodh-intel commented Dec 4, 2018

lgtm

We should really add an integration test to ensure that when VM templating is enabled, the guest time progresses as expected.

Approved with PullApprove

@devimc
Copy link
Copy Markdown

devimc commented Dec 4, 2018

lgtm

Approved with PullApprove

@amshinde
Copy link
Copy Markdown
Member

amshinde commented Dec 4, 2018

Assuming you will be adding the commit list in your vendor commit, this
lgtm

As @jodh-intel pointed, will be useful to have an integration test for this.

Approved with PullApprove

bergwolf added a commit to bergwolf/kata-tests that referenced this pull request Dec 5, 2018
Make sure it is not affected by being created from vm template.

Depends-on: github.com/kata-containers/agent#425
Depends-on: github.com/kata-containers/runtime#976
Fixes: kata-containers#968

Signed-off-by: Peng Tao <bergwolf@gmail.com>
@bergwolf
Copy link
Copy Markdown
Member Author

bergwolf commented Dec 5, 2018

Sure @jodh-intel . Please see kata-containers/tests#969

Full commit list:

34b7454 grpc: sandbox: add container when is fully created.
df822eb grpc: support rlimits
87ad0a8 release: Kata Containers 1.5.0-rc1
31c6b6e grpc: add SetGuestDateTime API
4eca13b client: do cleanup after UT stop mock server
c25288a Makefile: Decide if agent will be built by seccomp tag
0aae82b release: Kata Containers 1.4.0
7b4c337 vendor: Update vendor/github.com/containerd/console
8dedf30 agent: build as Position-Independent-Executable
dc635d4 test: Add test for ipvlan routes in l3 mode
69ee60f network: Refactor to reduce cyclomatic complexity
4005c33 network: Handle default route where gateway is empty
83138df pkg: types: Add a new field type

Signed-off-by: Peng Tao <bergwolf@gmail.com>
We might have paused a guest for a long time so we need to sync
its time.

Fixes:kata-containers#951
Signed-off-by: Peng Tao <bergwolf@gmail.com>
@bergwolf
Copy link
Copy Markdown
Member Author

/test

@lifupan lifupan merged commit 97fce62 into kata-containers:master Dec 12, 2018
@bergwolf bergwolf deleted the synctime branch March 27, 2019 07:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants