Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-674

Allow skipping the non-RHEL kmods check

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • None
    • convert2rhel
    • None

      Kernel modules in centos stream may not be available in RHEL. This can have a variety of reasons, for instance:

      • kmod is compiled into the kernel in RHEL but it is in a separate module in centos stream.

      So for centos stream conversions we would like the user to be able to override our inhibitor.

      Acceptance Criteria:

      • On a Centos Stream machine with a kernel module package installed that has a kernel mudule not present in RHEL:
      • When the user runs convert2rhel, with the environment variable unset, conversion will fail with:
        The following kernel modules are not supported in RHEL:\n {kmods}

        \n
        This may be due to the functionality being compiled into a kernel module instead of as part of the main kernel, new functionality, or being added locally. Please verify whether the system will need these kernel modules to work correctly after the conversion. If you determine that these kernel modules are not needed, you can re-run convert2rhel with the environment variable, CONVERT2RHEL_UNSUPPORTED_SKIP_KERNEL_MODULE_IN_RHEL_CHECK=1 set to skip this check.

      • Once the user has set the environment variable `CONVERT2RHEL_UNSUPPORTED_SKIP_KERNEL_MODULE_IN_RHEL_CHECK`, convert2rhel will emit a warning that the kernel module is not present in RHEL but continue to a successful conversion.
      • When running on a non-CentOS Stream machine, the check should remain as it is now.

            tkuratom@redhat.com Toshio Kuratomi
            tkuratom@redhat.com Toshio Kuratomi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: