Bug 1857726

Summary: Warnings are shown during the satellite package installation on RHEL 7.9
Product: Red Hat Satellite Reporter: Ondrej Gajdusek <ogajduse>
Component: PackagingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Ondrej Gajdusek <ogajduse>
Severity: medium Docs Contact:
Priority: high    
Version: 6.8.0CC: egolov
Target Milestone: 6.8.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman_templates-9.0.0-2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 13:04:20 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 2020-07-16 12:41:50 UTC
Description of problem:
Installing Satellite 6.8 on RHEL 7.9 will produce warnings during the `yum install satellite` step. 

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

How reproducible:
always

Steps to Reproduce:
1. Install Satellite on RHEL 7.9.


Actual results:
Warnings are shown during the installation.

Expected results:
No warnings are shown during the installation.

Additional info:
Posting the part of the yum output containing the warnings:

... output omitted ...
  Installing : pulp-rpm-plugins-2.21.2-1.el7sat.noarch                  591/600 
  Installing : python-pulp-integrity-2.21.2-1.el7sat.noarch             592/600 
  Installing : pulp-docker-plugins-3.2.6-1.el7sat.noarch                593/600 
  Installing : pulp-katello-1.0.3-1.el7sat.noarch                       594/600 
  Installing : pulp-puppet-plugins-2.21.2-1.el7sat.noarch               595/600 
  Installing : python-pulp-streamer-2.21.2-1.el7sat.noarch              596/600 
  Installing : katello-3.16.0-0.4.rc4.el7sat.noarch                     597/600 
  Installing : pulp-maintenance-2.21.2-1.el7sat.noarch                  598/600 
  Installing : satellite-common-6.8.0-0.7.beta.el7sat.noarch            599/600 
  Installing : satellite-6.8.0-0.7.beta.el7sat.noarch                   600/600 
/var/tmp/rpm-tmp.3Qf4QS: line 2: fg: no job control
WARNING: ipmi_devintf module isn't available.
WARNING: ipmi_msghandler module isn't available.
Loaded plugins: product-id, subscription-manager
  Verifying  : libXext-1.3.3-3.el7.x86_64                                 1/600 
  Verifying  : perl-HTTP-Tiny-0.033-3.el7.noarch                          2/600 
  Verifying  : 1:xorg-x11-font-utils-7.5-21.el7.x86_64                    3/600 
  Verifying  : python-pulp-integrity-2.21.2-1.el7sat.noarch               4/600 
  Verifying  : pytz-2016.10-2.el7.noarch                                  5/600 
  Verifying  : boost-program-options-1.53.0-28.el7.x86_64                 6/600 
  Verifying  : apache-commons-collections-3.2.1-22.el7_2.noarch           7/600 
  Verifying  : tfm-rubygem-activerecord-session_store-1.1.1-4.el7sat.     8/600 
  Verifying  : tfm-rubygem-rack-2.2.2-1.el7sat.noarch                     9/600 
  Verifying  : rubygems-2.0.14.1-36.el7.noarch                           10/600 
  Verifying  : qpid-cpp-server-1.36.0-28.el7amq.x86_64                   11/600 
  Verifying  : puppet-foreman_scap_client-0.4.0-1.el7sat.noarch          12/600
... output omitted ...

Comment 1 Evgeni Golov 2020-07-21 09:40:06 UTC
problematic RPM is tfm-rubygem-foreman_templates-9.0.0-1.el7sat.noarch, let's see *why*

Comment 2 Evgeni Golov 2020-07-21 10:39:51 UTC
The macro is also used in 
tfm-rubygem-foreman_kubevirt
tfm-rubygem-foreman_virt_who_configure
tfm-rubygem-redhat_access

But it works correctly there (even though it should not, as we don't define it in Foreman anymore)

Comment 3 Evgeni Golov 2020-07-21 10:56:12 UTC
moving to post, upstream changes are merged, just needs sync to downstream

Comment 4 Ondrej Gajdusek 2020-09-16 09:50:03 UTC
Verified.

Line "/var/tmp/rpm-tmp.3Qf4QS: line 2: fg: no job control" is no longer shown but the other two warnings still remain. BZ1865858 tracks this issue.

Comment 7 errata-xmlrpc 2020-10-27 13:04:20 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