Project

General

Profile

Actions

Bug #14100

closed

Facts are deleted when Host::Discovered becomes Host::Managed

Added by Stephen Benjamin about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Discovery plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Host facts get cleared, which breaks the `ip=` line in the kexec template:

{
  "kernel": "boot/CentOS-7.1-x86_64-vmlinuz",
  "initram": "boot/CentOS-7.1-x86_64-initrd.img",
  "append": "ks=http://192.168.121.45:3000/unattended/provision?token=05d805c7-21be-46af-89cb-18c5a18527a1&static=yes inst.ks.sendmac ip=::::::none nameserver= ksdevice=bootif BOOTIF= " 
}

We need to preserve the discovery_* facts, or better - preserve all of them, what if a discovery user wants to use custom discovery facts in a provision template?

Actions #1

Updated by Stephen Benjamin about 8 years ago

  • Bugzilla link set to 1315817
Actions #2

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/foreman_discovery/pull/259 added
Actions #3

Updated by Anonymous about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF