Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1895330

Summary: Update the foreman-discovery-image with newer kernel
Product: Red Hat Satellite Reporter: Kenny Tordeurs <ktordeur>
Component: Discovery ImageAssignee: Lukas Zapletal <lzap>
Status: CLOSED ERRATA QA Contact: Roman Plevka <rplevka>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: lzap, rabajaj
Target Milestone: 6.9.0Keywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1908860 (view as bug list) Environment:
Last Closed: 2021-04-21 13:18:52 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 Kenny Tordeurs 2020-11-06 11:19:54 UTC
Description of problem:
Update the foreman-discovery-image with newer kernel to avoid issues like:
~~~
RHEL installations on some physical systems. Some machines have a new network card (HPE Synergy 480 blades with 4820c Converged Network Adapter) and it requires a kernel version equivalent of RHEL 7.7 or higher
~~~

Version-Release number of selected component (if applicable):
Satellite 6.8
foreman-discovery-image-3.6.7-1.iso

How reproducible:
100%

Steps to Reproduce:
1. # yum install foreman-discovery-image
2. # mnt -o loop /usr/share/foreman-discovery-image/foreman-discovery-image-3.6.7-1.iso /mnt
3. # file /mnt/isolinux/vmlinuz0 

Actual results:
~~~
/mnt/isolinux/vmlinuz0: Linux kernel x86 boot executable bzImage, version 3.10.0-957.el7.x86_64 (mockbuild.eng.bos.redhat.c, RO-rootFS, swap_dev 0x6, Normal VGA
~~~

Kernel dates from:
~~~
2018-10-04 Bruno E. O. Meneguele <bmeneg> [3.10.0-957.el7]
~~~
https://access.redhat.com/downloads/content/kernel/3.10.0-957.el7/x86_64/fd431d51/package-changelog


Expected results:
Newer kernel

Additional info:

Comment 1 Kenny Tordeurs 2020-11-06 11:26:18 UTC
upstream has newer version:

http://downloads.theforeman.org/discovery/releases/latest/

# mount -o loop /home/kenny/Downloads/fdi-bootable-3.5.7.iso /mnt
# cd /mnt 
# file isolinux/vmlinuz0 
~~~
isolinux/vmlinuz0: Linux kernel x86 boot executable bzImage, version 3.10.0-1062.1.2.el7.x86_64 (mockbuild.centos.org) #1 SMP Mon Sep 30 14:19:46 UTC , RO-rootFS, swap_dev 0x6, Normal VGA
~~~

Comment 2 Lukas Zapletal 2020-11-06 12:19:23 UTC
Yes, I confirm we had chat about this. Please waive this into the next errata, we need to update FDI. For some reason, we built it against old RHEL version.

Comment 4 Lukas Zapletal 2021-02-09 11:22:32 UTC
Fixed in 3.7.2 in 6.9 drop, ready for QA.

Comment 5 Roman Plevka 2021-02-23 13:00:24 UTC
VERIFIED
sat6.9.0 snap14:

FDI v3.7.4 (20210211.113df15):

```
[root@fdi ~]# uname -a
Linux fdi 3.10.0-1160.el7.x86_64 #1 SMP Tue Aug 18 14:50:17 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux
```

the recent version of the linux kernel on RHEL7.9 is:
```
# uname -a
Linux qe-sat69-rhel7-tier3.satqe.lab.eng.rdu2.redhat.com 3.10.0-1160.15.2.el7.x86_64 #1 SMP Thu Jan 21 16:15:07 EST 2021 x86_64 x86_64 x86_64 GNU/Linux
```

Comment 8 errata-xmlrpc 2021-04-21 13:18:52 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.9 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-2021:1313