[pve-devel] applied: Re: [PATCH container] lxc: fall back to 'unmanaged' when no OS detected

2020-05-29 Thread Thomas Lamprecht
On 5/28/20 10:18 PM, Arnout Engelen wrote: > This is useful when the uploaded CT does not contain a full OS. When the > autodetection detects an OS, that OS is returned. When it does not > successfully detect a supported OS, but /etc/os-release exists and has an ID > other than 'unmanaged', then th

[pve-devel] [PATCH common 1/1] Add cpu core count to /nodes/{id}/status API result

2020-05-29 Thread Mike Beattie
This is useful for when collecting data for Guest OS licensing (Microsoft) where physical core count matters, not socket or thread count. The "cpus" value counts threads when Hyperthreading is enabled. Signed-off-by: Mike Beattie --- src/PVE/ProcFSTools.pm | 9 - 1 file changed, 8 inser

[pve-devel] [PATCH common 0/1] Add cpu core count to node status API

2020-05-29 Thread Mike Beattie
This is useful for when collecting data for Guest OS licensing (Microsoft) where physical core count matters, not socket or thread count. The "cpus" value counts threads when Hyperthreading is enabled. Math could be carried out based on the existence of " ht " in the flags entry, but that would e

[pve-devel] [PATCH manager 2/2] ui: fix HotplugFeatureSelector

2020-05-29 Thread Dominik Csapak
we recently changed the setValue behaviour of the inputpanel and editwindow (we now set all fields with the same names), which leads to wrong behaviour here use a different name for the internal checkboxes to avoid this Signed-off-by: Dominik Csapak --- www/manager6/form/HotplugFeatureSelector.

[pve-devel] [PATCH manager 1/2] ui: fix missing change from 'pve-' to 'pmx-' models

2020-05-29 Thread Dominik Csapak
we forgot to change these Signed-off-by: Dominik Csapak --- www/manager6/dc/AuthView.js | 2 +- www/manager6/dc/RoleView.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/manager6/dc/AuthView.js b/www/manager6/dc/AuthView.js index 3e5a8517..bb5ec851 100644 --- a/www/m

[pve-devel] [PATCH manager v2] change icmp type selector to a combogrid

2020-05-29 Thread Mira Limbeck
The combogrid contains all valid icmp types that iptables accepts. In addition to the names, the Type[/Code] value is shown as well. But specifying Type[/Code] is not supported. As the simple solution with setStore() does not work to change the store for the combogrid, we simply have 2 different I

[pve-devel] [PATCH v2 firewall] introduce new icmp-type parameter

2020-05-29 Thread Mira Limbeck
Currently icmp types are handled via 'dport'. This is not documented anywhere except for a single line of comment in the code. To untangle the icmp-type handling from the dport handling a new 'icmp-type' parameter is introduced. The valid 'icmp-type' values are limited to the names (icmp[v6]_type_

[pve-devel] [PATCH v2 docs] add documentation for the new icmp-type parameter

2020-05-29 Thread Mira Limbeck
Signed-off-by: Mira Limbeck --- v2: - rebased on master pve-firewall-rules-opts.adoc | 4 1 file changed, 4 insertions(+) diff --git a/pve-firewall-rules-opts.adoc b/pve-firewall-rules-opts.adoc index 13ec8d8..5e8c01e 100644 --- a/pve-firewall-rules-opts.adoc +++ b/pve-firewall-rules-opts

[pve-devel] [PATCH manager] ui: add checkbox for vmid filter for backupview

2020-05-29 Thread Dominik Csapak
instead of hardcoding the text 'type-id-' into the searchbar to accomodate for the additional size, add an overflowHandler to the toolbar (for very small display sizes) Signed-off-by: Dominik Csapak --- www/manager6/grid/BackupView.js | 49 ++--- 1 file changed, 39 in

[pve-devel] [PATCH http-server 1/2] fix #2766: allow application/json as content-type for post/put requests

2020-05-29 Thread Dominik Csapak
this makes creating an api client much nicer Signed-off-by: Dominik Csapak --- PVE/APIServer/AnyEvent.pm | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/PVE/APIServer/AnyEvent.pm b/PVE/APIServer/AnyEvent.pm index 3d755d4..e5f2cb4 100644 --- a/PVE/APIServer/AnyE

[pve-devel] [PATCH http-server 2/2] fix post if variable declaration

2020-05-29 Thread Dominik Csapak
Signed-off-by: Dominik Csapak --- PVE/APIServer/AnyEvent.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PVE/APIServer/AnyEvent.pm b/PVE/APIServer/AnyEvent.pm index e5f2cb4..efb8168 100644 --- a/PVE/APIServer/AnyEvent.pm +++ b/PVE/APIServer/AnyEvent.pm @@ -1322,7 +1322,8

[pve-devel] [PATCH manager] ceph: extend the pool view

2020-05-29 Thread Alwin Antreich
to add the pg_autoscale_mode since its activated in Ceph Octopus by default and emmits a waring (ceph status) if a pool has too many PGs. Also present a nicer formated output on the command line. Signed-off-by: Alwin Antreich --- PVE/API2/Ceph.pm | 25 + PVE/CLI/

[pve-devel] applied: [PATCH] rrd charts: add legend to header for better space usage

2020-05-29 Thread Thomas Lamprecht
Docking the legend to the bottom took space away from the chart, and was the just used as the simplest solution when it was implemented. The panel header has enough spaces for any reasonable number of different series in a chart, so move it there. Drop then the legend toggle tool from the header

Re: [pve-devel] [PATCH manager] ceph: extend the pool view

2020-05-29 Thread Thomas Lamprecht
On 5/29/20 5:12 PM, Alwin Antreich wrote: > to add the pg_autoscale_mode since its activated in Ceph Octopus by > default and emmits a waring (ceph status) if a pool has too many PGs. > Also present a nicer formated output on the command line. this should be its own patch...