Project

General

Profile

Actions

Bug #18211

open

Automaticaly associate OS with provisioning templates on OS created from facts

Added by Mathieu Parent almost 8 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Facts
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Every so often, Debian push a point-release (last one was 8.7, 2017-01-14).

Then, I need to re-do this:
  • Associate all preseed templates to this new OS (Preseed default, Preseed default finish, Preseed default iPXE, Preseed default PXEGrub2, Preseed default PXELinux, Preseed default user data; and their Community counterpart)
  • Associate this OS to the same provisioning templates as the previous version
  • Associate this OS to the same media as the previous version
  • Associate the host group that we use for provisioning with this new OS
  • Walk thru all hosts using this host group and updating the OS tab.
I propose the following:
  • When an OS is created automaticaly from a fact :
    • Find the previous version (with same name, last <= major.minor
    • Do the association above (except maybe the host group which is a bit specific)
Actions #1

Updated by Mathieu Parent almost 8 years ago

Note:

The current behavior fails miserably, as PXE download linux kernel from Debian 8.6 via tftp, then kernel modules are downloaded from mirror via http and they are for Debian 8.7. This leads to strange errors like segfault (we had that for Debian stretch) or mismatching symbols (8.7 vs 8.6 had this for ext4).

Actions

Also available in: Atom PDF