Bug 2073470

Summary: "Kickstart default user data" Provisioning Template contains doubled description key
Product: Red Hat Satellite Reporter: Ondrej Gajdusek <ogajduse>
Component: Provisioning TemplatesAssignee: Marek Hulan <mhulan>
Status: CLOSED ERRATA QA Contact: Ondrej Gajdusek <ogajduse>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.11.0CC: ehelms, gtalreja, mhulan
Target Milestone: 6.11.0Keywords: EasyFix, Triaged, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman-3.1.1.16-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-05 14:35:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ondrej Gajdusek 2022-04-08 14:46:18 UTC
Description of problem:
There is a typo in the "Kickstart default user data" Provisioning Template metadata. The description section is doubled.

oses:
- AlmaLinux
description: |
  description: |    <-------
  This template is used during image based provisioning ...

Version-Release number of selected component (if applicable):
Satellite 7.0.0/6.11.0 snap 14
foreman-3.1.1.9-1.el8sat.noarch

How reproducible:
always

Steps to Reproduce:
1. edit Kickstart default user data Provisioning Template
2. see the Description text box below the Ace editor frame

Actual results:
doubled 'description' key

Expected results:
'description' key should be present only once

Additional info:

Comment 1 Brad Buckingham 2022-04-11 13:09:14 UTC
Is there any negative side affect resulting from the duplicate description?

Is this a regression from Satellite 6.10?

Comment 2 Marek Hulan 2022-04-14 14:53:30 UTC
Created redmine issue https://projects.theforeman.org/issues/34776 from this bug

Comment 3 Bryan Kearney 2022-04-14 16:04:59 UTC
Upstream bug assigned to mhulan

Comment 4 Bryan Kearney 2022-04-14 16:05:01 UTC
Upstream bug assigned to mhulan

Comment 5 Ondrej Gajdusek 2022-04-19 09:18:56 UTC
It is a regression from Satellite 6.10 as the description metadata section was not present there at all.

There is no negative side effect aside from the aesthetics and readability. Fix for this BZ was already merged to Foreman. https://github.com/theforeman/foreman/pull/9188/files

Comment 6 Bryan Kearney 2022-04-19 12:05:05 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34776 has been resolved.

Comment 8 Ondrej Gajdusek 2022-05-03 14:05:17 UTC
VERIFIED
@Satellite 6.11.0 snap 18.5
foreman-3.1.1.16-1.el8sat.noarch

Comment 11 errata-xmlrpc 2022-07-05 14:35:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Satellite 6.11 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5498