dragonwell8 icon indicating copy to clipboard operation
dragonwell8 copied to clipboard

[Bug] Multi-tenant CPU throttling does not support multiple users

Open luchsh opened this issue 4 years ago • 1 comments

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:

  1. jgroup -g admin -u admin
  2. 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:

luchsh avatar May 21 '20 02:05 luchsh

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?

luchsh avatar Jul 07 '20 02:07 luchsh