Actions
Bug #12618
closedCompute profile overrides compute attributes provided in host form
Difficulty:
Triaged:
Description
If I select compute profile and in Virtual Machine tab I change some compute attr (e.g. image to be used or amount of RAM) it gets overiden by what's set in compute profile when I submit.
Updated by The Foreman Bot about 9 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2937 added
Updated by Dominic Cleal about 9 years ago
- Related to Bug #12461: Compute profiles are not applied when inherited added
Updated by Dominic Cleal about 9 years ago
- Translation missing: en.field_release set to 63
This looks like a regression introduced by #12461, which calls set_compute_attributes from set_hostgroup_defaults without checking the value of compute_attributes.
Updated by Marek Hulán about 9 years ago
I think that call is required, after you select a hostgroup you need to refresh compute attributes from profile unconditionally. Maybe now we can even remove the condition from before_validation if it makes more sense. Anyway thanks for quick look.
Updated by The Foreman Bot about 9 years ago
- Pull request https://github.com/theforeman/foreman/pull/2957 added
Updated by Shimon Shtein about 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 19d9e229ebadb9c9488786391e645c98e4c248ea.
Actions