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

fix: Use tuned files instead of using it as a module

    • rhel-system-roles-1.88.4-0.1.el9
    • No
    • None
    • 1
    • rhel-sst-system-roles
    • 1
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • No
    • Red Hat Enterprise Linux
    • System Roles Sprint 4
    • Release Note Not Required
    • None

      The previous version of the kernel_settings role used `tuned` as
      a python library, and had a `kernel_settings` module which was a
      wrapper around this code. However, `tuned` version 2.23 has changed
      its internal API and it is no longer possible to use it as a python
      library. Instead, the kernel_settings role has been refactored to
      read/write `tuned` config files, and let the `tuned` daemon manage
      the settings.

      In addition, `tuned` 2.23 changed the location of the profile directory,
      so the kernel_settings role will now determine the location of the
      profile directory depending on the `tuned` version.

      The old `kernel_settings` module is removed, along with all of the
      python unit testing code.

      A new `kernel_settings_get_config` module has been created which will
      simply parse and return the given config file as a `dict`.

      Signed-off-by: Rich Megginson <rmeggins@redhat.com>

              rmeggins@redhat.com Richard Megginson
              rmeggins@redhat.com Richard Megginson
              Richard Megginson Richard Megginson
              David Jez David Jez
              Jaroslav Klech Jaroslav Klech
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: