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 6ABB61FF15E
	for <inbox@lore.proxmox.com>; Tue, 25 Feb 2025 15:21:40 +0100 (CET)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
	by firstgate.proxmox.com (Proxmox) with ESMTP id A50641EBA5;
	Tue, 25 Feb 2025 15:21:37 +0100 (CET)
Mime-Version: 1.0
Date: Tue, 25 Feb 2025 15:21:03 +0100
Message-Id: <D81LDAVUU344.3OSB37ZBXEIUN@proxmox.com>
To: "Seth Cagampang" <seth.cagampang@osnexus.com>,
 <pve-devel@lists.proxmox.com>
From: "Max Carrara" <m.carrara@proxmox.com>
X-Mailer: aerc 0.18.2-0-ge037c095a049
References: <CABaJVXMO3Fe_6ZT5peMvONvDh2WKNMTp3Z8FRL5iLcDA6N0Gfg@mail.gmail.com>
In-Reply-To: <CABaJVXMO3Fe_6ZT5peMvONvDh2WKNMTp3Z8FRL5iLcDA6N0Gfg@mail.gmail.com>
X-SPAM-LEVEL: Spam detection results:  0
 AWL 0.074 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DMARC_MISSING             0.1 Missing DMARC policy
 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment
 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. [quantastorplugin.pm, proxmox.com]
Subject: Re: [pve-devel] QuantaStor PVE plugin
X-BeenThere: pve-devel@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com>
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/>
List-Post: <mailto:pve-devel@lists.proxmox.com>
List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe>
Reply-To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: pve-devel-bounces@lists.proxmox.com
Sender: "pve-devel" <pve-devel-bounces@lists.proxmox.com>

On Mon Feb 24, 2025 at 7:41 PM CET, Seth Cagampang wrote:
> To Whom It May Concern,
>
> My name is Seth, I am a Sr. Engineer at OSNEXUS. We have a storage solution
> called QuantaStor that we are developing a storage plug-in for proxmox PVE.
> The idea is to serve ZFS volumes from a QuantaStor node to the PVE via
> iscsi. I have been hacking away at a QuantaStorPlugin.pm module, using
> existing modules as examples. I have implemented the scan (QuantaStor ZFS
> Pools), add (storage config), and remove (storage config) commands. Running
> into various snags in development, and would like to learn more about
> proxmox storage modules to make sure the QuantaStor plug-in is implemented
> correctly.
>
> Would love to start a dialog with the proxmox team or other plugin devs, to
> ensure I'm on the right track. Any advice on development for production
> level proxmox plugins would be greatly appreciated.

Hello! Thanks for reaching out!

Great that you're developing your own plugin -- we're actually in the
process of cleaning up some of the storage plugin API. We hope that
plugin development will be a bit easier in the future.

Since you're already quite far with the development of your plugin, I
assume you're already familiar with our wiki page regarding storage
plugin development [wiki]. If not, I recommend having a look. The page
will be expanded in the future, so it would be beneficial to keep it
bookmarked, too.

I can have a little look at your plugin if you link its git repository
here. Note that we do *not* offer paid support or development work, but
some advice here and there is fine, of course.

Also, what problems did you run into specifically? If they're related to
the plugin API or things in PVE::Storage and its submodules in general,
I'm curious to hear more about them -- feedback is greatly appreciated!
Especially now as we're aiming to improve it all.

In the meantime, you might also wanna check out some other plugins that
are out there:

- https://github.com/LINBIT/linstor-proxmox/blob/master/LINSTORPlugin.pm
- https://github.com/storpool/pve-storpool/blob/main/lib/PVE/Storage/Custom/StorPoolPlugin.pm
- https://github.com/kolesa-team/pve-purestorage-plugin/blob/main/PureStoragePlugin.pm
- https://github.com/mityarzn/pve-storage-custom-dellps/blob/master/DellPSPlugin.pm

There are probably a bunch more floating around, but those are all I'm
aware of / can recall right now.

Again, thank you for reaching out, Seth! (:

[wiki]: https://pve.proxmox.com/wiki/Storage_Plugin_Development



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