Project

General

Profile

Actions

Feature #12244

closed

Do not delete facts during provisioning

Added by Lukas Zapletal about 9 years ago. Updated over 7 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Discovery plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Currently we override default behavior of Foreman and some facts are not deleted during discovered host provisioning:

https://github.com/theforeman/foreman_discovery/blob/develop/app/services/foreman_discovery/host_converter.rb#L22-L25

We can expand this little further and keep more facts (configurable) or maybe all of them.


Related issues 3 (2 open1 closed)

Related to Foreman - Feature #12337: Make it possible to persist facts/reports when host is being rebuiltNew10/28/2015Actions
Related to Discovery - Refactor #13848: Refactor Discovery STI to FacetsNew02/23/2016Actions
Related to Discovery - Bug #15731: Do not delete discovered factsClosedLukas Zapletal07/19/2016Actions
Actions #1

Updated by Lukas Zapletal about 9 years ago

  • Tracker changed from Bug to Feature
Actions #2

Updated by Dominic Cleal about 9 years ago

  • Related to Feature #12337: Make it possible to persist facts/reports when host is being rebuilt added
Actions #3

Updated by Lukas Zapletal about 9 years ago

  • Bugzilla link set to 1290807

For the record, in the latest Discovery 4.1 (part of Foreman 1.10 and Satellite 6.1.5) we do not delete facts with "discovery_" prefix.

Actions #4

Updated by Lukas Zapletal almost 9 years ago

Actions #5

Updated by Lukas Zapletal over 7 years ago

  • Related to Bug #15731: Do not delete discovered facts added
Actions #6

Updated by Lukas Zapletal over 7 years ago

  • Status changed from New to Duplicate
  • Bugzilla link deleted (1290807)

This is dupe issue, it was already resolved in http://projects.theforeman.org/issues/15731

Actions

Also available in: Atom PDF