Bug 1267229

Summary: parameter based on matcher doesn't show value during new host creation
Product: Red Hat Satellite Reporter: Fred van Zwieten <fvzwieten>
Component: ProvisioningAssignee: orabin
Status: CLOSED ERRATA QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.2CC: bbuckingham, oprazak, sthirugn
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14790
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:16:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
smart class parameter with matcher on domain
none
parameter resolution when creating new host none

Description Fred van Zwieten 2015-09-29 11:59:58 UTC
Description of problem:
When creating a new host, class parameters that match on a smart class parameter match value do not show the match before the new host is created. It does show after the host is created. This means the user is not able to view the actual value chosen before the host is created and thus cannot decide if this is the correct value or that it should override it for this host.

Version-Release number of selected component (if applicable):


How reproducible:
Create smart class parameter with override enabled and a matcher on i.e. domain
Open dialog new host to create new host making sure the matcher should match
Go to parameters and see what the chosen value is

Steps to Reproduce:
1.
2.
3.

Actual results:
chosen value is empty

Expected results:
is should show the chosen value


Additional info:
Apperantly, it resolves these matchers during host creation, but imho that is too late.

Comment 2 orabin 2016-04-24 13:55:56 UTC
Created redmine issue http://projects.theforeman.org/issues/14790 from this bug

Comment 3 Bryan Kearney 2016-04-27 14:10:40 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14790 has been closed

Comment 4 Ondřej Pražák 2016-07-01 13:51:33 UTC
Created attachment 1174935 [details]
smart class parameter with matcher on domain

Comment 5 Ondřej Pražák 2016-07-01 13:52:25 UTC
Created attachment 1174936 [details]
parameter resolution when creating new host

Comment 6 Ondřej Pražák 2016-07-01 13:55:03 UTC
Verified on RHEL7, snap 18.1

Comment 7 Bryan Kearney 2016-07-27 11:16:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501