Re: [pve-devel] qemu 6 : does proxmox backup handle parallel async chunck backup like the new backup code from qemu 6.0 ?

2021-06-01 Thread Thomas Lamprecht
Hi, On 02.06.21 08:39, aderum...@odiso.com wrote: > I was looking for qemu 6.0 new features, > and it seem that they have implement parallel async chunks backup (and > I think for other block operations, through a new block-copy feature) > > https://github.com/qemu/qemu/commit/71eed4cebed487a4f3c

[pve-devel] qemu 6 : does proxmox backup handle parallel async chunck backup like the new backup code from qemu 6.0 ?

2021-06-01 Thread aderumier
Hi, I was looking for qemu 6.0 new features, and it seem that they have implement parallel async chunks backup (and I think for other block operations, through a new block-copy feature) https://github.com/qemu/qemu/commit/71eed4cebed487a4f3c9f97aba83c611bbe22f8d https://github.com/qemu/qemu/comm

[pve-devel] RE : [PATCH] [PATCH pve-access-control] SSO feature:login with SAMLv2

2021-06-01 Thread wb
> I wonder why you want to store temporary data in /etc/pve/tmp/saml. Wouldn't > it we good enough > to store that on the local file system? On the one hand, I enjoyed reusing your work. On the other hand, I think it is more secure to put this kind of data in /etc/pve/tmp/saml than in /tmp/saml/

[pve-devel] [PATCH container 7/7] api: move-volume: add move to another container

2021-06-01 Thread Aaron Lauterer
The goal of this is to expand the move-volume API endpoint to make it possible to move a container volume / mountpoint to another container. Currently it works for regular mountpoints though it would be nice to be able to do it for unused mounpoints as well. Signed-off-by: Aaron Lauterer --- Thi

[pve-devel] [RFC qemu-server 3/7] cli: qm: change move_disk to move-disk

2021-06-01 Thread Aaron Lauterer
also add alias to keep move_disk working. Signed-off-by: Aaron Lauterer --- PVE/CLI/qm.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PVE/CLI/qm.pm b/PVE/CLI/qm.pm index 1c199b6..60360c8 100755 --- a/PVE/CLI/qm.pm +++ b/PVE/CLI/qm.pm @@ -910,7 +910,8 @@ our $cmddef = {

[pve-devel] [RFC storage 1/7] storage: expose find_free_diskname

2021-06-01 Thread Aaron Lauterer
Signed-off-by: Aaron Lauterer --- PVE/Storage.pm | 8 1 file changed, 8 insertions(+) diff --git a/PVE/Storage.pm b/PVE/Storage.pm index aa36bad..93d09ce 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -201,6 +201,14 @@ sub storage_can_replicate { return $plugin->storage_can_re

[pve-devel] [RFC qemu-server 4/7] Drive: add valid_drive_names_with_unused

2021-06-01 Thread Aaron Lauterer
Signed-off-by: Aaron Lauterer --- PVE/QemuServer/Drive.pm | 4 1 file changed, 4 insertions(+) diff --git a/PVE/QemuServer/Drive.pm b/PVE/QemuServer/Drive.pm index 146a4ab..e6606b0 100644 --- a/PVE/QemuServer/Drive.pm +++ b/PVE/QemuServer/Drive.pm @@ -392,6 +392,10 @@ sub valid_drive_names

[pve-devel] [RFC qemu-server 5/7] api: move-disk: add move to other VM

2021-06-01 Thread Aaron Lauterer
The goal of this is to expand the move-disk API endpoint to make it possible to move a disk to another VM. Previously this was only possible with manual intervertion either by renaming the VM disk or by manually adding the disks volid to the config of the other VM. Signed-off-by: Aaron Lauterer -

[pve-devel] [RFC storage 2/7] add disk rename feature

2021-06-01 Thread Aaron Lauterer
Functionality has been added for the following storage types: * dir based ones * directory * NFS * CIFS * gluster * ZFS * (thin) LVM * Ceph A new feature `rename` has been introduced to mark which storage plugin supports the feature. Version API and AGE have been bumped. Signed-

[pve-devel] [PATCH container 6/7] cli: pct: change move_volume to move-volume

2021-06-01 Thread Aaron Lauterer
also add alias to keep move_volume working Signed-off-by: Aaron Lauterer --- src/PVE/CLI/pct.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PVE/CLI/pct.pm b/src/PVE/CLI/pct.pm index 6b63915..0db23a4 100755 --- a/src/PVE/CLI/pct.pm +++ b/src/PVE/CLI/pct.pm @@ -854,7

[pve-devel] [RFC series 0/7] move disk or volume to other guests

2021-06-01 Thread Aaron Lauterer
This is the continuation of 'disk-reassign' but instead of a separate API endpoint we now follow the approach to make it part of the 'move-disk' and 'move-volume' endpoints for VMs and containers. The main idea is to make it easy to move a disk/volume to another guest. Currently this is a manual a

[pve-devel] applied-series: [PATCH-SERIES v2 manager/access-conrol/docs] fix #3402: add Pool.Audit permission

2021-06-01 Thread Fabian Grünbichler
On May 20, 2021 12:03 pm, Lorenz Stechauner wrote: > Note: compat breaking changes for Pool.Allocate permission > > changes to v1: > * docs patch now included > * `/cluster/resources` now returns pool infomation for guests only if > the requesting user has the Pool.Audit permission on the pool

Re: [pve-devel] [PATCH] [PATCH pve-access-control] SSO feature: login with SAMLv2

2021-06-01 Thread Dietmar Maurer
Unfortunately, your code depends on code not packaged for Debian. Any idea how to replace that (cpanm Net::SAML2)? Or better, is there a 'rust' implementaion for SAML2? If so, we could make perl bindings for that and reuse the code with Proxmox Backup Server. Other ideas? > diff --git a/src/PV

Re: [pve-devel] [PATCH] [PATCH pve-access-control] SSO feature: login with SAMLv2

2021-06-01 Thread Dietmar Maurer
I wonder why you want to store temporary data in /etc/pve/tmp/saml. Wouldn't it we good enough to store that on the local file system? > On 05/27/2021 11:55 PM Julien BLAIS wrote: > > > Added a new endpoint usable by api2/html/access/saml?realm=$DOM > which allows to initiate a redirection