Project

General

Profile

Actions

Bug #24931

closed

@dynamic kickstart variable stopped working in Foreman 1.19.0

Added by Guilherme M. Schroeder about 6 years ago. Updated about 6 years ago.

Status:
Duplicate
Priority:
High
Assignee:
-
Category:
Templates
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Hi,

We use the @dynamic variable in Foreman kickstart templates and it seems it stopped working with the 1.19.0 release. It works fine in 1.18.2.
The partition table associated with the host starts with #Dynamic.


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #21172: Unknown Variables in partition tables <%= @osver %>ClosedIvan Necas10/02/2017Actions
Is duplicate of Foreman - Bug #25150: regression: @dynamic in template is always falseClosedPeter LehwessActions
Actions #1

Updated by Tomer Brisker about 6 years ago

  • Related to Bug #21172: Unknown Variables in partition tables <%= @osver %> added
Actions #2

Updated by Tomer Brisker about 6 years ago

  • Category set to Templates
  • Target version set to 1.19.1
  • Found in Releases 1.19.0 added
Actions #3

Updated by Ivan Necas about 6 years ago

At Tomer noted, this might be related to this change https://github.com/theforeman/foreman/commit/1f32612a032977b05c27042422d050c9638dc3a6, I will investigate next week to confirm this and hopefully find a fix.

Actions #4

Updated by Olmo Rupert about 6 years ago

Issue confirmed. It broke our provisioning capabilities.

Two kickstart templates provided.

1. old working one ( via 1.16 ... ): https://pastebin.com/YWV5bxUq
2. broken one ( via 1.19 .. ): https://pastebin.com/BWguxkbk

Actions #5

Updated by Ivan Necas about 6 years ago

  • Status changed from New to Duplicate
Actions #6

Updated by Ivan Necas about 6 years ago

  • Is duplicate of Bug #25150: regression: @dynamic in template is always false added
Actions #7

Updated by Olmo Rupert about 6 years ago

Able to temporarily bypass the issue by specifying the partition table explicitly in the wizard.

Actions

Also available in: Atom PDF