Bug 2256154

Summary: warning: %post(foreman-installer-1:3.7.0.5-1.el8sat.noarch) scriptlet failed, exit status 27
Product: Red Hat Satellite Reporter: Amar Ganbat <aganbat>
Component: InstallationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Lukas Pramuk <lpramuk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.14.0CC: ahumbe, ehelms, lpramuk, rlavi, zhunting
Target Milestone: 6.15.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: Environment:
Last Closed: 2024-04-23 17:16:45 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 Amar Ganbat 2023-12-29 01:14:34 UTC
Description of problem:

DNF update/reinstall of this package throwing this error.

~~~
Upgrading        : foreman-installer-1:3.7.0.5-1.el8sat.noarch                                                                                                                                                                        22/94 
  Running scriptlet: foreman-installer-1:3.7.0.5-1.el8sat.noarch                                                                                                                                                                        22/94 
ERROR: Selected scenario is DISABLED, can not continue.
       Use --list-scenarios to list available options.
       You can also --enable-scenario SCENARIO to make the selected scenario available.
warning: %post(foreman-installer-1:3.7.0.5-1.el8sat.noarch) scriptlet failed, exit status 27

Error in POSTIN scriptlet in rpm package foreman-installer
~~~

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

6.14

How reproducible:

Attempt the upgrade of foreman-installer package

Expected results: 

dnf/yum update is expected to be completed without any warning or issue.

Additional info:

Comment 1 Lukas Pramuk 2024-02-07 16:27:01 UTC
VERIFIED.

@Satellite 6.15.0 Snap 8
foreman-installer-3.9.0-3.el8sat.noarch

by this simple manual step:

# rpm -q --scripts foreman-installer
<empty>

>>> there are no scriptlets that means no errors (action is handled by installer run)

Comment 5 errata-xmlrpc 2024-04-23 17:16:45 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.15.0 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-2024:2010