Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1279766 - Custom facts doesn't displayed on webUI with unattended/semi-automatic pxe-less discovery via dhcp
Summary: Custom facts doesn't displayed on webUI with unattended/semi-automatic pxe-le...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Discovery Plugin
Version: 6.1.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact: Sachin Ghai
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-10 09:19 UTC by Sachin Ghai
Modified: 2019-06-13 21:25 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-15 13:13:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
custom facts are visible on webUI (7.38 KB, image/png)
2015-11-27 07:29 UTC, Sachin Ghai
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 12430 0 None None None 2016-04-22 16:31:23 UTC

Description Sachin Ghai 2015-11-10 09:19:51 UTC
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

How reproducible:
always

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.

Actual results:
Missing provided custom fact while re-mastering the ISO

Expected results:
provided custom fact should be displayed

Additional info:

Comment 2 Sachin Ghai 2015-11-10 10:47:35 UTC
upstream issue filed: http://projects.theforeman.org/issues/12430

Comment 3 Lukas Zapletal 2015-11-11 08:33:32 UTC
The bot failed us, this is now POST.

https://github.com/theforeman/foreman-discovery-image/pull/49/files

Comment 6 Sachin Ghai 2015-11-27 07:29:25 UTC
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.

Comment 7 Sachin Ghai 2015-11-27 07:29:57 UTC
Created attachment 1099599 [details]
custom facts are visible on webUI

Comment 8 Bryan Kearney 2015-12-15 13:13:34 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/RHSA-2015:2622


Note You need to log in before you can comment on or make changes to this bug.