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

The %onerror kickstart code is not executed on installation failure

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • rhel-9.4.z
    • anaconda
    • None
    • None
    • Important
    • rhel-sst-installer
    • ssg_front_door
    • 0
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • None
    • None
    • Unspecified Release Note Type - Unknown
    • All
    • None

      What were you trying to do that didn't work?

      Run custom code in the %onerror kickstart handler.

      Please provide the package NVR for which bug is seen:

      Latest version of anaconda supplied with RHEL 9.4.z OS

      How reproducible:

      100%

      Steps to reproduce

      1. Add %onerror section to a kickstart file
      2. Simulate an error by pulling a non-existent image using `ostreecontainer` or `ostreesetup` directive in kickstart
      3. Observe the error on the console, but no %onerror code is executed

      Expected results

      %onerror code to be executed unconditionally on an error condition during the installation.

      Actual results

      %onerror are not executed on error condition during the installation.

              anaconda-maint-list anaconda-maint-list
              ggiguash@redhat.com Gregory Giguashvili
              anaconda-maint-list anaconda-maint-list
              Release Test Team Release Test Team
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: