Re: [pve-devel] [PATCH container v2 03/11] alloc_disk: fail fast if storage does not support content type rootdir

2025-04-16 Thread Wolfgang Bumiller
On Tue, Apr 15, 2025 at 04:19:10PM +0200, Fabian Grünbichler wrote: > On April 15, 2025 3:31 pm, Wolfgang Bumiller wrote: > > On Tue, Apr 15, 2025 at 02:27:24PM +0200, Daniel Kral wrote: > >> On 2/20/25 13:15, Fiona Ebner wrote: > >> > I also noticed that we have no check against starting a contain

Re: [pve-devel] [PATCH manager] pveproxy: create log directory when starting

2025-04-16 Thread Fabian Grünbichler
On April 15, 2025 11:38 am, Maximiliano Sandoval wrote: > We only create this directory while installing the package. If a user > deletes /var/log then they will lose access to the web UI. until the reinstall or upgrade the package? > Signed-off-by: Maximiliano Sandoval > --- > bin/pveproxy | 1

[pve-devel] [PATCH v1 pve-storage 1/2] example: sshfs plugin: add custom storage plugin for SSHFS

2025-04-16 Thread Max Carrara
This commit adds an example implementation of a custom storage plugin that uses SSHFS [0] as the underlying filesystem. The implementation is very similar to that of the NFS plugin; as a prerequisite, it is currently necessary to use pubkey auth and have the host's root user's public key deployed

[pve-devel] [PATCH v1 pve-storage 2/2] example: sshfs plugin: package SSHFSPlugin.pm

2025-04-16 Thread Max Carrara
Package the new SSHFS plugin separately from the libpve-storage-perl source. This avoids mixing up the example packaging code with the pre-existing one. Note that the Makefile this commit adds currently isn't being called by the top-level one in the repository root. Signed-off-by: Max Carrara --

[pve-devel] [PATCH v1 pve-storage 0/2] SSHFS Example Storage Plugin

2025-04-16 Thread Max Carrara
SSHFS Example Storage Plugin - v1 = Add a custom storage plugin based on SSHFS [0] to serve as an example for an upcoming storage plugin development guide. This plugin should also be ready for production usage, though it would be nice to get some more testing (and p

[pve-devel] [PATCH 2/2] Suppport for LDAP PosixGroups->memberUid

2025-04-16 Thread Till Riedel via pve-devel
--- Begin Message --- Signed-off-by: Till Riedel --- src/PVE/Auth/LDAP.pm | 4 1 file changed, 4 insertions(+) diff --git a/src/PVE/Auth/LDAP.pm b/src/PVE/Auth/LDAP.pm index bf7e968..ff05f02 100755 --- a/src/PVE/Auth/LDAP.pm +++ b/src/PVE/Auth/LDAP.pm @@ -383,6 +383,10 @@ sub get_groups {

[pve-devel] Support for LDAP PosixGroup->memberUid

2025-04-16 Thread Till Riedel via pve-devel
--- Begin Message --- A very naive simple patch that allows us to use our memberUid based LDAP groups in PVE --- End Message --- ___ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] superseded: [RFC v1 pve-storage 1/2] (rfc) example: sshfs plugin: add custom storage plugin for sshfs

2025-04-16 Thread Max Carrara
On Fri Mar 28, 2025 at 6:12 PM CET, Max Carrara wrote: > This commit adds a rudimentary implementation of a custom storage > plugin that uses sshfs [1] as the underlying filesystem. Superseded-by v1: https://lore.proxmox.com/pve-devel/20250416124735.320256-1-m.carr...@proxmox.com/

[pve-devel] [PATCH manager v2] pveproxy: create log directory when starting

2025-04-16 Thread Maximiliano Sandoval
We only create this directory while installing or upgrading the package. If a user deletes /var/log then they will lose access to the web UI until they either reinstall or upgrade pve-manager. Signed-off-by: Maximiliano Sandoval --- Differences from v1: - Unconditionally call mkdir+chown if ro

Re: [pve-devel] [PATCH manager] pveproxy: create log directory when starting

2025-04-16 Thread Maximiliano Sandoval
Fabian Grünbichler writes: > On April 15, 2025 11:38 am, Maximiliano Sandoval wrote: >> We only create this directory while installing the package. If a user >> deletes /var/log then they will lose access to the web UI. > > until the reinstall or upgrade the package? > >> Signed-off-by: Maximili

Re: [pve-devel] Migration of VM/Container on custom storage type

2025-04-16 Thread Fabian Grünbichler
> Max Schettler via pve-devel hat am 15.04.2025 > 11:55 CEST geschrieben: > Hi, > > I'm developing a Proxmox storage plugin. Trying to use the > high-availability features or migrating VMs/Containers to another > hypervisor in the cluster I get error messages about the storage type > I'm pr

[pve-devel] applied: [PATCH qemu-server] fix #6317: backup: use correct cleanup_fleecing_images helper

2025-04-16 Thread Fabian Grünbichler
On Mon, 14 Apr 2025 13:59:53 +0200, Wolfgang Bumiller wrote: > The local one is specific for `allocate_fleecing_images` and has a > comment stating to use the one from `PVE::QemuConfig` in all other > cases. > > The `cleanup` sub already called this, but only if the VM was running. > We do allocat