Bug 1845112 - Installer deploys outdated version of pxegrub2 mac template to TFTP
Summary: Installer deploys outdated version of pxegrub2 mac template to TFTP
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installer
Version: 6.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.8.0
Assignee: Lukas Zapletal
QA Contact: Devendra Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-08 13:41 UTC by Roman Plevka
Modified: 2020-10-27 13:03 UTC (History)
3 users (show)

Fixed In Version: foreman-installer-2.1.2.8-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 13:03:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 30072 0 Normal Closed Installer deploys outdated version of pxegrub2 mac template to TFTP 2020-10-28 17:41:56 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 13:03:19 UTC

Description Roman Plevka 2020-06-08 13:41:45 UTC
Description of problem:
After installation, TFTP already contains grub.cfg deployed from outdate version of PXEGrub template:
[ see attachment "PXEGrub2_gd_old.txt"]

Despite the fact that the `pxegrub2_mac` snippet template looks different now:
[ see attachment "PXEGrub2_gd_new.txt"]


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

How reproducible:
always

Steps to Reproduce:
1. install satellite (with tftp and httpboot enabled)
2. check the rendered template:
   http://sat.fqdn:8000/httpboot/grub2/grub.cfg
3. Build PXE Default template
4. check the tempalte agani
5. observe the differences

Actual results:
grub.cfg contains outdated content (from old versions) until it is manually redeployed

Expected results:
The grub.cfg deployed by installer should correspond to the version present on satellite

Comment 1 Bryan Kearney 2020-06-09 16:05:59 UTC
Upstream bug assigned to lzap

Comment 2 Bryan Kearney 2020-06-09 16:06:01 UTC
Upstream bug assigned to lzap

Comment 7 Lukas Zapletal 2020-10-01 13:58:24 UTC
Yes we have decided to require users to hit the Build PXE Default in order to boot unknown systems.

Comment 8 Devendra Singh 2020-10-01 14:04:33 UTC
Verified on 6.8.0 Snap17.

Comment 11 errata-xmlrpc 2020-10-27 13:03:08 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.8 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-2020:4366


Note You need to log in before you can comment on or make changes to this bug.