Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1412538 - [RFE] %onerror from pykickstart
[RFE] %onerror from pykickstart
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: anaconda (Show other bugs)
7.2
Unspecified Unspecified
medium Severity unspecified
: rc
: 7.3
Assigned To: Vendula Poncova
Release Test Team
Filip Hanzelka
: FutureFeature
Depends On: 1367663
Blocks: 1298243 1395321 1428469
  Show dependency treegraph
 
Reported: 2017-01-12 03:54 EST by Samantha N. Bueno
Modified: 2017-08-01 04:53 EDT (History)
9 users (show)

See Also:
Fixed In Version: anaconda-21.48.22.102-1
Doc Type: Enhancement
Doc Text:
Kickstart installation failure automatically triggers `%onerror` scripts This enhancement makes sure that the `%onerror` sections in a kickstart file are run if the *Anaconda* installation fails. The scripts can be used to collect logs automatically for further examination. As a result of this update, when a traceback or another fatal error occurs during the installation, the installer performs the `%onerror` scripts and the `%traceback` scripts check if the error was caused by a traceback.
Story Points: ---
Clone Of: 1367663
: 1428469 (view as bug list)
Environment:
Last Closed: 2017-08-01 04:53:21 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2293 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2017-08-01 08:39:44 EDT

  None (edit)
Comment 1 Samantha N. Bueno 2017-01-12 03:56:07 EST
Required change due to pykickstart bug 1367663.

From Chris:
"""
The anaconda portion is this:                                                                     
                                                                                                  
https://github.com/rhinstaller/anaconda/commit/e470d17cce407a63cea65450f33666b16dcb390a           
                                                                                                  
But that would probably be very different on rhel7-branch.                                        
Conceptually, it's pretty easy to do though.
"""
Comment 3 Vendula Poncova 2017-03-08 04:56:27 EST
The fix is available in a pull request: https://github.com/rhinstaller/anaconda/pull/985
Comment 5 Peter Kotvan 2017-04-25 08:56:47 EDT
I was able to verify this bug on RHEL-7.4-20170421.1 with anaconda-21.48.22.110-1.el7.
Comment 9 errata-xmlrpc 2017-08-01 04:53:21 EDT
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/RHBA-2017:2293

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