project-pegaprox icon indicating copy to clipboard operation
project-pegaprox copied to clipboard

[Feature] Custom Storage Plugin Support

Open brngates98 opened this issue 7 months ago • 1 comments

Feature Request: Support custom Proxmox storage plugins in storage model creation

Describe the feature

I would love to see support for custom Proxmox storage plugins when adding a storage model in PegaProx.

Ideally, PegaProx would detect which storage plugins are installed on the connected Proxmox host or cluster, including third-party/custom plugins, and then present those as available options when creating a storage model.

For example, I have a custom Nimble storage plugin installed in Proxmox:

https://github.com/brngates98/pve-nimble-plugin

Right now, custom plugins do not appear to be available through the storage model workflow. It would be great if PegaProx could dynamically discover and expose them the same way it does built-in storage types.

Use Case

This would make PegaProx much more flexible for environments that rely on storage platforms not covered by the default Proxmox storage types.

In my case, I use a custom Nimble plugin to integrate HPE Nimble storage with Proxmox. Since the plugin is already installed and functional on the Proxmox side, being able to select and configure it directly within PegaProx would allow storage models to accurately reflect real-world deployments instead of being limited to only the built-in options.

This would also help users who build or use custom plugins for other storage vendors or specialized backends.

Alternatives considered

One alternative would be for PegaProx to add native support for vendor-specific storage types such as TrueNAS, Pure Storage, Nimble, Blockbridge, and others.

That could allow for deeper integration and a better user experience for those platforms, but it would also introduce additional complexity for the PegaProx project. Each vendor-specific storage type would likely need its own logic, testing, and ongoing maintenance, which may not scale well for a volunteer-driven project.

Because of that, a more flexible approach may be to support generic detection and use of custom Proxmox storage plugins that are already installed and working on the Proxmox side. That would allow advanced users to bring their own integrations without requiring PegaProx to directly maintain support for every storage vendor.

How important is this for you?

Would improve my workflow, and for custom-storage environments it could become blocking if storage models need to match what is actually deployed in Proxmox.

Checklist

  • [x] I have searched existing issues and discussions to make sure this hasn't been requested before

Additional note

If this feature request makes sense for the project, I would be happy to help contribute this piece to PegaProx.

brngates98 avatar Apr 16 '26 11:04 brngates98

Thanks for the thoughtful write-up @brngates98.

We actually went back and forth on this one internally. The honest answer is that integrating third-party Proxmox storage plugins generically from our side isn't really feasible — each plugin can ship its own config keys, its own REST surface, its own form validation, and those can change between plugin releases without any upstream coordination. If we try to expose them automatically we'd either end up with a broken form that half-accepts unknown options, or a bug backlog chasing every plugin's schema changes. That's not a great place to sit for either of us.

The direction we'd prefer is the reverse: PegaProx ships its own plugin API, so the authoring side lives where the domain knowledge actually is. A plugin for e.g. Nimble/HPE/Pure/etc. would register its storage type with PegaProx, bring its own form fields, its own validators and its own "create/test/remove" hooks. That way the plugin vendor can iterate at their own pace, ship their own updates, and they're the single source of truth for what their storage needs.

So for your concrete case I'd phrase it as: making PegaProx aware of pve-nimble-plugin is a task for the plugin author — either the upstream maintainer, or a thin adapter on top. If you (or @brngates98) want to prototype that against our plugin system I'm happy to point you at the current plugin scaffolding and review a PR.

Short version: we won't auto-discover arbitrary Proxmox storage plugins, but we do have a plugin system that's specifically designed for this use case.

If you want to support the project while you experiment — https://opencollective.com/pegaprox helps keep the lights on 💛

mkellermann97 avatar Apr 19 '26 17:04 mkellermann97