Closed linxiulei closed 5 years ago
Confirmed. image=
and initrd=
are fine, but if you enable the factory, the time seems to be set to the time the snapshot was taken.
/cc @bergwolf.
Ooh, that's an interesting one @linxiulei - do you know if that is just with the factory, or does it happen with the non-factory as well?
Oh, OK, I see @jodh-intel has already commented on that. nice find!
I guess the vm template stored with running memory, it definitely performs like vm migration. I don't sure kvmclock could do any help, but syncing time through agent would be an easy choice : )
Yes. What worries me slightly is that -- unless we are careful -- the agent will end up doing everything systemd does ;)
Description of problem
kata-runtime factory init
wait a few minute
docker run -it --net none --runtime kata-runtime busybox date && date
output is
Despite of different timezone, there were ten minutes delta
Expected result
(replace this text with an explanation of what you thought would happen)
Actual result
(replace this text with details of what actually happened)
Meta details
Running
kata-collect-data.sh
version1.4.0 (commit bf1cf68)
at2018-11-28.18:51:31.765059873+0800
.Runtime is
/usr/bin/kata-runtime
.kata-env
Output of "
/usr/bin/kata-runtime kata-env
":Runtime config files
Runtime default config files
Runtime config file contents
Output of "
cat "/etc/kata-containers/configuration.toml"
":Output of "
cat "/usr/share/defaults/kata-containers/configuration.toml"
":KSM throttler
version
Output of "
/usr/libexec/kata-ksm-throttler/kata-ksm-throttler --version
":Output of "
/usr/lib/systemd/system/kata-ksm-throttler.service --version
":systemd service
Image details
Initrd details
/usr/share/kata-containers/kata-containers-initrd.img
Logfiles
Runtime logs
Recent runtime problems found in system journal:
Proxy logs
Recent proxy problems found in system journal:
Shim logs
Recent shim problems found in system journal:
Throttler logs
No recent throttler problems found in system journal.
Container manager details
Have
docker
Docker
Output of "
docker version
":Output of "
docker info
":Output of "
systemctl show docker
":No
kubectl
Packages
No
dpkg
Haverpm
Output of "rpm -qa|egrep "(cc-oci-runtimecc-runtimerunv|kata-proxy|kata-runtime|kata-shim|kata-ksm-throttler|kata-containers-image|linux-container|qemu-)"
":