[pve-devel] applied: [PATCH common] ProcFSTools: add kernel_version

2019-11-23 Thread Thomas Lamprecht
Signed-off-by: Thomas Lamprecht --- src/PVE/ProcFSTools.pm | 17 ++ test/Makefile | 2 +- test/procfs_tests.pl | 71 ++ 3 files changed, 89 insertions(+), 1 deletion(-) create mode 100755 test/procfs_tests.pl diff --git a/src/PVE/ProcF

[pve-devel] applied: [PATCH storage] RBD: disable and enable features depending on kernel version

2019-11-23 Thread Thomas Lamprecht
Modern kernel, like 5.3, support all those features ('fast-diff', 'object-map', 'deep-flatten'), so we do not want to disable them there. 5.0 already supports exclusive-locks, so no need to disable exclusive locking there. Further, we also want to profit from new features available, so let's enabl

Re: [pve-devel] [PATCH v2 cluster 1/2] pmxcfs: add verify_token IPCC request

2019-11-23 Thread Thomas Lamprecht
On 11/21/19 3:43 PM, Fabian Grünbichler wrote: > Signed-off-by: Fabian Grünbichler > --- > data/src/cfs-ipc-ops.h | 2 ++ > data/src/server.c | 58 ++ > data/src/status.c | 1 + > data/PVE/Cluster.pm| 18 + > 4 files changed, 79

[pve-devel] applied: [PATCH v2 access-control 01/23] user.cfg: ensure propagate flag is 1/0 when parsing

2019-11-23 Thread Thomas Lamprecht
On 11/21/19 3:43 PM, Fabian Grünbichler wrote: > otherwise this might end up as (arbitrary) string somewhere.. > > Signed-off-by: Fabian Grünbichler > --- > PVE/AccessControl.pm | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/PVE/AccessControl.pm b/PVE/AccessControl.pm > index aff913

[pve-devel] applied: [PATCH v2 access-control 02/23] user.cfg: sort group and pool members, role privs

2019-11-23 Thread Thomas Lamprecht
On 11/21/19 3:43 PM, Fabian Grünbichler wrote: > makes no functional difference, but keeps the output/written config more > stable. > > Signed-off-by: Fabian Grünbichler > --- > PVE/AccessControl.pm | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > applied ___

[pve-devel] applied: [PATCH v2 access-control 03/23] pveum: add list commands

2019-11-23 Thread Thomas Lamprecht
On 11/21/19 3:43 PM, Fabian Grünbichler wrote: > we already have the API paths, and they make sense to get an overview > over user.cfg contents. > > Signed-off-by: Fabian Grünbichler > --- > PVE/CLI/pveum.pm | 11 +++ > 1 file changed, 11 insertions(+) > applied _

Re: [pve-devel] [PATCH v2 manager 5/9] www: add 'users' columns to Groups model

2019-11-23 Thread Thomas Lamprecht
some commit message with at least a _little_ bit of reasoning would be nice... On 11/21/19 3:43 PM, Fabian Grünbichler wrote: > Signed-off-by: Fabian Grünbichler > --- > www/manager6/dc/GroupView.js | 6 ++ > www/manager6/form/GroupSelector.js | 8 +++- > 2 files changed, 13 insert

Re: [pve-devel] [PATCH v2 common 1/1] API schema: add 'notoken' property

2019-11-23 Thread Thomas Lamprecht
On 11/21/19 3:43 PM, Fabian Grünbichler wrote: > to mark API methods which should not be available to clients authenticated > using an API token > > Signed-off-by: Fabian Grünbichler > --- > > Notes: > if applied, any users of this need corresponding versioned depends. > > src/PVE/JSONSch

[pve-devel] applied: [PATCH v2 access-control 04/23] access-control: remove check_permissions/permission

2019-11-23 Thread Thomas Lamprecht
On 11/21/19 3:43 PM, Fabian Grünbichler wrote: > they have been handled by PVE::RPCEnvironment for quite some time > already, and the versions there are the complete ones that should be > actually used. > > Signed-off-by: Fabian Grünbichler > --- > > Notes: > v1->v2: > > * add versi