dragonwell8
dragonwell8 copied to clipboard
[Bug] Multi-tenant CPU throttling does not support multiple users
Description Multi-tenant CPU throttling feature presumes a rather simple execution environment, which only supports one user ('<CGROUP_ROOT>/cpu/ajdk_multi_tenant' directory can be owned by only one user) in the system to invoke tenant APIs. This works in Alibaba's production environment, but not friendly for other users with slightly complex configurations.
Steps to Reproduce Steps to reproduce the behavior:
-
jgroup -g admin -u admin
- login with a different user than `admin, any calls to the tenant API will fail.
Expected behavior Any user may init jgroup, and use tenant APIs separately.
JDK version 8.3.3
Execution environment
- OS and version: Linux
- CPU model: x86_64
- Number of CPU cores: any
- Size of physical memory: any
- Inside Linux container?
- Linux container name (docker, pouch, etc):
- Linux container version:
I guess I left a patch on Gitlab before leaving Alibaba, possibly in the personal organization chuansheng.lcs/
, can anybody from Alibaba please help to check if the patch is still there? and do we still need such a patch?