Bug 1372599 - [RFE] Foreman-discovery image does not report back on which Capsule/Satellite server it has connected to to retrieve its kickstart template
Summary: [RFE] Foreman-discovery image does not report back on which Capsule/Satellite...
Alias: None
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Discovery Image
Version: 6.2.0
Hardware: x86_64
OS: Linux
medium vote
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact: Radovan Drazny
Keywords: FutureFeature, Triaged
Depends On:
TreeView+ depends on / blocked
Reported: 2016-09-02 08:03 UTC by Calvin Hartwell
Modified: 2019-04-01 20:27 UTC (History)
7 users (show)

Clone Of:
Last Closed: 2018-02-21 16:54:17 UTC

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 16420 None None None 2016-09-02 14:20 UTC

Description Calvin Hartwell 2016-09-02 08:03:09 UTC
Description of problem:

We want the foreman-discovery image to report back on which capsule server or satellite server it has connected to. This is so we can use the fact within the discovery rule or kickstart template. 

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


How reproducible:

Easy to reproduce. 

Steps to Reproduce:
1. Load foreman discovery image.
2. Put in capsule/satellite server fqdn and facts.
3. Wait to load...
4. Check foreman for capsule/sat server fact
5. It doesn't exist! 

Actual results:

Foreman discovery does not report which capsule/server it has connected to in order to obtain its kickstart

Expected results:

Discovery rules should be able to take into account the capsule/sat6 server the client running foreman-discovery has connected to while it waits for its kickstart. 

Additional info:

Comment 2 Bryan Kearney 2016-09-02 16:19:13 UTC
Upstream bug component is Discovery Plugin

Comment 3 Bryan Kearney 2016-09-02 16:19:15 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16420 has been resolved.

Comment 6 Lukas Zapletal 2017-06-28 10:27:14 UTC
Will be part of Satellite 6.3.

Comment 7 Radovan Drazny 2018-01-03 10:52:31 UTC
Tested with foreman-discovery-image-3.4.1-3.iso.

After registration, there is now a fact in the Software section, discovery_proxy_uri, containing the uri of the server used to discovery the host. Tested both on the Satellite and on a Capsule.


Comment 8 pm-sat@redhat.com 2018-02-21 16:54:17 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-2018:0336

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