Project

General

Profile

Actions

Bug #14292

closed

Child hostgroup cloning issue with array parameters

Added by Jeff Sault about 8 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
Host groups
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

This is a bit of an odd one but during the cloning of a hostgroup it seems that array/json class parameter overrides can become invalid.

Pre-req:
2 x environments with the same classes in both.
2 x identical hostgroups in different environments. Not sure if having classes in them is mandatory or not
1 x child hostgroup containing a class with an array-type override set.

Step to reproduce:
Clone the child hostgroup from one environment to the other, changing both the parent HG and environment fields during the clone process.

Expected:
HG should be cloned with override parameter kept.

Actual:
Parameter override values are cloned with additional escape sequences, causing them to fail validation. See attached.


Files

foreman_error.png View foreman_error.png 7.51 KB Jeff Sault, 03/21/2016 08:04 AM

Related issues 1 (1 open0 closed)

Related to Foreman - Bug #12284: host group parameter overrides reformatting YAML values to stringsNew10/23/2015Actions
Actions

Also available in: Atom PDF