theforeman / foreman_fog_proxmox

Foreman plugin to add Proxmox compute resource based on fog-proxmox gem
GNU General Public License v3.0
106 stars 33 forks source link

Cannot create BSD Host #369

Open karli-sjoberg opened 1 hour ago

karli-sjoberg commented 1 hour ago

Describe the bug Trying to create a Host in Foreman from a Proxmox Compute Resource with a *BSD Operating System fails with:

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

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Hosts'
  2. Click on 'Create Host'
  3. Choose 'Deploy On = Proxmox'
  4. Go to tab 'Virtual Machine'
  5. Go to sub-tab 'Advanced Options'
  6. Choose 'OS Type = Unspecified OS'
  7. Go to tab 'Operating System'
  8. Choose 'Architecture = x86_64'
  9. Choose 'Operating system = FreeBSD X.Y'
  10. Fill in the rest of the needed values
  11. Click 'Submit'

Expected behavior A new Host is created.

Desktop (please complete the following information):

karli-sjoberg commented 1 hour ago

Proxmox staff has stated that there isn't any need for a specific *BSD 'OS Type' and suggests to use 'Other' which works just fine:

https://forum.proxmox.com/threads/freebsd-os-type-or-custom-os-types.108211/