[pve-devel] applied: [PATCH docs] ceph: add warning for min_size 1

2020-10-30 Thread Thomas Lamprecht
On 27.10.20 18:12, Alwin Antreich wrote: > Signed-off-by: Alwin Antreich > --- > pveceph.adoc | 4 > 1 file changed, 4 insertions(+) > > applied, thanks! ___ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/m

[pve-devel] applied: [PATCH storage v4 2/2] Diskmanage: Use S.M.A.R.T. attributes for SSDs wearout lookup

2020-10-30 Thread Thomas Lamprecht
On 30.10.20 04:57, Jan-Jonas Sämann wrote: > This replaces a locally maintained hardware map in > get_wear_leveling_info() by commonly used register names of > smartmontool. Smartmontool maintains a labeled register database that > contains a majority of drives (including versions). The current loo

Re: [pve-devel] [docs: ] [PATCH pve-docs] add properties to execute in api-viewer

2020-10-30 Thread Fabian Grünbichler
On October 30, 2020 3:17 pm, Moayad Almalat wrote: > Signed-off-by: Moayad Almalat > > * when clicked on "execute" in api-view the page not handling. > * In browser console printed this error: > 'TypeError: Cannot read property 'properties' of undefined' > * https://forum.proxmox.com/threads/api-

[pve-devel] applied: [PATCH storage v4 1/2] Update disk_tests/ssd_smart/sde data

2020-10-30 Thread Thomas Lamprecht
On 30.10.20 04:57, Jan-Jonas Sämann wrote: > Provides recent test data for disk_tests/ssd_smart/sde_smart. The > previous data was created using an older smartmontools version, which > did not yet support the drive and therefore had bogus attribute mapping. > > Signed-off-by: Jan-Jonas Sämann > -

Re: [pve-devel] [pve-docs] Correct the device declaration in the bonding example.

2020-10-30 Thread Thomas Lamprecht
On 30.10.20 10:01, Wolfgang Link wrote: > Signed-off-by: Wolfgang Link > --- > pve-network.adoc | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/pve-network.adoc b/pve-network.adoc > index 294c201..692326f 100644 > --- a/pve-network.adoc > +++ b/pve-network.adoc > @@ -

[pve-devel] applied: [PATCH proxmox-backup-qemu] update to proxmox 0.6/proxmox-backup 0.9.4

2020-10-30 Thread Thomas Lamprecht
On 30.10.20 10:55, Fabian Grünbichler wrote: > and implement the switch to Authid, which means API token support for > free. > > Signed-off-by: Fabian Grünbichler > --- > Cargo.toml | 4 ++-- > src/backup.rs | 2 +- > src/lib.rs | 8 > src/restore.rs | 2 +- > 4 files changed,

[pve-devel] [docs: ] [PATCH pve-docs] add properties to execute in api-viewer

2020-10-30 Thread Moayad Almalat
Signed-off-by: Moayad Almalat * when clicked on "execute" in api-view the page not handling. * In browser console printed this error: 'TypeError: Cannot read property 'properties' of undefined' * https://forum.proxmox.com/threads/api-browse-execute-returns-error.78257/ --- api-viewer/apidata.js

[pve-devel] applied: [PATCH pmg-gui 1/1] Utils: add product specific task descriptions

2020-10-30 Thread Thomas Lamprecht
On 30.10.20 14:02, Dominik Csapak wrote: > Signed-off-by: Dominik Csapak > --- > js/Utils.js | 9 + > 1 file changed, 9 insertions(+) > > applied, thanks! ___ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-b

[pve-devel] applied: [PATCH proxmox-backup 1/1] ui: Utils: add product specific task descriptions

2020-10-30 Thread Thomas Lamprecht
On 30.10.20 14:02, Dominik Csapak wrote: > and sort them alphabetically > > Signed-off-by: Dominik Csapak > --- > www/Utils.js | 13 - > 1 file changed, 8 insertions(+), 5 deletions(-) > > applied, thanks! ___ pve-devel mailing list pve

[pve-devel] applied: [PATCH manager 1/1] ui: Utils: add product specific task descriptions

2020-10-30 Thread Thomas Lamprecht
On 30.10.20 14:02, Dominik Csapak wrote: > move them from widget-toolkit to here > i took the chance, and sorted them alphabetically > > Signed-off-by: Dominik Csapak > --- > www/manager6/Utils.js | 85 +++ > 1 file changed, 85 insertions(+) > > applied,

[pve-devel] [PATCH manager 1/1] ui: Utils: add product specific task descriptions

2020-10-30 Thread Dominik Csapak
move them from widget-toolkit to here i took the chance, and sorted them alphabetically Signed-off-by: Dominik Csapak --- www/manager6/Utils.js | 85 +++ 1 file changed, 85 insertions(+) diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js index bf9

[pve-devel] [PATCH proxmox-backup 1/1] ui: Utils: add product specific task descriptions

2020-10-30 Thread Dominik Csapak
and sort them alphabetically Signed-off-by: Dominik Csapak --- www/Utils.js | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/www/Utils.js b/www/Utils.js index 58319345..6c890659 100644 --- a/www/Utils.js +++ b/www/Utils.js @@ -97,17 +97,20 @@ Ext.define('PBS.Util

[pve-devel] [PATCH pmg-gui 1/1] Utils: add product specific task descriptions

2020-10-30 Thread Dominik Csapak
Signed-off-by: Dominik Csapak --- js/Utils.js | 9 + 1 file changed, 9 insertions(+) diff --git a/js/Utils.js b/js/Utils.js index e730a3e..90637ca 100644 --- a/js/Utils.js +++ b/js/Utils.js @@ -822,5 +822,14 @@ Ext.define('PMG.Utils', { var me = this; // do whatever you

[pve-devel] [PATCH widget-toolkit 1/1] Utils: remove product specific task descriptions

2020-10-30 Thread Dominik Csapak
we use 'override_task_descriptions' in the specific products to add the ones that are not used everywhere took the chance and sorted the remaining alphabetically Signed-off-by: Dominik Csapak --- src/Utils.js | 89 +++- 1 file changed, 5 insertion

[pve-devel] [PATCH widget-toolkit/manager/pmg-gui/proxmox-backup] move task descriptions

2020-10-30 Thread Dominik Csapak
these patches moves the task descriptions to their product specific Utils.js file (and add some that are missing) we want this, because we want a list of relevant tasks for each product in the ui (e.g. to filter by them) the widget-toolkit update does not really 'break' the other (old) packages,

[pve-devel] [PATCH widget-toolkit] InputPanel: fix column scaling behavior

2020-10-30 Thread Aaron Lauterer
When scaling the browsers content either via the browser itself or because the OS has a different scaling / DPI setting, it can happen that not all columns have enough space next to each other and thus the last column is moved further below. This happens especially on chromium bases browsers (e.g.

[pve-devel] [PATCH manager] ui: fix column behavior with browser scaling

2020-10-30 Thread Aaron Lauterer
especially on chromium based browser (e.g. chrome, edge) it can happen, depending on the zoom level, that the last column does not fit next to the other columns and is moved below the other columns. This results in an ugly looking UI and in the worst case makes it unusable. This can also be trigg

Re: [pve-devel] [PATCH v4 serries 0/4] disk reassign: add new feature

2020-10-30 Thread Aaron Lauterer
Does anyone have time to take a look at the latest iteration of these patches? Thx :) On 10/2/20 10:23 AM, Aaron Lauterer wrote: This series implements a new feature which allows users to easily reassign disks between VMs. Currently this is only possible with one of the following manual steps:

[pve-devel] [PATCH proxmox-backup-qemu] update to proxmox 0.6/proxmox-backup 0.9.4

2020-10-30 Thread Fabian Grünbichler
and implement the switch to Authid, which means API token support for free. Signed-off-by: Fabian Grünbichler --- Cargo.toml | 4 ++-- src/backup.rs | 2 +- src/lib.rs | 8 src/restore.rs | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.

[pve-devel] [PATCH pve-container 3/3] cgroup: get_subdir: return cgroupv2 path for undef controller

2020-10-30 Thread Alexandre Derumier
--- src/PVE/LXC/CGroup.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PVE/LXC/CGroup.pm b/src/PVE/LXC/CGroup.pm index 19562c2..74d84c4 100644 --- a/src/PVE/LXC/CGroup.pm +++ b/src/PVE/LXC/CGroup.pm @@ -35,6 +35,7 @@ sub get_subdir { my $path = $entry->{$kind}; return $path

[pve-devel] [PATCH qemu-server 1/3] add PVE::QemuServer::Cgroup

2020-10-30 Thread Alexandre Derumier
--- PVE/QemuServer/CGroup.pm | 25 + PVE/QemuServer/Makefile | 1 + 2 files changed, 26 insertions(+) create mode 100644 PVE/QemuServer/CGroup.pm diff --git a/PVE/QemuServer/CGroup.pm b/PVE/QemuServer/CGroup.pm new file mode 100644 index 000..7ca0826 --- /dev/null +

[pve-devel] [PATCH pve-common 4/4] systemd: add CPUWeight encoding

2020-10-30 Thread Alexandre Derumier
--- src/PVE/Systemd.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/Systemd.pm b/src/PVE/Systemd.pm index 85b35a3..ed13a60 100644 --- a/src/PVE/Systemd.pm +++ b/src/PVE/Systemd.pm @@ -105,7 +105,7 @@ sub enter_systemd_scope { foreach my $key (keys %extra) {

[pve-devel] [PATCH pve-container 2/3] use PVE::CGroup

2020-10-30 Thread Alexandre Derumier
--- src/PVE/LXC.pm| 7 --- src/lxc-pve-prestart-hook | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index 9c150d9..5cfcf28 100644 --- a/src/PVE/LXC.pm +++ b/src/PVE/LXC.pm @@ -33,6 +33,7 @@ use PVE::GuestHelpers qw(safe_string

[pve-devel] [PATCH qemu-server 2/3] replace cgroups_write by cgroup change_cpu_shares && change_cpu_quota

2020-10-30 Thread Alexandre Derumier
--- PVE/QemuServer.pm | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 20e284c..1fd6338 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -27,6 +27,7 @@ use URI::Escape; use UUID; use PVE::Cluster qw(cf

[pve-devel] [PATCH pve-common 2/4] Cgroups: remove specific lxc code

2020-10-30 Thread Alexandre Derumier
--- src/PVE/CGroup.pm | 46 -- 1 file changed, 4 insertions(+), 42 deletions(-) diff --git a/src/PVE/CGroup.pm b/src/PVE/CGroup.pm index 7e12af9..f542b3a 100644 --- a/src/PVE/CGroup.pm +++ b/src/PVE/CGroup.pm @@ -22,8 +22,6 @@ use PVE::Tools qw( fi

[pve-devel] [PATCH pve-container 1/3] Cgroups: use base PVE::CGroup and keep specific lxc code

2020-10-30 Thread Alexandre Derumier
--- src/PVE/LXC/CGroup.pm | 532 +- 1 file changed, 3 insertions(+), 529 deletions(-) diff --git a/src/PVE/LXC/CGroup.pm b/src/PVE/LXC/CGroup.pm index 6710843..19562c2 100644 --- a/src/PVE/LXC/CGroup.pm +++ b/src/PVE/LXC/CGroup.pm @@ -12,155 +12,10 @@ packa

[pve-devel] [PATCH pve-common 1/4] move PVE::LXC::CGroup to PVE::CGroup

2020-10-30 Thread Alexandre Derumier
--- src/Makefile | 1 + src/PVE/CGroup.pm | 582 ++ 2 files changed, 583 insertions(+) create mode 100644 src/PVE/CGroup.pm diff --git a/src/Makefile b/src/Makefile index 1987d0e..b2a4ac6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -13,6 +13

[pve-devel] [PATCH qemu-server 3/3] systemd scope: add CPUWeight for cgroupv2

2020-10-30 Thread Alexandre Derumier
--- PVE/QemuServer.pm | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 1fd6338..af74d64 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -5064,10 +5064,15 @@ sub vm_start_nolock { my %properties = ( Sli

[pve-devel] [PATCH pve-common 0/4] add generic CGroup module

2020-10-30 Thread Alexandre Derumier
This move Cgroup module from LXC to pve-common, to be able to use it in qemu-server too. (and add support for cgroupv2 only for qemu) I have also included a bugfix for cpushares from cgroup v1, when value is not defined,it's currently set to 100 instead 1024. (can be trigerred by pct --delete cpuu

[pve-devel] [PATCH pve-container 0/3] use generic CGroup module

2020-10-30 Thread Alexandre Derumier
following pve-common patch series Alexandre Derumier (3): Cgroups: use base PVE::CGroup and keep specific lxc code use PVE::CGroup cgroup: get_subdir: return cgroupv2 path for undef controller src/PVE/LXC.pm| 7 +- src/PVE/LXC/CGroup.pm | 533 +

[pve-devel] [PATCH qemu-server 0/3] use generic CGroup module

2020-10-30 Thread Alexandre Derumier
following pve-common patch series Alexandre Derumier (3): add PVE::QemuServer::Cgroup replace cgroups_write by cgroup change_cpu_shares && change_cpu_quota systemd scope: add CPUWeight for cgroupv2 PVE/QemuServer.pm| 28 ++-- PVE/QemuServer/CGroup.pm | 25 ++

[pve-devel] [PATCH pve-common 3/4] bugfix: cpushares : default value is 1024 for cgroup v1

2020-10-30 Thread Alexandre Derumier
Currently if we delete cpuunit (undef), the default value is 100 --- src/PVE/CGroup.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/CGroup.pm b/src/PVE/CGroup.pm index f542b3a..4823be2 100644 --- a/src/PVE/CGroup.pm +++ b/src/PVE/CGroup.pm @@ -465,7 +465,7 @@ sub cha

[pve-devel] [pve-docs] Correct the device declaration in the bonding example.

2020-10-30 Thread Wolfgang Link
Signed-off-by: Wolfgang Link --- pve-network.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pve-network.adoc b/pve-network.adoc index 294c201..692326f 100644 --- a/pve-network.adoc +++ b/pve-network.adoc @@ -355,6 +355,8 @@ iface eno1 inet manual iface eno2 inet ma