Bug 2085490

Summary: Discovery and bootdisk templates don't get description populated from metadata
Product: Red Hat Satellite Reporter: Griffin Sullivan <gsulliva>
Component: Provisioning TemplatesAssignee: nalfassi
Status: CLOSED ERRATA QA Contact: sganar
Severity: medium Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: gtalreja, mhulan, pcreech, rlavi, zhunting
Target Milestone: 6.12.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman_discovery-21.0.2, foreman_bootdisk-19.0.6,foreman-3.3.0.4-1,foreman-3.3.0.7-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-16 13:33:51 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 Griffin Sullivan 2022-05-13 13:36:50 UTC
Description of problem:
When looking at Discovery and bootdisk templates in the edit page you can see the description in the editor as metadata. However, these are not populated to the "Description" text field.

Version-Release number of selected component (if applicable):
6.11

How reproducible:
100%

Steps to Reproduce:
1. Go to Hosts > Provisioning Templates > Discovery Red Hat kexec

Actual results:
Description can be seen as metadata in the editor, but the description field is left empty.

Expected results:
Description is also under the description text area.

Comment 2 Leos Stejskal 2022-06-29 12:24:37 UTC
Created redmine issue https://projects.theforeman.org/issues/35127 from this bug

Comment 4 Bryan Kearney 2022-07-26 12:04:40 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35127 has been resolved.

Comment 6 Bryan Kearney 2022-07-26 16:04:50 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35127 has been resolved.

Comment 7 nalfassi 2022-07-27 06:40:01 UTC
The fix in https://projects.theforeman.org/issues/35127 is intended for Satellite 6.13, and I think cherry-picking it would be too risky. For 6.12 - I came up with a simpler solution, which will be fixed in https://projects.theforeman.org/issues/35282, https://projects.theforeman.org/issues/35283.

Comment 8 Bryan Kearney 2022-07-27 08:04:48 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35127 has been resolved.

Comment 9 Ron Lavi 2022-08-08 18:58:47 UTC
Both plugins' gems are released with Nofar's fixes:
-foreman_discovery-21.0.2
-foreman_bootdisk-19.0.6

Moving to POST

Comment 12 sganar 2022-09-08 09:33:41 UTC
Verified.

Tested on Satellite 6.12.0 Snap 10.0

Steps followed: 
1. Go to Hosts > Provisioning Templates > Discovery Red Hat kexec

Observation: 
Description is populated in the description text field.

Comment 16 errata-xmlrpc 2022-11-16 13:33:51 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 (Important: Satellite 6.12 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:8506

Comment 17 Red Hat Bugzilla 2023-09-18 04:37:07 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days