Closed free2k closed 5 years ago
thanks for reporting @free2k - /cc @devimc @jcvenegas for input.
@free2k you need to update the kata-agent or wait for the next release (1.6.0)
@free2k yes as @devimc metion , next release will fix, this in two sides you are going to get host cpuset isolation and you wont have this issue from guest side.
Thank you for your answer, then I can only wait for the next version. What is the next release? Is there a certain date?
We already have 1.6.0 rc1. The formal release will come soon
@free2k please try with 1.5.1
@free2k can we close this?
Description of problem
docker run --runtime kata-runtime --name kata-test --cpus 8 --cpuset-cpus="1-8" --memory 16G -itd daocloud.io/library/centos /bin/sh This command can be successfully executed, and you can see that the cpu is bound to the 1-8 core.
docker run --runtime kata-runtime --name kata-test --cpus 8 --cpuset-cpus="9-16" --memory 16G -itd daocloud.io/library/centos /bin/sh This command can fail to execute and cannot be bound to the 9-16 core. The physical machine is 40 core
Expected result
Can be successfully bound to the 9-16 core
Actual result
docker run --runtime kata-runtime --name kata-test --cpus 8 --cpuset-cpus="9-16" --memory 16G -itd daocloud.io/library/centos /bin/sh
39dcbc28f5ec08034207f57050834d5909e0004f3392ce4570adbf4371471b13 /usr/bin/docker-current: Error response from daemon: oci runtime error: rpc error: code = Internal desc = Could not run process: container_linux.go:348: starting container process caused "process_linux.go:279: applying cgroup configuration for process caused \"failed to write 9-16 to cpuset.cpus: write /sys/fs/cgroup/cpuset/system.slice:docker:39dcbc28f5ec08034207f57050834d5909e0004f3392ce4570adbf4371471b13/cpuset.cpus: invalid argument\"".
Meta details
Running
kata-collect-data.sh
version1.5.0 (commit 5f7fcd7)
at2019-02-25.20:55:50.235871978+0800
.Runtime is
/bin/kata-runtime
.kata-env
Output of "
/bin/kata-runtime kata-env
":Runtime config files
Runtime default config files
Runtime config file contents
Config file
/etc/kata-containers/configuration.toml
not found 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
No initrd
Logfiles
Runtime logs
Recent runtime problems found in system journal:
Proxy logs
Recent proxy problems found in system journal:
Shim logs
No 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-)"
":