Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-5638

/run/anaconda/initrd_errors.txt: No such file or directory

    • anaconda-34.25.4.3-1.el9
    • None
    • Moderate
    • rhel-sst-installer
    • ssg_front_door
    • 23
    • None
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Bug Fix
    • Hide
      .Anaconda replaces the misleading error message when failing to boot an installation image

      Previously, when the installation program failed to boot the installation image, for example due to missing source of `stage2` specified in `inst.stage2` or `inst.repo`, Anaconda displayed the following misleading error message:

      ```
      /run/anaconda/initrd_errors.txt: No such file or directory
      ```
      With this update, Anaconda issues a proper warning message to minimize the confusion.
      Show
      .Anaconda replaces the misleading error message when failing to boot an installation image Previously, when the installation program failed to boot the installation image, for example due to missing source of `stage2` specified in `inst.stage2` or `inst.repo`, Anaconda displayed the following misleading error message: ``` /run/anaconda/initrd_errors.txt: No such file or directory ``` With this update, Anaconda issues a proper warning message to minimize the confusion.
    • Done
    • None

      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

              jkonecny@redhat.com Jiri Konecny
              drcmradmin2 Torkil Svensgaard (Inactive)
              Jiri Konecny Jiri Konecny
              Release Test Team Release Test Team
              Sagar Dubewar Sagar Dubewar
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: