mist-ce icon indicating copy to clipboard operation
mist-ce copied to clipboard

Proxmox support

Open R3n3r0 opened this issue 3 years ago • 6 comments

Possible add proxmox support?

R3n3r0 avatar Apr 08 '21 05:04 R3n3r0

What do you mean for Proxmox support?

WayneJK avatar May 04 '21 09:05 WayneJK

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.

sebastianberm avatar Jun 30 '21 14:06 sebastianberm

+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)

ciroiriarte avatar Sep 05 '21 19:09 ciroiriarte

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

weismannweb avatar Dec 27 '21 16:12 weismannweb

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.

d-mo avatar Jan 09 '22 23:01 d-mo

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. 😄

rgsaura avatar Dec 12 '23 11:12 rgsaura