Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-39908

Compute resource defaults on host create error

XMLWordPrintable

    • 8
    • False
    • sat-rocket
    • Bug Fix
    • None
    • Proposed
    • Automated

      Description of problem:

      When creating a VM from a template using Foreman and using a compute profile, the setting under firmware (auto / BIOS / UEFI / UEFI secure boot) is ignored. No matter what you try to set here in the profile, it disappears after saving and reverts to auto (which results in BIOS mode).

      https://community.theforeman.org/t/compute-resources-compute-profiles-firmware-setting-is-ignored/44691

      Is this issue a regression from an earlier version:

      Probably introduced in 6.17 (foreman 3.14), definitely in 6.18 (foreman 3.16)
      I think its from here: https://github.com/theforeman/foreman/commit/df3dd72a3ce5d7c821e39c8251d5888da1b0d7ad

      Steps to Reproduce:

      create host -> dont select org/location -> select "Deploy On" vmware -> in the vm tab change Firmware to anything but automatic -> save -> save fails because orgs are not set, but firmware is reset to automatic.  If a user does the same this but with the Memory field, the value doesnt reset.

       

       

              Unassigned Unassigned
              magaphon@redhat.com Maria Agaphontzev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: