Bug 1324539 - [RFE] Redesign discovery facts to survive provisioning
Summary: [RFE] Redesign discovery facts to survive provisioning
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Discovery Plugin
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: orabin
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks: 1338516
TreeView+ depends on / blocked
 
Reported: 2016-04-06 14:54 UTC by Lukas Zapletal
Modified: 2021-06-10 11:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-24 07:19:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 14035 0 None None None 2016-04-22 15:08:39 UTC

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.


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