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 1652905

Summary: Scriptlet error while upgrading to 6.5 in foreman-installer-1.20
Product: Red Hat Satellite Reporter: Nikhil Kathole <nkathole>
Component: PackagingAssignee: Chris Roberts <chrobert>
Status: CLOSED ERRATA QA Contact: Nikhil Kathole <nkathole>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.5.0CC: chrobert, ehelms, jhutar, pcreech
Target Milestone: 6.5.0Keywords: Regression, Triaged, Upgrades
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-14 12:39:05 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:
Bug Depends On:    
Bug Blocks: 1653153    

Description Nikhil Kathole 2018-11-23 13:24:59 UTC
Description of problem:

While updating 6.4 to 6.5, scriptlet error is shown 


Updating   : 1:foreman-installer-1.20.0-1.el7sat.noarch              539/1335 

 warning: /etc/foreman-installer/scenarios.d/foreman-answers.yaml created as /etc/foreman-installer/scenarios.d/foreman-answers.yaml.rpmnew
 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:1.20.0-1.el7sat.noarch) scriptlet failed, exit status 27
 Non-fatal POSTIN scriptlet failure in rpm package 1:foreman-installer-1.20.0-1.el7sat.noarch


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

Satellite 6.5 snap 5


How reproducible: always


Steps to Reproduce:
1. Have sat 6.4
2. enable 6.5 repos
3. yum update

Actual results:
While updating package 

 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:1.20.0-1.el7sat.noarch) scriptlet failed, exit status 27
 Non-fatal POSTIN scriptlet failure in rpm package 1:foreman-installer-1.20.0-1.el7sat.noarch


Expected results: No scriptlet failure/error.


Additional info:

Comment 3 Jan Hutaƙ 2018-11-27 06:07:08 UTC
Also shows itself when upgrading from 6.5 snap 4 to snap 5.

Comment 4 Nikhil Kathole 2018-12-02 11:48:52 UTC
VERIFIED

version tested:
Satellite 6.5 snap 6

No scriptlet error found.

 1:foreman-installer-1.20. [                          ]  550/1353
   Updating   : 1:foreman-installer-1.20. [#                         ]  550/1353
   Updating   : 1:foreman-installer-1.20. [##                        ]  550/1353
   Updating   : 1:foreman-installer-1.20. [###                       ]  550/1353
   Updating   : 1:foreman-installer-1.20. [####                      ]  550/1353
   Updating   : 1:foreman-installer-1.20. [#####                     ]  550/1353
   Updating   : 1:foreman-installer-1.20. [######                    ]  550/1353
   Updating   : 1:foreman-installer-1.20. [#######                   ]  550/1353
   Updating   : 1:foreman-installer-1.20. [########                  ]  550/1353
   Updating   : 1:foreman-installer-1.20. [#########                 ]  550/1353
   Updating   : 1:foreman-installer-1.20. [##########                ]  550/1353
   Updating   : 1:foreman-installer-1.20. [###########               ]  550/1353
   Updating   : 1:foreman-installer-1.20. [############              ]  550/1353
   Updating   : 1:foreman-installer-1.20. [#############             ]  550/1353
   Updating   : 1:foreman-installer-1.20. [##############            ]  550/1353
   Updating   : 1:foreman-installer-1.20. [###############           ]  550/1353
   Updating   : 1:foreman-installer-1.20. [################          ]  550/1353
   Updating   : 1:foreman-installer-1.20. [#################         ]  550/1353
   Updating   : 1:foreman-installer-1.20. [##################        ]  550/1353
   Updating   : 1:foreman-installer-1.20. [###################       ]  550/1353
   Updating   : 1:foreman-installer-1.20. [####################      ]  550/1353
   Updating   : 1:foreman-installer-1.20. [#####################     ]  550/1353
   Updating   : 1:foreman-installer-1.20. [######################    ]  550/1353
   Updating   : 1:foreman-installer-1.20. [#######################   ]  550/1353
   Updating   : 1:foreman-installer-1.20. [########################  ]  550/1353
   Updating   : 1:foreman-installer-1.20. [######################### ]  550/1353
   Updating   : 1:foreman-installer-1.20.0-2.el7sat.noarch              550/1353 
 warning: /etc/foreman-installer/scenarios.d/foreman-answers.yaml created as /etc/foreman-installer/scenarios.d/foreman-answers.yaml.rpmnew
 
   Updating   : katello-installer-base-3. [                          ]  551/1353
   Updating   : katello-installer-base-3. [#                         ]  551/1353

Comment 6 errata-xmlrpc 2019-05-14 12:39:05 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, 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-2019:1222