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

[RHEL-9] On bootc installations, the kdump service fails during boot

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-9.6
    • rhel-9.4
    • kexec-tools
    • None
    • Important
    • ZStream
    • 1
    • sst_bootc, sst_kernel_debug
    • ssg_core_kernel
    • 10
    • 13
    • 5
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • Yes
    • CK-July-2024
    • Approved Blocker
    • None
    • None
    • Known Issue
    • Hide
      Cause (the user action or circumstances that trigger the bug):
      Consequence (what the user experience is when the bug occurs):
      Workaround (if available):
      Result (mandatory if the workaround does not solve the problem completely):
      Show
      Cause (the user action or circumstances that trigger the bug): Consequence (what the user experience is when the bug occurs): Workaround (if available): Result (mandatory if the workaround does not solve the problem completely):
    • Proposed
    • None

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

      Install an Image Mode host with a working kdump configuration.

      Please provide the package NVR for which bug is seen:

        https://catalog.redhat.com/software/containers/rhel9/rhel-bootc/6605573d4dbfe41c3d839c69?architecture=amd64&image=663233c6688ec8654626fc5b

      How reproducible:

      Easily

      Steps to reproduce

      1. Install the above image to a physical system
      2. Boot it
      3. Verify the status of the kdump.service

      Expected results

      # systemctl status kdump
      ● kdump.service - Crash recovery kernel arming
           Loaded: loaded (/usr/lib/systemd/system/kdump.service; enabled; preset: enabled)
          Drop-In: /etc/systemd/system/kdump.service.d
                   └─override.conf
           Active: active (exited) since Wed 2024-05-08 19:02:54 UTC; 5min ago
          Process: 743 ExecStart=/usr/bin/kdumpctl start (code=exited, status=0/SUCCESS)
         Main PID: 743 (code=exited, status=0/SUCCESS)
              CPU: 40.459sMay 08 19:02:45 localhost.localdomain dracut[1417]: *** Install squash loader ***
      May 08 19:02:46 localhost.localdomain dracut[1417]: *** Stripping files ***
      May 08 19:02:47 localhost.localdomain dracut[1417]: *** Stripping files done ***
      May 08 19:02:47 localhost.localdomain dracut[1417]: *** Squashing the files inside the initramfs ***
      May 08 19:02:53 localhost.localdomain dracut[1417]: *** Squashing the files inside the initramfs done ***
      May 08 19:02:53 localhost.localdomain dracut[1417]: *** Creating image file '/boot/ostree/default-a63d4cb7eb0f5722e9578253611ea919906a2aaea43ccba48e1664ca47c7cb27/initramfs-5.14.0-427.13.1.el9_4.x86_64kdump.img' ***
      May 08 19:02:53 localhost.localdomain dracut[1417]: *** Creating initramfs image file '/boot/ostree/default-a63d4cb7eb0f5722e9578253611ea919906a2aaea43ccba48e1664ca47c7cb27/initramfs-5.14.0-427.13.1.el9_4.x86_64kdump.img' done ***
      May 08 19:02:54 localhost.localdomain kdumpctl[760]: kdump: kexec: loaded kdump kernel
      May 08 19:02:54 localhost.localdomain kdumpctl[760]: kdump: Starting kdump: [OK]
      May 08 19:02:54 localhost.localdomain systemd[1]: Finished Crash recovery kernel arming.
      

      Actual results

      # systemctl status kdump
      × kdump.service - Crash recovery kernel arming
           Loaded: loaded (/usr/lib/systemd/system/kdump.service; enabled; preset: enabled)
           Active: failed (Result: exit-code) since Wed 2024-05-08 19:00:56 UTC; 23s ago
          Process: 747 ExecStart=/usr/bin/kdumpctl start (code=exited, status=1/FAILURE)
         Main PID: 747 (code=exited, status=1/FAILURE)
              CPU: 3.019sMay 08 19:00:54 localhost.localdomain systemd[1]: Starting Crash recovery kernel arming...
      May 08 19:00:54 localhost.localdomain kdumpctl[762]: kdump: Detected change(s) in the following file(s):  /etc/kdump.conf /etc/kdump/post.d/ /etc/kdump/pre.d/
      May 08 19:00:55 localhost.localdomain kdumpctl[762]: kdump: Detected change in File System
      May 08 19:00:56 localhost.localdomain kdumpctl[762]: kdump: Rebuilding /boot/ostree/default-a63d4cb7eb0f5722e9578253611ea919906a2aaea43ccba48e1664ca47c7cb27/initramfs-5.14.0-427.13.1.el9_4.x86_64kdump.img
      May 08 19:00:56 localhost.localdomain kdumpctl[762]: kdump: mkdumprd: failed to make kdump initrd
      May 08 19:00:56 localhost.localdomain kdumpctl[762]: kdump: Starting kdump: [FAILED]
      May 08 19:00:56 localhost.localdomain systemd[1]: kdump.service: Main process exited, code=exited, status=1/FAILURE
      May 08 19:00:56 localhost.localdomain systemd[1]: kdump.service: Failed with result 'exit-code'.
      May 08 19:00:56 localhost.localdomain systemd[1]: Failed to start Crash recovery kernel arming.
      May 08 19:00:56 localhost.localdomain systemd[1]: kdump.service: Consumed 3.019s CPU time.
       

        There are no Sub-Tasks for this issue.

            rh-ee-lichliu Lichen Liu
            rhn-support-kwalker Kyle Walker
            kdump devel team kdump devel team
            Xiaoying Yan Xiaoying Yan
            Gabriela Necasova Gabriela Necasova
            Votes:
            0 Vote for this issue
            Watchers:
            26 Start watching this issue

              Created:
              Updated: