Red Hat Bugzilla – Bug 1247617
Inherited variable fields empty in 'edit host' / 'new host' screens
Last modified: 2016-07-27 04:54:13 EDT
Description of problem:
I have nested locations in my Satellite 6.1.0 setup: Amsterdam, Amsterdam/DC01 and Amsterdam/DC02.
DC01 and DC02 inherit a time-zone variable from Amsterdam.
Though it works fine, the field that should show the value of the time-zone variable when creating a new host / editing an existing one, is empty.
See attached screenshot.
Version-Release number of selected component (if applicable):
Create nested locations, add variable to parent location, create new host in child location.
Steps to Reproduce:
1. Create nested locations
2. Add variable to parent location
3. Create new host in child location
Variable field is empty
Variable field should show variable value of parent location
I set the component to WebUI, because the correct value is actually in the YAML output: it's just not shown in the webui.
The screenshot explains this much better than I can.
Created attachment 1057012 [details]
Screenshot demonstrating issue
Screenshot showing empty field, should show 'Europe/Amsterdam' instead of empty box
Moving to POST since upstream bug http://projects.theforeman.org/issues/7840 has been closed
Applied in changeset commit:33eca4dfec4949308aa265420b963cd80c5f7d13.
Created attachment 1068903 [details]
Failed QA - Screenshot
Verified this bug in upstream, the bug is still reproducible. So changing the state to Assigned/FailedQA.
Steps I followed:
1. Create two nested locations from 'Default Location'. i.e- Default Location/myLoc1 and Default Location/myLoc2.
2. Added variable parameter in 'Default-Location':
Name: 'time-zone', value: 'IST'
3. Creating new host in location 'Default Location/myLoc1'.
Blank time-zone inherited variable from parent location.
Verified on versions:
Upstream bug component is Provisioning
Looks like the upstream bug that was linked was similar but not identical to this one. I will clone this to redmine and submit new PR to fix it.
Thank you Jitendra for noticing this!
Created redmine issue http://projects.theforeman.org/issues/11650 from this bug
Upstream bug component is Multi Org
Moving to POST since upstream bug http://projects.theforeman.org/issues/11650 has been closed
Applied in changeset commit:be33e6e905c8d0315262a3a3a45459c3a098a29e.
Created attachment 1070904 [details]
Verified this in latest upstream.
The inherited field value is displayed properly for the variable.
Is there any chance of getting this in 6.1.z ?
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.