Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1324539

Summary: [RFE] Redesign discovery facts to survive provisioning
Product: Red Hat Satellite Reporter: Lukas Zapletal <lzap>
Component: Discovery PluginAssignee: orabin
Status: CLOSED UPSTREAM QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: UnspecifiedCC: abraverm
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14035
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-24 07:19:53 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:
Bug Depends On:    
Bug Blocks: 1338516    

Description Lukas Zapletal 2016-04-06 14:54:31 UTC
Discovery facts are short-lived - they are discarded during provisioning
and they were primarily only meant for discovery rules.

We know it is quite limiting and we were not thinking about pulling 
those facts to production stage during the initial design. It turned out 
as a useful feature, therefore we are currently changing the way we
store discovered facts and we want to keep them separate from "normal"
facts.

Workaround for Satellite 6.1-6.2 - all facts that start with discovery_ 
survives the provisioning *until* the initial facter run (which 
overwrites everything with it's own set of facts). So you can use these
only during provisioning (e.g. in kickstart template or finish 
template). A workaround for this workaround would be to store these 
facts on the provisioned system as custom facts, which are then reported
by facter in production mode every 30 minutes. Sounds complicated, but 
that's how discovery custom facts work today.

Comment 1 Bryan Kearney 2016-04-06 16:02:19 UTC
Upstream bug assigned to orabin

Comment 2 Bryan Kearney 2016-07-08 20:49:13 UTC
Per 6.3 planning, moving out non acked bugs to the backlog

Comment 4 Lukas Zapletal 2017-05-24 07:19:53 UTC
We have no updates on discovered host redesign, workaround is possible via special names in 6.2-6.3.