Re: [pve-devel] [PATCH manager 1/2] api: ceph: deprecate pools in favor or pool

2023-03-20 Thread Fabian Grünbichler
On December 9, 2022 1:58 pm, Aaron Lauterer wrote: > /nodes/{node}/ceph/pools/{pool} returns the pool details right away on a > GET. This makes it bad practice to add additional sub API endpoints. > > By deprecating it and replacing it with /nodes/{node}/ceph/pool/{pool} > (singular instead of pl

Re: [pve-devel] [PATCH v2 manager 1/5] api: ceph: add ceph/cfg path, deprecate ceph/config and ceph/configdb

2023-03-20 Thread Fabian Grünbichler
On March 16, 2023 2:48 pm, Aaron Lauterer wrote: > Consolidating the different config paths lets us add more as needed > without polluting our API with too many 'configxxx' endpoints. > > The config and configdb paths are renamed under the ceph/cfg path: > * config -> raw (returns the ceph.conf fi

Re: [pve-devel] applied: [PATCH v5 qemu-server 02/12] memory: don't use foreach_reversedimm for unplug

2023-03-20 Thread Fiona Ebner
Am 17.03.23 um 17:23 schrieb DERUMIER, Alexandre: > Hi Fiona, > > I don't have checked yet, but does I need to rebase the other virtio- > mem patches ? > No, they still apply for me. But this patch(series)[0] and a versioned breaks is needed for HA manager, before the 'memory' config property ca

Re: [pve-devel] applied: [PATCH v5 qemu-server 02/12] memory: don't use foreach_reversedimm for unplug

2023-03-20 Thread DERUMIER, Alexandre
Le lundi 20 mars 2023 à 09:36 +0100, Fiona Ebner a écrit : > Am 17.03.23 um 17:23 schrieb DERUMIER, Alexandre: > > Hi Fiona, > > > > I don't have checked yet, but does I need to rebase the other > > virtio- > > mem patches ? > > > > No, they still apply for me. But this patch(series)[0] and a >

[pve-devel] [PATCH widget-toolkit 4/4] dark-theme: let the background "shine through" mask more

2023-03-20 Thread Stefan Sterz
this makes the background mask a bit brighter and more see-through to make it possible to read values from behind the mask, if needed. it also adds a more visible shadow to windows so that the stand out more at the same time. Signed-off-by: Stefan Sterz --- src/proxmox-dark/scss/extjs/_presentat

[pve-devel] [PATCH widget-toolkit 0/4] Dark Theme Fix-ups Round 3

2023-03-20 Thread Stefan Sterz
this series adds a few more fix-ups for the dark theme: * fix the contrast ratio of the focus state of help buttons * make help buttons hovered/focused state brigther to be more consistent with the rest of the theme * dim warning and invalid colors further to be more consistent with crisp * d

[pve-devel] [PATCH widget-toolkit 2/4] dark-theme: make "sorted-by" header highlight more subtle

2023-03-20 Thread Stefan Sterz
by making the highlight more subtle, the theme is more consistent with the look of crisp. Signed-off-by: Stefan Sterz --- src/proxmox-dark/scss/extjs/_grid.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proxmox-dark/scss/extjs/_grid.scss b/src/proxmox-dark/scss/ext

[pve-devel] [PATCH widget-toolkit 1/4] dark-theme: improve help button contrast ratios in focused state

2023-03-20 Thread Stefan Sterz
also improves the hovered/focused state and makes it more consistent with other buttons by making it brighter than the default state. Signed-off-by: Stefan Sterz --- src/proxmox-dark/scss/abstracts/_variables.scss | 2 +- src/proxmox-dark/scss/proxmox/_helpbutton.scss | 3 ++- 2 files changed,

[pve-devel] [PATCH widget-toolkit 3/4] dark-theme: dim warning and invalid colors more

2023-03-20 Thread Stefan Sterz
this brings them more in-line with the appearance of crisp. Signed-off-by: Stefan Sterz --- src/proxmox-dark/scss/abstracts/_variables.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/proxmox-dark/scss/abstracts/_variables.scss b/src/proxmox-dark/scss/abstracts/_

[pve-devel] [PATCH v2 manager 2/3] ui: ceph: adapt urls to new ceph/pool endpoint

2023-03-20 Thread Aaron Lauterer
ceph/pools (plural) is deprecated, use the new one. Since the details / status of a pool has been moved from previously ceph/pools/{name} to now ceph/pool/{name}/status, we need to pass the 'loadUrl' to the edit window. Signed-off-by: Aaron Lauterer --- no changes since v1 www/manager6/ceph/Poo

[pve-devel] [PATCH v2 manager 3/3] pveceph: adapt to new Pool module

2023-03-20 Thread Aaron Lauterer
The API::Ceph::Pools module is deprecated. Use the new API::Ceph::Pool (singular) module. Signed-off-by: Aaron Lauterer --- this patch has been added since v1 to also adapt the pveceph CLI tool to the new module. Since all the methods kept their name and only the API paths changed, there is not

[pve-devel] [PATCH v2 manager 1/3] api: ceph: deprecate pools in favor of pool

2023-03-20 Thread Aaron Lauterer
/nodes/{node}/ceph/pools/{pool} returns the pool details right away on a GET. This makes it bad practice to add additional sub API endpoints. By deprecating it and replacing it with /nodes/{node}/ceph/pool/{pool} (singular instead of plural) we can turn that into an index GET response, making it

[pve-devel] [PATCH v3 manager 2/2] ui: ceph config: use new ceph/cfg/ API endpoints

2023-03-20 Thread Aaron Lauterer
Signed-off-by: Aaron Lauterer --- nothing changes since v1 www/manager6/ceph/Config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/manager6/ceph/Config.js b/www/manager6/ceph/Config.js index 7f07f15f..d4da20a8 100644 --- a/www/manager6/ceph/Config.js +++ b/www/man

[pve-devel] [PATCH v3 manager 1/2] api: ceph: add ceph/cfg path, deprecate ceph/config and ceph/configdb

2023-03-20 Thread Aaron Lauterer
Consolidating the different config paths lets us add more as needed without polluting our API with too many 'configxxx' endpoints. The config and configdb paths are renamed under the ceph/cfg path: * config -> raw (returns the ceph.conf file as is) * configdb -> db (returns the ceph config db cont

[pve-devel] [PATCH v3 manager 0/2] rework ceph cfg api

2023-03-20 Thread Aaron Lauterer
to avoid multiple configXXX endpoints for different things. A new API endpoint is used: 'cfg' and the current 'config' and 'configdb' are moved there (first 2 patches). The result is * cfg/ * raw (formerly config) * db (formerly configdb) The other patches from the previous series (adding a n

[pve-devel] applied: [PATCH widget-toolkit 0/4] Dark Theme Fix-ups Round 3

2023-03-20 Thread Thomas Lamprecht
Am 20/03/2023 um 10:02 schrieb Stefan Sterz: > this series adds a few more fix-ups for the dark theme: > > * fix the contrast ratio of the focus state of help buttons > * make help buttons hovered/focused state brigther to be more > consistent with the rest of the theme > * dim warning and inva

Re: [pve-devel] [PATCH v3 manager 1/2] api: ceph: add ceph/cfg path, deprecate ceph/config and ceph/configdb

2023-03-20 Thread Dominik Csapak
one super small nit inline, rest LGTM On 3/20/23 11:50, Aaron Lauterer wrote: Consolidating the different config paths lets us add more as needed without polluting our API with too many 'configxxx' endpoints. The config and configdb paths are renamed under the ceph/cfg path: * config -> raw (re

Re: [pve-devel] [PATCH v3 manager 0/2] rework ceph cfg api

2023-03-20 Thread Dominik Csapak
aside from the one nit (which can be fixed up) Reviewed-By: Dominik Csapak Tested-By: Dominik Csapak ___ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] [PATCH v2 manager 1/3] api: ceph: deprecate pools in favor of pool

2023-03-20 Thread Dominik Csapak
series LGTM Reviewed-by: Dominik Csapak Tested-by: Dominik Csapak ___ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] [PATCH access-control/docs 0/2] fix #3748: Allow reserved characters in attribute values of LDAP DNs

2023-03-20 Thread Dominik Csapak
since my reservations about being too strict were unfounded (since these configs wouldn't have worked in the first place) i'll send a follow up for adding a link to the rfc shortly consider this: Reviewed-by: Dominik Csapak Tested-by: Dominik Csapak ___

[pve-devel] [PATCH docs] pveum: add RFC reference for reserved characters

2023-03-20 Thread Dominik Csapak
Signed-off-by: Dominik Csapak --- pveum.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pveum.adoc b/pveum.adoc index fa6579b..fa32b11 100644 --- a/pveum.adoc +++ b/pveum.adoc @@ -394,8 +394,8 @@ The main options for syncing are: Reserved characters

[pve-devel] applied: [PATCH v2 storage] config: use relative paths for content overrides

2023-03-20 Thread Thomas Lamprecht
Am 14/03/2023 um 14:14 schrieb Leo Nunner: > Remove the requirement for paths to start with a /, as it might be > confusing to users. > > Signed-off-by: Leo Nunner > --- > RFC: I'm not really sure how much input validation we want to do here. > e.g., should we keep the user from appending or prep

[pve-devel] applied-series: [PATCH v3 manager 0/2] rework ceph cfg api

2023-03-20 Thread Thomas Lamprecht
Am 20/03/2023 um 14:36 schrieb Dominik Csapak: > aside from the one nit (which can be fixed up) fixed up in a follow up > > Reviewed-By: Dominik Csapak > Tested-By: Dominik Csapak > with above: applied series, thanks! ___ pve-devel mailing list p

[pve-devel] applied: [PATCH v2 manager 1/3] api: ceph: deprecate pools in favor of pool

2023-03-20 Thread Thomas Lamprecht
Am 20/03/2023 um 14:47 schrieb Dominik Csapak: > Reviewed-by: Dominik Csapak > Tested-by: Dominik Csapak With above: applied, thanks! ___ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] applied: [PATCH access-control 1/2] ldap: Allow quoted values for DN attribute values

2023-03-20 Thread Thomas Lamprecht
Am 15/03/2023 um 10:54 schrieb Dominik Csapak: > hi, > > so high level comment: > i'd write most of what you wrote in the cover letter here in the commit > message, > makes it much more convenient to find it only via git ;) > > also i'm missing a bit the rationale for how the regex was chosen, b

[pve-devel] applied: [PATCH v3 storage] api: fix get content call for volumes

2023-03-20 Thread Thomas Lamprecht
Am 09/03/2023 um 10:41 schrieb Christian Ebner: > `pvesh get /nodes/{node}/storage/{storage}/content/{volume}` failed for > several storage types, because the respective storage plugins returned > only the volumes `size` on `volume_size_info` calls, while also the format > is required. > > This pa

Re: [pve-devel] [PATCH v3 storage] deprecate mkdir option for create-path and create-sub-dirs

2023-03-20 Thread Thomas Lamprecht
Am 09/02/2023 um 14:18 schrieb Aaron Lauterer: > The `mkdir` option has two meanings[0][1] which are split up in `create-path` > and `create-sub-dirs`. > > The `create-path` option decides if the path to the storage is > automatically created or not. > The `create-sub-dirs` options decides if the

[pve-devel] applied: [PATCH docs] pveum: add RFC reference for reserved characters

2023-03-20 Thread Thomas Lamprecht
Am 20/03/2023 um 15:22 schrieb Dominik Csapak: > Signed-off-by: Dominik Csapak > --- > pveum.adoc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > applied, thanks! ___ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.p

[pve-devel] applied: [PATCH docs 2/2] pveum: Document reserved characters and quoting of LDAP DNs

2023-03-20 Thread Thomas Lamprecht
Am 31/01/2023 um 13:50 schrieb Christoph Heiss: > Signed-off-by: Christoph Heiss > --- > pveum.adoc | 33 + > 1 file changed, 33 insertions(+) > > applied, dropped the extra newlines for the list and the backtick quoting on the whitespace character to play safe a

[pve-devel] applied: [PATCH v2 docs] config: remove reference to preceeding / from content-dirs

2023-03-20 Thread Thomas Lamprecht
Am 14/03/2023 um 14:14 schrieb Leo Nunner: > Signed-off-by: Leo Nunner > --- > pve-storage-dir.adoc | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > applied, thanks! ___ pve-devel mailing list pve-devel@lists.proxmox.com https://list

Re: [pve-devel] [PATCH v2 manager] gui: expose content-dirs property in storage edit/create

2023-03-20 Thread Thomas Lamprecht
Am 14/03/2023 um 14:14 schrieb Leo Nunner: > Add a separate tab for the storage edit/create panels to set the > recently introduced "content-dirs" property which overrides the > default directory locations. Analogous to the API implementation, > the tab was added for Directory, CIFS and NFS storage

[pve-devel] [PATCH pve-docs] sdn: add rp_filter sysctl tuning when mulitple evpn nodes are used

2023-03-20 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- pvesdn.adoc | 13 + 1 file changed, 13 insertions(+) diff --git a/pvesdn.adoc b/pvesdn.adoc index be62769..d1ff036 100644 --- a/pvesdn.adoc +++ b/pvesdn.adoc @@ -928,6 +928,19 @@ and 10.0.2.0/24 in this example), will be announced dynamically.