From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <pve-devel-bounces@lists.proxmox.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9])
	by lore.proxmox.com (Postfix) with ESMTPS id C7DA61FF16F
	for <inbox@lore.proxmox.com>; Tue, 15 Apr 2025 13:17:02 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
	by firstgate.proxmox.com (Proxmox) with ESMTP id B51A7620D;
	Tue, 15 Apr 2025 13:17:01 +0200 (CEST)
Date: Tue, 15 Apr 2025 11:55:28 +0200
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
X-Mailman-Approved-At: Tue, 15 Apr 2025 13:17:00 +0200
MIME-Version: 1.0
Message-ID: <mailman.1000.1744715821.359.pve-devel@lists.proxmox.com>
List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com>
List-Post: <mailto:pve-devel@lists.proxmox.com>
From: Max Schettler via pve-devel <pve-devel@lists.proxmox.com>
Precedence: list
Cc: Max Schettler <max@simplyblock.io>
X-Mailman-Version: 2.1.29
X-BeenThere: pve-devel@lists.proxmox.com
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/>
Reply-To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help>
Subject: [pve-devel] Migration of VM/Container on custom storage type
Content-Type: multipart/mixed; boundary="===============3730581823996427232=="
Errors-To: pve-devel-bounces@lists.proxmox.com
Sender: "pve-devel" <pve-devel-bounces@lists.proxmox.com>

--===============3730581823996427232==
Content-Type: message/rfc822
Content-Disposition: inline

Return-Path: <max@simplyblock.io>
X-Original-To: pve-devel@lists.proxmox.com
Delivered-To: pve-devel@lists.proxmox.com
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by lists.proxmox.com (Postfix) with ESMTPS id DF24AD5144
	for <pve-devel@lists.proxmox.com>; Tue, 15 Apr 2025 11:55:38 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
	by firstgate.proxmox.com (Proxmox) with ESMTP id BF449392B
	for <pve-devel@lists.proxmox.com>; Tue, 15 Apr 2025 11:55:38 +0200 (CEST)
Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by firstgate.proxmox.com (Proxmox) with ESMTPS
	for <pve-devel@lists.proxmox.com>; Tue, 15 Apr 2025 11:55:37 +0200 (CEST)
Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-ac28e66c0e1so808954066b.0
        for <pve-devel@lists.proxmox.com>; Tue, 15 Apr 2025 02:55:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=simplyblock.io; s=google; t=1744710931; x=1745315731; darn=lists.proxmox.com;
        h=content-transfer-encoding:subject:from:to:content-language
         :user-agent:mime-version:date:message-id:from:to:cc:subject:date
         :message-id:reply-to;
        bh=BhwaCUDcObg/dhj03E28mqNk/75dbbXc5TY5be8uLWE=;
        b=Bm881g5OzO67R90diRbZYBlzMtpd5kO6Wphc9I/GvJ20tC4eid6svYORfu4/Vtx8y+
         9YblHzdGtU/V1vPCWNLElKCGN2LhUMjKBdGI84mfcOdqNT2YhkNNUcgRGQnazLd41C7F
         jLfoepBuaELy7cSV+gMggaYue8VsiWBDnNS8t0vbl1Xv3B/HdTR/kS0DzeuNcQAOq23W
         GOUQE4limTlkDlPyomaAKJNtYwCRsffsQufNi75WbX0JlEEQSUh/FaR0O8LGRPdWf+pY
         TmKWsQykvrnno6WSZpgm7wavBZticsUd5hcixcN+snbn5eAZu/eF91QQHPN43RUQUHan
         SEXQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1744710931; x=1745315731;
        h=content-transfer-encoding:subject:from:to:content-language
         :user-agent:mime-version:date:message-id:x-gm-message-state:from:to
         :cc:subject:date:message-id:reply-to;
        bh=BhwaCUDcObg/dhj03E28mqNk/75dbbXc5TY5be8uLWE=;
        b=QURa2JcN9wPf0iLOYfEwXLddvqOe35IjlD0x7uhNCrb6bcNZh5Aep6oflw0KVc8Kac
         KJSWKOhQVUogaFCRrlR96kb0qCqYaMDa29Yjc9JHwW1YHW+g7ysyEy87B7ACO9KrHHlc
         YL9z6fkO43t4nXIEgedSbqGAjhambsdeEdiHjaVTC2ZI9kyCZa9KJT97Ve56w0u+TrLq
         XlBIK20Luo37ZtiwBGvZpCohyDxXDhI8CoajNSgMal0tcDFDWSUIblC15FIqSIpGGXmu
         E3DOSW0QSIMr0NOYzBcM//aJ9UiPOJCsPRNvNMnpjgXTqvi6i3FdGTvfJHgTEen5KprA
         emPw==
X-Gm-Message-State: AOJu0YxGdurnIykx0Vwi7Y2KZUC3BcB4Cop/P28uVZaASROCVuzXr+Dk
	WwN99K4uNStEloZ/ZMQAtSe/cVxPyUUMXypW8DK9DIvRwls528fCoj2pg0X5GdcnLi/lJVggUPC
	0
X-Gm-Gg: ASbGncuJwcalPSjd+wT8BU3dOout/W5mwFj0U+mk7dpqOuE9oDapI3RRmBotlbJnT9q
	2DHb/dhF/eC8BRdYKorem588qKOUnsaaWLK4djKTyzcBq/V+OOaNI3dp+nxbcRyULXzuXJ5/GAo
	knvKqc+fkv+DgTcSJO8b3V0mCM8QKmLXpMp835bJZHMnw3gGXRVrinbSvrzMy1EWJORvhrWDdvU
	Iw7lCp4QmXQOU5WUDqphMQhwlEV7ljtmra9e/2BqeSKtG8zsuI0W+eHEnuQhVRZtDCpI0kzq/UO
	jORe+At4VL2wOHh7dkOPk20TnZCTAlLC4CKmVkF0ud/hNw==
X-Google-Smtp-Source: AGHT+IFUlPZh0FmtbdaeU7xkK62HZTDgeVgvcKYmW8RK9hC7CEzLCqtmLxWu3fo6rxPsRaKxwTSBnQ==
X-Received: by 2002:a17:907:60c8:b0:abf:4bde:51b1 with SMTP id a640c23a62f3a-acad348809bmr1264632566b.21.1744710930925;
        Tue, 15 Apr 2025 02:55:30 -0700 (PDT)
Received: from [192.168.179.132] ([95.91.242.155])
        by smtp.gmail.com with ESMTPSA id a640c23a62f3a-acaa1bee20asm1053229566b.73.2025.04.15.02.55.30
        for <pve-devel@lists.proxmox.com>
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Tue, 15 Apr 2025 02:55:30 -0700 (PDT)
Message-ID: <48b4f31c-c8dd-44bf-9dc3-3dd478b3bb08@simplyblock.io>
Date: Tue, 15 Apr 2025 11:55:28 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
From: Max Schettler <max@simplyblock.io>
Subject: Migration of VM/Container on custom storage type
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-SPAM-LEVEL: Spam detection results:  0
	BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
	DKIM_SIGNED               0.1 Message has a DKIM or DK signature, not necessarily valid
	DKIM_VALID               -0.1 Message has at least one valid DKIM or DK signature
	DKIM_VALID_AU            -0.1 Message has a valid DKIM or DK signature from author's domain
	DKIM_VALID_EF            -0.1 Message has a valid DKIM or DK signature from envelope-from domain
	DMARC_PASS               -0.1 DMARC pass policy
	RCVD_IN_DNSWL_NONE     -0.0001 Sender listed at https://www.dnswl.org/, no trust
	SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
	SPF_PASS               -0.001 SPF: sender matches SPF record
	URIBL_BLOCKED           0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked.  See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [simplyblock.io]
X-Mailman-Approved-At: Tue, 15 Apr 2025 13:17:00 +0200

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 providing not being supported.

Looking at the source, it seems like there is a whitelist of 
storagetypes, and no feature check like e.g. for snapshotting. Am I 
right to assume there is currently no way of providing a storage backend 
that can use this functionality? Are there details beyond this check 
that prevent this possibility?

If I am reading the code correctly, are there plans to extend the Plugin 
API s.t. it becomes an option? Providing this feature would be an 
important addition to our plugin.

Thanks in advance &
kind regards
Max



--===============3730581823996427232==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

--===============3730581823996427232==--