Red Hat Bugzilla – Bug 1288636
Access to the payload class unavailable from anaconda addons
Last modified: 2016-11-11 03:28:29 EST
Description of problem:
Ultimately, I'm trying to get access to whatever implements
pyanaconda.packaging.Payload in the installing system. From my reading of
pyanaconda.install ( around line 260 ) it doesn't look like payload is
exposed to the addons.
Version-Release number of selected component (if applicable):anaconda-22.214.171.124-1
Steps to Reproduce:
1.Attempt to read the payload object from within the addons
unable to read the install payload from any anacoda addon
able to read the install payload from any anacoda addon
The patch is pushed now.
You can test the functionality with the following addon
This addon only do a simple use of the payload class but you can of course modify it as you want.
I've reproduced this bug on RHEL-7.2 GA with anaconda-126.96.36.199-1.el7, verified on RHEL-7.3-20160825.1 with anaconda-188.8.131.52-1.el7.
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.
Kdump addon does not access the payload, so leave it as is without update the addon is safe? If yes I would only update it when have to..
You are now using deprecated API so I would like to see Kdump addon updated. However, the new code is backward compatible and it just prints warning about using deprecated function signature.
I don't think we will remove this deprecated API any time soon so it should work properly for now.
Ok, then I cloned a RHEL7.4 bug 1394153 for kdump addon.
Thanks a lot!