• 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

            [RHEL-5638] /run/anaconda/initrd_errors.txt: No such file or directory

            Errata Tool added a comment -

            Since the problem described in this issue should be resolved in a recent advisory, it has been closed.

            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-2024:2268

            Errata Tool added a comment - Since the problem described in this issue should be resolved in a recent advisory, it has been closed. 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-2024:2268

            Sagar Dubewar added a comment - - edited

            Added finalised release notes text under the documentation section for this issue. No more work is pending on this issue for now. thanks rhn-support-gfialova for adding this in the tickets.yaml  

            Sagar Dubewar added a comment - - edited Added finalised release notes text under the documentation section for this issue. No more work is pending on this issue for now. thanks rhn-support-gfialova for adding this in the tickets.yaml  

            This ticket has been added into the tickets.yaml file for RHEL 9.4 Beta Release Notes.

            Gabriela Fialova added a comment - This ticket has been added into the tickets.yaml file for RHEL 9.4 Beta Release Notes.

            Hi sdubewar RN text and type is set now.

            Jiri Konecny added a comment - Hi sdubewar RN text and type is set now.

            hello jkonecny@redhat.com, could you please set Release Notes Type under the documentation tab along with initial information under Release notes text so I can start preparing release notes for this issue for the upcoming release? 

            Sagar Dubewar added a comment - hello jkonecny@redhat.com , could you please set Release Notes Type under the documentation tab along with initial information under Release notes text so I can start preparing release notes for this issue for the upcoming release? 

            Jan Stodola added a comment -

            anaconda-34.25.4.4-1.el9 is included in RHEL-9.4.0-20240131.13, moving to Release Pending.

            Jan Stodola added a comment - anaconda-34.25.4.4-1.el9 is included in RHEL-9.4.0-20240131.13, moving to Release Pending.

            Jan Stodola added a comment -

            The problem with printing the misleading warning is gone.

            Tested with anaconda-34.25.4.3-1.el9

            Marking as Preliminary testing: Pass

            Jan Stodola added a comment - The problem with printing the misleading warning is gone. Tested with anaconda-34.25.4.3-1.el9 Marking as Preliminary testing: Pass

            gitlab-bot added a comment -

            mkolman mentioned this issue in a merge request of Red Hat / centos-stream / rpms / anaconda on branch c9s-34.25.4.3-1:

            Update to anaconda-34.25.4.3-1

            gitlab-bot added a comment - mkolman mentioned this issue in a merge request of Red Hat / centos-stream / rpms / anaconda on branch c9s-34.25.4.3-1 : Update to anaconda-34.25.4.3-1

            Jiri Konecny added a comment - PR: https://github.com/rhinstaller/anaconda/pull/5406

            Reproducer is to boot the ISO and removing any `inst.repo` or `inst.stage2` from the kernel command line parameter. You can't use kickstart of course.

            Jiri Konecny added a comment - Reproducer is to boot the ISO and removing any `inst.repo` or `inst.stage2` from the kernel command line parameter. You can't use kickstart of course.

              jkonecny@redhat.com Jiri Konecny
              drcmradmin2 Torkil Svensgaard
              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: