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

Tuned does not expand ${f:calc_isolated_cores:1} in RHEL 9.0 causing grub to be unable to boot

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • rhel-9.0.0
    • tuned
    • None
    • No
    • Critical
    • rhel-sst-cs-net-perf-services
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • Unspecified
    • None

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

      Set the real-time profile for RHEL for realtime. Note that it is currently broken: See https://issues.redhat.com/browse/RHEL-52430

      Rating this as critical because it means customers can not run RHEL 9.0 for realtime with the realtime tuned profile and I can not get crash dumps of the real-time kernel for RHEL 9.0 for debugging. The realtime tuned profile is our listed preferred way to run as written in our customer facing documentation.

      How reproducible:

      After you restart you may need to restart again or use a grubby command to trigger it such as `grubby add crashkernel=512M`. You can see this by press e on the grub boot screen.

      Steps to reproduce

      1. Install tuned-profiles-realtime
      2. Amend /etc/tuned/realtime-variables.conf by adding 
        isolated_cores=${f:calc_isolated_cores:1}
      1. Set profile to realtime: `sudo tuned-adm profile realtime`
      2. Restart, grub should report a syntax error when it tries to boot a kernel as shown below

      Expected results

      See this picture from 9.2

      Actual results the isolcpus is not expanded (Press e on grub to show)

        1. Screenshot from 2024-08-01 11-12-42.png
          38 kB
          John Wyatt
        2. Screenshot from 2024-08-10 02-00-53.png
          18 kB
          John Wyatt
        3. Screenshot from 2024-08-20 16-51-48.png
          54 kB
          John Wyatt
        4. Screenshot from 2024-08-20 19-23-10.png
          58 kB
          John Wyatt

              jskarvad Jaroslav Skarvada
              jwyatt@redhat.com John Wyatt
              Jaroslav Skarvada Jaroslav Skarvada
              Robin Hack Robin Hack
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: