Uploaded image for project: 'Red Hat Insights Engineering'
  1. Red Hat Insights Engineering
  2. RHINENG-12446

Enabling a non-default repository in conversion experience removes default repos

XMLWordPrintable

    • False
    • False
    • Hide

      None

      Show
      None
    • 3

      ** Note that this is a public ticket, please refrain from adding any sensitive data. **

      Enabling any non-default repository input parameter will override the default repositories needed for the analysis and conversion.

      When I try to analyse with the input parameter "rhel-7-server-optional-rpms", the analysis ends with a "Unsupported kernel modules inhibitor", and when I analyse with "rhel-7-server-extras-rpms" or "rhel-7-server-extras-rpms" it ends with "No RHEL kernel modules were found". This seems to happen as when I enable any non-default repository, the default "rhel-7-server-rpms" is not present.

      When checking the task logs I can see the command that invoked C2R:

      Calling command '/usr/bin/convert2rhel analyze -y --els --enablerepo=rhel-7-server-extras-rpms'

      But when using "--enablerepo" it should look like:

      convert2rhel analyze -y --els --enablerepo=rhel-7-server-rpms --enablerepo=rhel-7-server-extras-rpms

       

      How to reproduce:

      1. Register a CentOS 7.9 system in Insights stage.
      2. Go to tasks menu and open "Pre-conversion analysis for converting to RHEL(stage)".
      3. Select the previous registered system and select any of the non-default repositories in the task input parameters.
      4. Run the analysis and wait it to finish.

      After the analysis finishes, one from the previously detailed errors will pop up.

            rolivier@redhat.com Rodolfo Olivieri
            rh-ee-ssantama Sergio Santamaria Riocerezo
            Sergio Santamaria Riocerezo Sergio Santamaria Riocerezo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: