Problem:
I’ve been unable to successfully deploy to our proxmox cluster and there doesn’t appear to be any clear errors pointing to the issue. Currently I have Foreman set to cleanup failed deploys however regardless of the setting, attempted deploys “rollback” and create a new foreman host entry while the proxmox entry gets properly cleaned up. Network based provisioning.
Expected outcome:
A deployed vm or clearer error messages.
Foreman and Proxy versions:
3.12.1
Foreman and Proxy plugin versions:
3.12.1
Distribution and version:
Proxmox 8.2.5
ruby-foreman-fog-proxmox/plugins,now 0.16.3-1~fm3.12 all [installed]
Attempting to deploy an Ubuntu 24.04 vm
Other relevant data:
In the proxmox cluster I’ve created a vm template on the node of my choice. In foreman I have added the proxmox cluster as a compute resource, foreman sees all nodes in that cluster, all existing vms across the nodes, and the proxmox template I created is seen under “images”. If I try to create a host, everything except for the interfaces tab appears fine; when adding an interface the nic bridge shows what seems to be the right bridge for the node however its inconsistent. Sometimes I see two bridges, (my desired node has one, the other nodes have two and three bridges respectively). When it shows two bridges the virtual machine and host tabs still show my desired node. In the log only a single bridge was seen this time, proxmox node is called prx-blank01, and the vmid is the default suggested id (next available id in my cluster).
production.log snippet attached since I’d be over word count
foreman_production.log (87.1 KB)