[pve-devel] [PATCH installer 1/2] fix #3188: update hdsize spin-button on disk-selection change

2022-04-19 Thread Stoiko Ivanov
the patch splits get_hdsize_spinbtn into a sub for generating the adjustment gtk-element and one for the button itself and moves them above create_raid_disk_raid (so that the adjustment sub can be called) The adjustment gets it's data from the disks selected for installation in the GUI, if a size

[pve-devel] [PATCH installer 2/2] fix #3587: make hdsize configurable for btrfs setups

2022-04-19 Thread Stoiko Ivanov
as described in the bug-entry it is still not possible to have a swapfile on general btrfs setups (only on single disk (single data profile - documented in [0,1], and my quick tests confirmed it). Users who still need/want swap can now set a hdsize smaller than their disk-size to keep a part unpar

[pve-devel] [PATCH installer 0/2] fix 2 bugs related to hdsize selection

2022-04-19 Thread Stoiko Ivanov
noticed that these 2 bugs were still open in bugzilla (and assigned to me). The issues are independent of each other - but the fixes touch the same part of the code - hence I'm sending them in a common series. roughly tested with a VM (scp'ing the updated proxinstall from the second debug shell)

Re: [pve-devel] MooseFS storage plugin

2022-04-19 Thread Benjamin via pve-devel
--- Begin Message --- Indeed, right now everything could be covered by the directory plugin. I plan to add snapshots via mfssnapshot and some other features. On Tue, Apr 19, 2022, 6:14 PM Fabian Grünbichler wrote: > On April 19, 2022 4:15 am, Benjamin via pve-devel wrote: > > I've hacked togeth

Re: [pve-devel] MooseFS storage plugin

2022-04-19 Thread Fabian Grünbichler
On April 19, 2022 4:15 am, Benjamin via pve-devel wrote: > I've hacked together a really basic first try. > > https://github.com/Zorlin/pve-moosefs/blob/main/MooseFSPlugin.pm > > I'm getting this error which I don't fully understand - > > Can't locate object method "mkpath" via package "/mnt/mfs

Re: [pve-devel] [RFC container] api: create: disallow passing along existing disk for restore

2022-04-19 Thread Fabian Grünbichler
On April 11, 2022 12:39 pm, Fabian Ebner wrote: > For VMs, the plan is to allow passing along disk options (with the > currently configured disks) for a restore operation to cause those > disks to be kept instead of removing and restoring them from backup. > Users might expect the same behavior for

[pve-devel] [PATCH installer] fix #3817: Xorg configuration

2022-04-19 Thread Maximilian Hill via pve-devel
--- Begin Message --- Automatic actions taken before xinit: - Disable glx and glamoregl - Replace driver modesetting by fbdevfix Xorg configuration Signed-off-by: Maximilian Hill --- unconfigured.sh | 6 ++ 1 file changed, 6 insertions(+) diff --git a/unconfigured.sh b/unconfigured.sh index

[pve-devel] [PATCH manager 2/2] fix #3955: vzdump: new: also send mail for error during job-init hook

2022-04-19 Thread Fabian Ebner
Signed-off-by: Fabian Ebner --- PVE/VZDump.pm | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm index bdf270f7..3a394db7 100644 --- a/PVE/VZDump.pm +++ b/PVE/VZDump.pm @@ -497,13 +497,6 @@ sub new { $opts->{storage} = 'loc

[pve-devel] [PATCH manager 1/2] vzdump: new: add add_error helper

2022-04-19 Thread Fabian Ebner
Signed-off-by: Fabian Ebner --- PVE/VZDump.pm | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm index f34a5969..bdf270f7 100644 --- a/PVE/VZDump.pm +++ b/PVE/VZDump.pm @@ -505,19 +505,21 @@ sub new { PVE::Cluster::cfs_updat

Re: [pve-devel] MooseFS storage plugin

2022-04-19 Thread Benjamin via pve-devel
--- Begin Message --- Hi Thomas, thanks for the reply! (Sorry, re-sending as I forgot to reply all) On Tue, Apr 19, 2022, 4:13 PM Thomas Lamprecht wrote: For Storage plugins the basic rules to be considered included are: * Plugin code itself must be AGPLv3, if it's self written that'd be already

Re: [pve-devel] MooseFS storage plugin

2022-04-19 Thread Thomas Lamprecht
Hi, > On Tue, Apr 19, 2022 at 3:49 AM Benjamin via pve-devel >> I'd like to try developing a MooseFS storage plugin for Proxmox, ideally >> getting it good enough to be A) included by the project B) supported in >> some way by the MooseFS folks. For Storage plugins the basic rules to be considere