Bug 2141303

Summary: /run/anaconda/initrd_errors.txt: No such file or directory
Product: Red Hat Enterprise Linux 9 Reporter: Torkil Svensgaard <torkil>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: NEW --- QA Contact: Release Test Team <release-test-team>
Severity: medium Docs Contact:
Priority: medium    
Version: 9.0CC: jkonecny, lagordon, pvalena, sbarcomb
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Attachments:
Description Flags
Debug log none

Description Torkil Svensgaard 2022-11-09 13:00:31 UTC
Description of problem:
Trying to provision a RHEL 9 system with Satellite 6.11 kickstart infrastructure. 

It fails with this:

"
[  323.093795] g76 dracut-initqueue[1208]: //lib/dracut/hooks/initqueue/timeout/50-anaconda-error-reporting.sh@7(): warn '############# Anaconda installer errors begin #############'
[  323.093795] g76 dracut-initqueue[1208]: //lib/dracut-lib.sh@85(warn): echo 'Warning: ############# Anaconda installer errors begin #############'
[  323.093795] g76 dracut-initqueue[1208]: Warning: ############# Anaconda installer errors begin #############
[  323.093795] g76 dracut-initqueue[1208]: //lib/dracut/hooks/initqueue/timeout/50-anaconda-error-reporting.sh@8(): warn '#                                                         #'
[  323.093795] g76 dracut-initqueue[1208]: //lib/dracut-lib.sh@85(warn): echo 'Warning: #                                                         #'
[  323.093795] g76 dracut-initqueue[1208]: Warning: #                                                         #
[  323.093795] g76 dracut-initqueue[1208]: //lib/dracut/hooks/initqueue/timeout/50-anaconda-error-reporting.sh@9(): warn 'It seems that the boot has failed. Possible causes include '
[  323.093795] g76 dracut-initqueue[1208]: //lib/dracut-lib.sh@85(warn): echo 'Warning: It seems that the boot has failed. Possible causes include '
[  323.093795] g76 dracut-initqueue[1208]: Warning: It seems that the boot has failed. Possible causes include
[  323.093795] g76 dracut-initqueue[1208]: //lib/dracut/hooks/initqueue/timeout/50-anaconda-error-reporting.sh@10(): warn 'missing inst.stage2 or inst.repo boot parameters on the '
[  323.093795] g76 dracut-initqueue[1208]: //lib/dracut-lib.sh@85(warn): echo 'Warning: missing inst.stage2 or inst.repo boot parameters on the '
[  323.093795] g76 dracut-initqueue[1208]: Warning: missing inst.stage2 or inst.repo boot parameters on the
[  323.133887] g76 dracut-initqueue[1208]: //lib/dracut/hooks/initqueue/timeout/50-anaconda-error-reporting.sh@11(): warn 'kernel cmdline. Please verify that you have specified '
[  323.133887] g76 dracut-initqueue[1208]: //lib/dracut-lib.sh@85(warn): echo 'Warning: kernel cmdline. Please verify that you have specified '
[  323.133887] g76 dracut-initqueue[1208]: Warning: kernel cmdline. Please verify that you have specified
[  323.133887] g76 dracut-initqueue[1208]: //lib/dracut/hooks/initqueue/timeout/50-anaconda-error-reporting.sh@12(): warn 'inst.stage2 or inst.repo.'
[  323.133887] g76 dracut-initqueue[1208]: //lib/dracut-lib.sh@85(warn): echo 'Warning: inst.stage2 or inst.repo.'
[  323.133887] g76 dracut-initqueue[1208]: Warning: inst.stage2 or inst.repo.
[  323.133887] g76 dracut-initqueue[1208]: //lib/dracut/hooks/initqueue/timeout/50-anaconda-error-reporting.sh@13(): warn 'Please also note that the '\''inst.'\'' prefix is now mandatory.'
[  323.133887] g76 dracut-initqueue[1208]: //lib/dracut-lib.sh@85(warn): echo 'Warning: Please also note that the '\''inst.'\'' prefix is now mandatory.'
[  323.133887] g76 dracut-initqueue[1208]: Warning: Please also note that the 'inst.' prefix is now mandatory.
[  323.133887] g76 dracut-initqueue[1208]: //lib/dracut/hooks/initqueue/timeout/50-anaconda-error-reporting.sh@14(): warn '#                                                         #'
[  323.133887] g76 dracut-initqueue[1208]: //lib/dracut-lib.sh@85(warn): echo 'Warning: #                                                         #'
[  323.133887] g76 dracut-initqueue[1208]: Warning: #                                                         #
[  323.133887] g76 dracut-initqueue[1208]: //lib/dracut/hooks/initqueue/timeout/50-anaconda-error-reporting.sh@15(): warn '####     Installer errors encountered during boot:     ####'
[  323.133887] g76 dracut-initqueue[1208]: //lib/dracut-lib.sh@85(warn): echo 'Warning: ####     Installer errors encountered during boot:     ####'
[  323.133887] g76 dracut-initqueue[1208]: Warning: ####     Installer errors encountered during boot:     ####
[  323.133887] g76 dracut-initqueue[1208]: //lib/dracut/hooks/initqueue/timeout/50-anaconda-error-reporting.sh@16(): warn '#                                                         #'
[  323.133887] g76 dracut-initqueue[1208]: //lib/dracut-lib.sh@85(warn): echo 'Warning: #                                                         #'
[  323.133887] g76 dracut-initqueue[1208]: Warning: #                                                         #
[  323.133887] g76 dracut-initqueue[1208]: /lib/dracut/hooks/initqueue/timeout/50-anaconda-error-reporting.sh: line 19: /run/anaconda/initrd_errors.txt: No such file or directory
[  323.172444] g76 dracut-initqueue[1208]: //lib/dracut/hooks/initqueue/timeout/50-anaconda-error-reporting.sh@20(): warn '#                                                         #'
[  323.172444] g76 dracut-initqueue[1208]: //lib/dracut-lib.sh@85(warn): echo 'Warning: #                                                         #'
[  323.172444] g76 dracut-initqueue[1208]: Warning: #                                                         #
[  323.172444] g76 dracut-initqueue[1208]: //lib/dracut/hooks/initqueue/timeout/50-anaconda-error-reporting.sh@21(): warn '############# Anaconda installer errors end ###############'
[  323.172444] g76 dracut-initqueue[1208]: //lib/dracut-lib.sh@85(warn): echo 'Warning: ############# Anaconda installer errors end ###############'
"

Why is /run/anaconda/initrd_errors.txt (and /run/anaconda) missing?


Version-Release number of selected component (if applicable):
Not sure, whatever comes with Satellite 6.11 / RHEL 9

How reproducible:
Every time

Steps to Reproduce:
Run provisioning

Actual results:
Dropped to emergency shell

Expected results:
The actual error is shown

Additional info:
The failed installation is tracked in support ticket 03333044 and bug 2138320 but the missing initrd_errors.txt might be a general problem, masking the actual problem.

I also filed a bug with dracut but they referred me to you guys:

https://github.com/dracutdevs/dracut/issues/2047

Comment 1 Torkil Svensgaard 2022-11-09 13:01:50 UTC
Created attachment 1923357 [details]
Debug log

Comment 2 Jiri Konecny 2022-11-18 09:50:44 UTC
*** Bug 2113882 has been marked as a duplicate of this bug. ***

Comment 4 Pavel Valena 2023-06-27 11:53:01 UTC
*** Bug 2138320 has been marked as a duplicate of this bug. ***

Comment 5 Pavel Valena 2023-06-27 16:13:54 UTC
I've checked the log, and as already mentioned in the duplicate bug, these all seem to be just warnings. The cause of the failure is kickstart timeout -- So either it took much long than expected (you can raise the timeout), or the kickstart has stuck/failed on some point. It would be best to follow up on that path first (i.e. starting with some minimal kickstart and seeing if that fails, and in what conditions).

As mentioned in https://github.com/dracutdevs/dracut/issues/2047#issuecomment-1342764207 it's most probably not a dracut issue; it might be anaconda (dracut) module issue, but it would be very hard to procceed without reproducer.

Comment 6 Torkil Svensgaard 2023-06-28 07:01:32 UTC
I haven't seen the issue after upgrading the operating system used by the satellite installer from 9.0 to 9.1. Same kickstart files.

Comment 7 Jiri Konecny 2023-06-29 09:19:44 UTC
Not fixed in the code so your issue was probably suppressed by something else.

Anyway the upstream fix is available here: https://github.com/rhinstaller/anaconda/pull/4665