[pve-devel] [PATCH manager 2/2] ceph: add option pg_autoscale_mode on pool create

2020-10-14 Thread Alwin Antreich
Different defaults for nautilus (warn) and octopus (on), more conservative setting used. Signed-off-by: Alwin Antreich --- PVE/API2/Ceph.pm | 8 1 file changed, 8 insertions(+) diff --git a/PVE/API2/Ceph.pm b/PVE/API2/Ceph.pm index 48d0484f..f8b1b22f 100644 --- a/PVE/API2/Ceph.pm +++ b

[pve-devel] [PATCH manager 1/2] ceph: split out pool set into own method

2020-10-14 Thread Alwin Antreich
to reduce code duplication and make it easier to add more options for pool commands. Signed-off-by: Alwin Antreich --- PVE/API2/Ceph.pm | 17 +++ PVE/Ceph/Tools.pm | 74 +-- 2 files changed, 52 insertions(+), 39 deletions(-) diff --git a/PVE/

[pve-devel] [PATCH qemu-server] fix typos

2020-10-14 Thread Fabian Ebner
Signed-off-by: Fabian Ebner --- PVE/QemuServer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 2747c66..c43e8ec 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -6398,7 +6398,7 @@ sub restore_tar_archive { if ($arc

[pve-devel] [PATCH-SERIES] remove replicated volumes on guest purge

2020-10-14 Thread Fabian Ebner
Introduces two helper functions in Replication.pm and ReplicationConfig.pm so that the guests can do the removal easily. destroy_vm contains a check whether the guest is still in use by a linked clone (in the LXC case triggered by the storage backend at vdisk_free), so that needs to happen first.

[pve-devel] [PATCH qemu-server 2/5] remove replicated volumes on purge

2020-10-14 Thread Fabian Ebner
Signed-off-by: Fabian Ebner --- PVE/API2/Qemu.pm | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 8da616a..c6b1088 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -17,6 +17,7 @@ use PVE::Exception qw(raise raise_param_

[pve-devel] [PATCH guest-common 4/5] remove the now unused remove_vmid_jobs

2020-10-14 Thread Fabian Ebner
Signed-off-by: Fabian Ebner --- I *think* that I have all the repositiories where this would potentially be used, but please double check that there are no users of this anywhere. PVE/ReplicationConfig.pm | 14 -- 1 file changed, 14 deletions(-) diff --git a/PVE/ReplicationConfig.p

[pve-devel] [PATCH guest-common 1/5] add list_local_jobs and run_full_removal functions

2020-10-14 Thread Fabian Ebner
helpful for removing replicated volumes when purging a guest. Signed-off-by: Fabian Ebner --- PVE/Replication.pm | 11 +++ PVE/ReplicationConfig.pm | 7 +++ 2 files changed, 18 insertions(+) diff --git a/PVE/Replication.pm b/PVE/Replication.pm index 132e8bb..a2138fc 100644 --

[pve-devel] [PATCH container 3/5] remove replicated volumes on purge

2020-10-14 Thread Fabian Ebner
Signed-off-by: Fabian Ebner --- src/PVE/API2/LXC.pm | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm index 9ecfb12..9fc7d98 100644 --- a/src/PVE/API2/LXC.pm +++ b/src/PVE/API2/LXC.pm @@ -15,6 +15,7 @@ use PVE::Firewall; use P

[pve-devel] [PATCH guest-common 5/5] cleanup: iterate over values in find_local_replication_job

2020-10-14 Thread Fabian Ebner
Signed-off-by: Fabian Ebner --- PVE/ReplicationConfig.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/PVE/ReplicationConfig.pm b/PVE/ReplicationConfig.pm index a220594..343ad2a 100644 --- a/PVE/ReplicationConfig.pm +++ b/PVE/ReplicationConfig.pm @@ -218,9 +218,7 @@ sub c

[pve-devel] applied-series: [PATCH docs 1/2] move footnote of Ceph's intro into TIP section

2020-10-14 Thread Thomas Lamprecht
On 25.09.20 14:51, Alwin Antreich wrote: > Signed-off-by: Alwin Antreich > --- > Note: The footnote in the title section broke the link building for that > footnote when used with a variable on the beginning of the url. > The parser seems to look for an http(s) and considers it text >