ProxmoxVE arrives on MAAS

Is it possible to use MAAS to deploy new Proxmox nodes? I have MAAS running, and really like its ability to keep track of hardware.
I've not been able to get MAAS 3.0 to upload my ESXi 7.0 image yet, but I got it built. Is there a tutorial for building/uploading a Proxmox image so I can deploy Proxmox nodes?
 
Is it possible to use MAAS to deploy new Proxmox nodes? I have MAAS running, and really like its ability to keep track of hardware.
I've not been able to get MAAS 3.0 to upload my ESXi 7.0 image yet, but I got it built. Is there a tutorial for building/uploading a Proxmox image so I can deploy Proxmox nodes?
No, it's still not possible to create proxmox nodes. This is a compatibility issue of the Debian network with the Curtin networks of ubuntu.
But MAAS allows to create, manage, deploy vms on Proxmox and authentication with Tokens very well.
 

Attachments

  • Network-Curtin.png
    Network-Curtin.png
    266 KB · Views: 124
  • Screenshot_20210913_083224.png
    Screenshot_20210913_083224.png
    167.8 KB · Views: 121
  • Screenshot_20210913_083326.png
    Screenshot_20210913_083326.png
    78.8 KB · Views: 118
I was able to deploy Unbuntu images, then wipe them and boot off of an ISO via IPMI, to give me Proxmox nodes on my MAAS managed hardware. MAAS still thinks they are Ubuntu, but at least they are deployed/tracked.
I had to setup everything manually of course.

Not ideal, but at least I didn't have to remove nodes from MAAS to use them.

MAAS really needs to be able to support "other" deployments where it simply marks the node deployed, and gets out of the way. Not being able to do so makes it hard to go MAAS-only on all hardware.
 
Last edited:
  • Like
Reactions: LostOnTheLine
I was able to deploy Unbuntu images, then wipe them and boot off of an ISO via IPMI, to give me Proxmox nodes on my MAAS managed hardware. MAAS still thinks they are Ubuntu, but at least they are deployed/tracked.
I had to setup everything manually of course.

Not ideal, but at least I didn't have to remove nodes from MAAS to use them.

MAAS really needs to be able to support "other" deployments where it simply marks the node deployed, and gets out of the way. Not being able to do so makes it hard to go MAAS-only on all hardware.
Bonjour,
I've been making the point to the Canonical team for a while. But still no solution, we must already modify Centos with Rocky-Linux (Alma-Linux). I have seen recently with the arrival of a new developer (Christian Grabowski) a lot of new things in this direction. I think fixing the incompatibility with the CURTIN module is a bit of a drag.
 
  • Like
Reactions: Zephrant
Hi sorry to necrobump a bit, but what you describe is essentially duplicating what terraform does and slightly worse at that. Does anyone have an update on whether there is a tool to automatically provision Proxmox?
 
Hi sorry to necrobump a bit, but what you describe is essentially duplicating what terraform does and slightly worse at that. Does anyone have an update on whether there is a tool to automatically provision Proxmox?
MAAS can do it. Just add your pve iso with Packer as it is done with vmware, rocky-linux...
https://github.com/canonical/packer-maas
 

Attachments

  • Capture d’écran du 2023-06-07 13-14-15.png
    Capture d’écran du 2023-06-07 13-14-15.png
    103.2 KB · Views: 85
  • Like
Reactions: pcuci
@flyinghuman @badji - thanks for point out MAAS can deploy PVE on bare metal (although with no support available)

I'm reading through the steps, and wondering what your `my-changes.sh` script looks like, re: https://github.com/canonical/packer-maas/tree/main/debian#building-the-image

How exactly does one turn a vanilla Debian install into PVE? :)


gpt4 hallucinations (feels almost "too simple"):

Bash:
#!/bin/bash

# Update package list and upgrade packages
apt-get update && apt-get upgrade -y

# Add Proxmox VE repository
echo "deb [URL]http://download.proxmox.com/debian/pve[/URL] bullseye pve-no-subscription" > /etc/apt/sources.list.d/pve.list
wget -qO- [URL]http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg[/URL] | apt-key add -

# Update package list
apt-get update

# Install Proxmox VE
apt-get install -y proxmox-ve postfix open-iscsi

# Perform any additional configuration needed for Proxmox VE
# For example, disable the enterprise repository
sed -i 's/^deb/#deb/' /etc/apt/sources.list.d/pve-enterprise.list

# Reboot the system
reboot
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!