Red Hat Bugzilla – Bug 1279766
Custom facts doesn't displayed on webUI with unattended/semi-automatic pxe-less discovery via dhcp
Last modified: 2017-02-23 14:40:39 EST
Description of problem: I was trying un-attended pxe-less discovery via dhcp and remastered the iso with a custom fact. Later, I discovered a host using same ISO but when I checked the facts of discovered hosts from webUI -> "Discovered Host" -> facts page, the provided custom fact was missing:
here is cmd I used to remaster the ISO:
./discovery_remaster fdi-bootable-3.0.4.iso "fdi.pxgw=192.168.100.1 fdi.pxdns=192.168.100.1 proxy.url=https://192.168.100.1:9090 proxy.type=proxy fdi.pxfactname1=myfact fdi.pxfactvalue1=somevalue fdi.pxauto=1"
Version-Release number of selected component (if applicable):
Satellite 6.1.4 compose3
Steps to Reproduce:
1. remaster the discovery ISO as above
2. discovered the host with same ISO
3. check if myfact is available under discovered hosts facts.
Missing provided custom fact while re-mastering the ISO
provided custom fact should be displayed
upstream issue filed: http://projects.theforeman.org/issues/12430
The bot failed us, this is now POST.
Verified with Sat 6.1.5 compose2(Satellite-6.1.0-RHEL-7-20151125.0)
and using scratchbuild of discovery image from brew having version: foreman-discovery-image-3.0.5-2.iso
I can see the the custom facts on webUI with unattended pxe-less discovery. Please see the screenshot for verification.
Created attachment 1099599 [details]
custom facts are visible on webUI
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.