Project

General

Profile

Actions

Bug #24356

open

Inherit button in hosts form does not reload the associated changes

Added by Ondřej Pražák almost 6 years ago. Updated about 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Network
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Description of problem:
We can choose between multiple compute profiles when we are creating a new host on Hosts->New Host page,
however the 'Inherit' button does not update other parts of form after the select field has been changed.
The select field also shows the last selected value instead of the inherited one.

How reproducible:
Always

Steps to Reproduce:
1.Create two compute profiles on the satellite server with different interface settings.

Infrastructure-> Compute Profiles -> 1-Small -> <Compute Resource> -> Network interfaces : Name : eth0

Infrastructure-> Compute Profiles -> 2-Medium -> <Compute Resource> -> Network interfaces : Name : eth1

2. Create new host group with Compute profile : 1-Small
3. Host -> New host
4. choose Host Group for host - new host group
5. Go to 'Interface' tab and click on Edit -> here you will find all the settings populated from '1-Small' compute profile.
6. now click on the 'Host' tab and change the compute profile to 2-Medium, the Interfaces attributes will reload correctly
7. click on 'Inherit'(Compute profile), this will disable the select field which displays the last selected value
8. Now, again go to the 'Interface' tab and click on Edit -> you will find details associated with '1-Small' compute profile.

Actual results:
It does not populate the correct parameters.

Expected results:
It should reflect the changes as per the associated compute profile.

Actions #1

Updated by Quirin Pamp about 4 years ago

  • Subject changed from Inherit button in hosts form does not reload the associated changes to Inherit button in hosts form does not reload the associated changes

I can confirm that this is still the case on my Foreman 1.24.

As far as I can tell this is a display error only. When you create the host it uses the correct inherited values, it just does not display them in the create host form.

Actions

Also available in: Atom PDF