Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-1737 Incorrect OS name in convert2rhel.facts post conversion to RHEL
  3. RHELC-1739

Incorrect OS name in convert2rhel.facts post conversion to RHEL - Integration tests

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • 2.2.0
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Testable

      The parent issue RHELC-1737 has the label that triggered autocreation of this subtask to track the relative story point estimation for the integration test part of the issue.

      The parent issue description at the time of creation of this issue was:
      Description of problem:

       convert2rhel.facts show incorrect OS name after conversion to RHEL.

      How reproducible:

      Always

      Is this issue a regression from an earlier version:

      Yes

      Steps to Reproduce:

      1. Setup and convert a centos/oracle host to RHEL using Convert2RHEL Ansible job

      2. Verify "/etc/rhsm/facts/convert2rhel.facts" on host

      3.

      Actual behavior:
      [The file show old OS in the conversions.target_os.name]

      Expected behavior:
      [The file should show converted RHEL OS in the conversions.target_os.name]]

      Business Impact / Additional info:

       

      Stacktrace:

      convert2rhel_facts

      {'conversions.executed': '/usr/bin/convert2rhel -y --activationkey ***** --org *****', 'conversions.target_os.id': 'Core', 'conversions.packages.0.nevra': '0:convert2rhel-2.1.0-1.el7.noarch', 'conversions.version': '1', 'conversions.activity_ended': '2024-09-18T14:40:53.884176Z', 'conversions.source_os.id': 'Core', 'conversions.run_id': 'null', 'conversions.target_os.version': '7.9', 'conversions.packages.0.signature': 'RSA/SHA256, Thu Aug 22 20:45:25 2024, Key ID 199e2f91fd431d51', 'conversions.env.CONVERT2RHEL_THROUGH_FOREMAN': '1', 'conversions.target_os.name': 'CentOS Linux', 'conversions.activity': 'conversion', 'conversions.activity_started': '2024-09-18T14:29:22.867815Z', 'conversions.success': True, 'conversions.source_os.version': '7.9', 'conversions.source_os.name': 'CentOS Linux'}

            Unassigned Unassigned
            rhel-process-autobot RHEL Jira bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: