theforeman / foreman_fog_proxmox

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

Compute Profile settings are partially ignored #182

Closed tux93 closed 3 years ago

tux93 commented 3 years ago

Describe the bug When configuring compute profiles the settings are partially ignored. The settings can be submitted and there appear no error messages, but when opening the compute profile again or trying to create a Host with the profile some settings from the compute profile are not applied.

Foreman version: 2.1.3 foreman_fog_proxmox and fog-proxmox git master

To Reproduce Steps to reproduce the behavior:

  1. Go to Infrastructure -> Compute Resources -> Proxmox Compute Resource -> Compute Profiles
  2. Click on a Profile to modify it
  3. Configure as needed and Submit, the Settings seem to be saved and shown in the overview table
  4. Open the Profile again or create a Host with it, large parts of the settings from the Profile are back on their default values

Expected behavior All settings should be displayed as they were set and loaded on Host creation.

Screenshots Filled out compute profile: wanted_settings

The settings appear to have been saved: Screenshot_2021-02-12_16-12-56

When opening the Profile again most of the settings are back to their default values: reset_settings

Same when creating a Host: host_settings

Additional context This is not just a display issue, when creating the Host without setting all the settings again it will only be created with the default settings.