Project

General

Profile

Feature #12244

Do not delete facts during provisioning

Added by Lukas Zapletal over 3 years ago. Updated about 2 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Discovery plugin
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
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

Related to Foreman - Feature #12337: Make it possible to persist facts/reports when host is being rebuiltNew2015-10-28
Related to Discovery - Refactor #13848: Refactor Discovery STI to FacetsNew2016-02-23
Related to Discovery - Bug #15731: Do not delete discovered factsClosed2016-07-19

History

#1 Updated by Lukas Zapletal over 3 years ago

  • Tracker changed from Bug to Feature

#2 Updated by Dominic Cleal over 3 years ago

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

#3 Updated by Lukas Zapletal over 3 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.

#4 Updated by Lukas Zapletal over 3 years ago

#5 Updated by Lukas Zapletal about 2 years ago

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

#6 Updated by Lukas Zapletal about 2 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

Also available in: Atom PDF