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

host's cpu cgroup is not updated #1117

Closed
devimc opened this issue Jan 11, 2019 · 1 comment
Closed

host's cpu cgroup is not updated #1117

devimc opened this issue Jan 11, 2019 · 1 comment
Labels
bug Incorrect behaviour

Comments

@devimc
Copy link

devimc commented Jan 11, 2019

Description of problem

$ docker run -dti --cpus 2 --name container --runtime=kata-runtime debian bash
$ docker update --cpus 3 container 

Expected result

# cat /sys/fs/cgroup/cpu,cpuacct/kata/$CID/vcpu/cpu.cfs_period_us 
100000
# cat /sys/fs/cgroup/cpu,cpuacct/kata/$CID/vcpu/cpu.cfs_quota_us 
300000

Actual result

# cat /sys/fs/cgroup/cpu,cpuacct/kata/$CID/vcpu/cpu.cfs_period_us 
100000
# cat /sys/fs/cgroup/cpu,cpuacct/kata/$CID/vcpu/cpu.cfs_quota_us 
200000
@devimc devimc added the bug Incorrect behaviour label Jan 11, 2019
@devimc
Copy link
Author

devimc commented Jan 11, 2019

see #1021

devimc pushed a commit to devimc/kata-runtime that referenced this issue Jan 28, 2019
cpu cgroups are container's specific hence all containers even the sandbox
should be able o create, delete and update their cgroups. The cgroup crated
matches with the cgroup path passed by the containers manager.

fixes kata-containers#1117
fixes kata-containers#1118
fixes kata-containers#1021

Signed-off-by: Julio Montes <[email protected]>
devimc pushed a commit to devimc/kata-runtime that referenced this issue Jan 30, 2019
cpu cgroups are container's specific hence all containers even the sandbox
should be able o create, delete and update their cgroups. The cgroup crated
matches with the cgroup path passed by the containers manager.

fixes kata-containers#1117
fixes kata-containers#1118
fixes kata-containers#1021

Signed-off-by: Julio Montes <[email protected]>
devimc pushed a commit to devimc/kata-runtime that referenced this issue Jan 31, 2019
cpu cgroups are container's specific hence all containers even the sandbox
should be able o create, delete and update their cgroups. The cgroup crated
matches with the cgroup path passed by the containers manager.

fixes kata-containers#1117
fixes kata-containers#1118
fixes kata-containers#1021

Signed-off-by: Julio Montes <[email protected]>
devimc pushed a commit to devimc/kata-runtime that referenced this issue Feb 5, 2019
cpu cgroups are container's specific hence all containers even the sandbox
should be able o create, delete and update their cgroups. The cgroup crated
matches with the cgroup path passed by the containers manager.

fixes kata-containers#1117
fixes kata-containers#1118
fixes kata-containers#1021

Signed-off-by: Julio Montes <[email protected]>
devimc pushed a commit to devimc/kata-runtime that referenced this issue Feb 6, 2019
cpu cgroups are container's specific hence all containers even the sandbox
should be able o create, delete and update their cgroups. The cgroup crated
matches with the cgroup path passed by the containers manager.

fixes kata-containers#1117
fixes kata-containers#1118
fixes kata-containers#1021

Signed-off-by: Julio Montes <[email protected]>
devimc pushed a commit to devimc/kata-runtime that referenced this issue Feb 7, 2019
cpu cgroups are container's specific hence all containers even the sandbox
should be able o create, delete and update their cgroups. The cgroup crated
matches with the cgroup path passed by the containers manager.

fixes kata-containers#1117
fixes kata-containers#1118
fixes kata-containers#1021

Signed-off-by: Julio Montes <[email protected]>
devimc pushed a commit to devimc/kata-runtime that referenced this issue Feb 12, 2019
cpu cgroups are container's specific hence all containers even the sandbox
should be able o create, delete and update their cgroups. The cgroup crated
matches with the cgroup path passed by the containers manager.

fixes kata-containers#1117
fixes kata-containers#1118
fixes kata-containers#1021

Signed-off-by: Julio Montes <[email protected]>
devimc pushed a commit to devimc/kata-runtime that referenced this issue Feb 12, 2019
cpu cgroups are container's specific hence all containers even the sandbox
should be able o create, delete and update their cgroups. The cgroup crated
matches with the cgroup path passed by the containers manager.

fixes kata-containers#1117
fixes kata-containers#1118
fixes kata-containers#1021

Signed-off-by: Julio Montes <[email protected]>
devimc pushed a commit to devimc/kata-runtime that referenced this issue Feb 13, 2019
cpu cgroups are container's specific hence all containers even the sandbox
should be able o create, delete and update their cgroups. The cgroup crated
matches with the cgroup path passed by the containers manager.

fixes kata-containers#1117
fixes kata-containers#1118
fixes kata-containers#1021

Signed-off-by: Julio Montes <[email protected]>
devimc pushed a commit to devimc/kata-runtime that referenced this issue Feb 14, 2019
cpu cgroups are container's specific hence all containers even the sandbox
should be able o create, delete and update their cgroups. The cgroup crated
matches with the cgroup path passed by the containers manager.

fixes kata-containers#1117
fixes kata-containers#1118
fixes kata-containers#1021

Signed-off-by: Julio Montes <[email protected]>
devimc pushed a commit to devimc/kata-runtime that referenced this issue Feb 18, 2019
cpu cgroups are container's specific hence all containers even the sandbox
should be able o create, delete and update their cgroups. The cgroup crated
matches with the cgroup path passed by the containers manager.

fixes kata-containers#1117
fixes kata-containers#1118
fixes kata-containers#1021

Signed-off-by: Julio Montes <[email protected]>
devimc pushed a commit to devimc/kata-runtime that referenced this issue Feb 18, 2019
cpu cgroups are container's specific hence all containers even the sandbox
should be able o create, delete and update their cgroups. The cgroup crated
matches with the cgroup path passed by the containers manager.

fixes kata-containers#1117
fixes kata-containers#1118
fixes kata-containers#1021

Signed-off-by: Julio Montes <[email protected]>
@GabyCT GabyCT closed this as completed in 9758cdb Feb 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Incorrect behaviour
Projects
None yet
Development

No branches or pull requests

1 participant