Proxmox Foreman windows server

I have an issue with creating a windows server on proxmox using foreman everything is set correctly but when i create a new host this error comes up

Unable to save * Failed to create a compute pve-uk-01 (Proxmox) instance erica-ackles.cryptedlabs.com: ERF42-8931 [Foreman::Exception]: Operating system family Windows is not consistent with l26

You seem to have created a system in Proxmox which is configured to run a Linux based OS.

Check the OS type parameters on the KVM or the ostype parameter if you are using the API

https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/qemu/{vmid}/config

1 Like

I have the same issue but with FreeBSD. It seems like Foreman needlessly has to match the OS’s for some reason and fails if it can’t. In Proxmox you can just choose “Other” to install whatever you want but the proxmox module in Foreman needs to match them precisely which ends in the error:

Failed to create a compute Proxmox (Proxmox) instance grace-kuchera.foo.bar: ERF42-3844 [Foreman::Exception]: Operating system family Freebsd is not consistent with other

There isn’t any OS-type in Proxmox for any BSD’s because there isn’t any need for it:

I have now opened a bug regarding this issue: