Bug 1970879

Summary: /root/anaconda-ks.cfg file should be accessible when kickstart %post scripts are executed
Product: Red Hat Enterprise Linux 8 Reporter: Lev Veyde <lveyde>
Component: anacondaAssignee: Vendula Poncova <vponcova>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.4CC: anaconda-maint-list, arachman, cshao, jcastran, jstodola, lsvaty, lveyde, mavital, peyu, pkotvan, rvykydal, sbonazzo, sbueno, shlei, weiwang, yaniwang, zveleba
Target Milestone: betaKeywords: Triaged, ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: anaconda-33.16.5.4-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1953685
: 1983922 (view as bug list) Environment:
Last Closed: 2021-11-09 18:42:44 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: 1953685    

Comment 1 Lev Veyde 2021-06-11 11:39:58 UTC
The bug is opened for the purpose of backporting https://github.com/rhinstaller/anaconda/pull/3321 into RHEL 8.

Comment 2 Sandro Bonazzola 2021-06-24 14:36:40 UTC
Anaconda team, can you please triage this bug and target it?
The fix has been already merged in upstream anaconda, we need to get it included in RHEL 8 rpm rebuild.
It would be great to have it 8.4.0.2 but may work to get it in 8.5 as well if there's no chance to get the anaconda rpm updated in a zstream.
Please target this bug so we can plan accordingly when we'll be able to consume the fix. Thanks.

Comment 3 Jan Stodola 2021-06-25 09:15:48 UTC
Hi Sandro,
I do not understand this bug report very well, could you please clarify the expected behavior?
Let's say I have RHVH installation iso downloaded, what are the steps to reproduce this bug and later verify that the bug is fixed?
Is it possible to reproduce this bug using RHEL-8 iso?

Thank you

Comment 4 Samantha N. Bueno 2021-06-30 16:17:13 UTC
I'm setting dev_ack+, we can backport this for 8.5.

Sandro, would you or someone from your team be able to answer Jan's question from comment 3?

Comment 5 Sandro Bonazzola 2021-07-01 08:59:37 UTC
(In reply to Jan Stodola from comment #3)
> Hi Sandro,
> I do not understand this bug report very well, could you please clarify the
> expected behavior?
> Let's say I have RHVH installation iso downloaded, what are the steps to
> reproduce this bug and later verify that the bug is fixed?
> Is it possible to reproduce this bug using RHEL-8 iso?
> 
> Thank you

Not sure it's reproducible on RHEL 8 ISO, but using RHV-H ISO, basically perform an installation and then check if  /root/anaconda-ks.cfg is there after rebooting.

Comment 6 Vendula Poncova 2021-07-07 11:01:58 UTC
Fixed in https://github.com/rhinstaller/anaconda/pull/3495.

Comment 10 Jan Stodola 2021-07-20 07:49:01 UTC
Bug 1983922 was reported for RHEL-9.

Comment 14 Zdenek Veleba 2021-08-17 11:27:26 UTC
anaconda-33.16.5.4-1.el8 used for pre-verification is in compose RHEL-8.5.0-20210816.n.0, moving to Verified

Comment 16 errata-xmlrpc 2021-11-09 18:42:44 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 (anaconda bug fix and enhancement update), 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-2021:4254