Bug 2141303 - /run/anaconda/initrd_errors.txt: No such file or directory
Summary: /run/anaconda/initrd_errors.txt: No such file or directory
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: anaconda
Version: 9.0
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
: 2113882 2138320 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-09 13:00 UTC by Torkil Svensgaard
Modified: 2023-06-29 09:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Debug log (7.63 MB, text/plain)
2022-11-09 13:01 UTC, Torkil Svensgaard
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-138820 0 None None None 2022-11-09 13:12:23 UTC

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


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