Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-27923

Convert2RHEL analyze job report "CRITICAL - Repositories were not possible to enable through subscription-manager:"

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Rocket
    • Moderate
    • None

      Description of problem:

      Convert2RHEL analyze the job on Red Hat Satellite 6.16, report "CRITICAL - Repositories were not possible to enable through subscription-manager:" and the repository is enabled on Satellite.

      Failed section from job output:
      ~~~

       250: CRITICAL - Repositories were not possible to enable through subscription-manager:
       251: Error: 'rhel-7-server-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
       252:
       253: ERROR - (ERROR) SUBSCRIBE_SYSTEM::FAILED_TO_ENABLE_RHSM_REPOSITORIES - Failed to enable RHSM repositories
       254: Description: Repositories were not possible to enable through subscription-manager:
       255: Error: 'rhel-7-server-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
       256:
       257: Diagnosis: N/A
       258: Remediations: N/A
       259:
       260: ERROR - Skipped ENSURE_KERNEL_MODULES_COMPATIBILITY. Skipped because SUBSCRIBE_SYSTEM was not successful
       261: ERROR - Skipped VALIDATE_PACKAGE_MANAGER_TRANSACTION. Skipped because ENSURE_KERNEL_MODULES_COMPATIBILITY and SUBSCRIBE_SYSTEM were not successful
      ~~~

      Error message:
      ~~~
      371: ========== Error (Must fix before conversion) ==========
      372: (ERROR) SUBSCRIBE_SYSTEM::FAILED_TO_ENABLE_RHSM_REPOSITORIES - Failed to enable
      373: RHSM repositories
      374: Description: Repositories were not possible to enable through subscription-
      375: manager:
      376: Error: 'rhel-7-server-rpms' does not match a valid repository ID. Use
      377: "subscription-manager repos --list" to see valid repositories.
      378:
      379:  Diagnosis: N/A
      380: Remediations: N/A
      ~~~

      Repo enabled on Satellite:
      ~~~

      1. hammer repository list | grep rhel-7-server-rpms
        17 | Red Hat Enterprise Linux 7 Server RPMs x86_64 7.9                                | Red Hat Enterprise Linux Server                               | yum          | rhel-7-server-rpms                                | https://cdn.redhat.com/content/dist/rhel/server/7/7.9/x86_64/os                 
        3  | Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server                            | Red Hat Enterprise Linux Server                               | yum          | rhel-7-server-rpms                                | https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os   
        ~~~

      How reproducible:
      100%

      Is this issue a regression from an earlier version:

      Steps to Reproduce:
      1. Follow documentation for Convert2RHEL and perform Convert2RHEL analyze job
      2. As per prerequisites, the repo  'rhel-7-server-rpms' is already enabled.

      Actual behavior:
      Required repo  'rhel-7-server-rpms' already enabled on Satellite.
      Convert2RHEL analyze job reports it as does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories

      Expected behavior:
      As the repo is already enabled on Satellite this step should pass without issue.

       

      Business Impact / Additional info:

       

            rhn-engineering-lstejska Leos Stejskal
            rhn-support-mkushwah Mohit Kushwah
            Mohit Kushwah
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: