mistio / mist-ce

Mist is an open source, multicloud management platform
https://mist.io
Apache License 2.0
1.86k stars 315 forks source link

Proxmox support #1006

Open R3n3r0 opened 3 years ago

R3n3r0 commented 3 years ago

Possible add proxmox support?

WayneJK commented 3 years ago

What do you mean for Proxmox support?

sebastianberm commented 3 years ago

Proxmox can be used as hypervisor for containers and KVM vm's, it has it's own API's. It would be nice if it could be added.

ciroiriarte commented 3 years ago

+1 to this request. The platform can provide VMs & LXC containers. Now also something similar to security groups or firewall filters and networks (L2/L3 SDN)

weismannweb commented 2 years ago

I would be willing to support development of this. Would this be best to build a provider for libcloud? What do you think the time investment would be to make a libcloud provider then a mist.io plugin for it? Is this still accurate: https://mist.io/blog/2015-04-24-adding-a-new-provider-in-mistio-the-host-virtual

REF: https://github.com/apache/libcloud/issues/1639

d-mo commented 2 years ago

Hi @weismannweb I think it's a good idea to build a provider for libcloud first, even though it's not absolutely necessary. Unfortunately the instructions on the blog post are mostly deprecated. We should write an updated version. Overall, the current process looks like as follows.

  1. Update PROVIDERS and SUPPORTED_PROVIDERS in api/src/mist/api/config.py
  2. Implement the main controller for the new provider and the respective compute controller. You may optionally implement any of the container, dns, network, storage & objectstorage controllers for this provider. These use libcloud by default, but a controller may override that and do its own thing.
  3. Add new provider to ui/src/helpers/providers.js and ui/src/helpers/machine-create-fields.js
  4. Test & iterate, implementing more provider features each time.

Let me know if you have any questions and if you're planning to go ahead with this. We'll be glad to help along the way.

rgsaura commented 10 months ago

Hi! Is this still possible? @weismannweb did you manage to implement it? @d-mo I think adapting proxmox as a official provider would give you a lot of exposure as many "homelab" youtuber use it as their main hypervisor. 😄