Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-2635

c2r experience: convert 2 rhel preanalysis task results details not captured in UI

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • Conversions-MVP
    • None
    • None
    • Important
    • None

      The Convert 2 RHEL preanalysis task output is not being properly displayed in the front-end

      Currently, the front-end is not capturing and displaying all the relevant details from the task output. Specifically, it's only showing the "message" value from the report_json output, while there are additional important details present in the JSON output that should be visible in the UI.

      Expected Behavior: The front-end should accurately capture and display all relevant details from the task output, including those contained within the entries. This ensures that users have access to comprehensive information regarding task execution, skips and failures.

      Steps to Reproduce:

      1. Subscribe a CentOS 7.9 host to insights
      2. Execute the Convert 2 RHEL preanalysis task.
      3. Check the task output in the front-end.

      Environment:

      Back-end: stage_proxy

      UI: console.stage.redhat.com

       

      Task details:

      {
        "id": 4419,
        "name": "Pre-conversion analysis for converting to RHEL(stage)",
        "task_slug": "convert-to-rhel-preanalysis-stage",
        "task_title": "Pre-conversion analysis for converting to RHEL(stage)",
        "task_description": "For connected systems running Linux distributions that are supported for converting to Red Hat Enterprise Linux (RHEL), run the pre-conversion analysis to identify potential issues before you convert. Use this task to understand the impact of a conversion to your systems and provide remediation guidance.\nAdditional documentation to complete the conversion experience can be found at [Converting from an RPM-based Linux distribution to RHEL](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/converting_from_an_rpm-based_linux_distribution_to_rhel/index).\nThis task supports the CentOS Linux 7 distribution. Refer to the [Convert2RHEL Support Policy](https://access.redhat.com/support/policy/convert2rhel-support) for specific version support.",
        "initiated_by": "insights-test-day",
        "start_time": "2023-09-20T17:44:30.589004Z",
        "end_time": "2023-09-20T17:47:49.958544Z",
        "status": "Completed",
        "jobs": [
          {
            "system_id": "c947bc5e-fc62-462e-be53-42d171c235d9",
            "display_name": "testday-20-09-2023-c2r-3",
            "status": "Success",
            "results": {
              "report": "",
              "status": "ERROR",
              "message": "The conversion cannot proceed. You must resolve existing issues to perform the conversion.",
              "report_json": {
                "entries": [
                  {
                    "key": "VALIDATE_PACKAGE_MANAGER_TRANSACTION::SKIP",
                    "title": "Skipped action",
                    "detail": {
                      "diagnosis": {
                        "context": ""
                      },
                      "remediation": {
                        "context": ""
                      }
                    },
                    "summary": "Skipped because ENSURE_KERNEL_MODULES_COMPATIBILITY was not successful",
                    "severity": "SKIP",
                    "modifiers": [],
                    "variables": {}
                  },
                  {
                    "key": "REMOVE_EXCLUDED_PACKAGES::EXCLUDED_PACKAGES_REMOVED",
                    "title": "Excluded packages removed",
                    "detail": {
                      "diagnosis": {
                        "context": "The following packages were removed: geoipupdate-2.5.0-2.el7.x86_64"
                      },
                      "remediation": {
                        "context": ""
                      }
                    },
                    "summary": "Excluded packages that have been removed",
                    "severity": "INFO",
                    "modifiers": [],
                    "variables": {}
                  },
                  {
                    "key": "LIST_THIRD_PARTY_PACKAGES::THIRD_PARTY_PACKAGE_DETECTED_MESSAGE",
                    "title": "Third party packages detected",
                    "detail": {
                      "diagnosis": {
                        "context": "Only packages signed by CentOS Linux are to be replaced. Red Hat support won't be provided for the following third party packages:\nkernel-headers-3.10.0-1160.101.1.el7.x86_64, rhc-worker-script-0.4-2.20230919233036944297.main.27.g15f4b7c.el7.x86_64"
                      },
                      "remediation": {
                        "context": ""
                      }
                    },
                    "summary": "Third party packages will not be replaced during the conversion.",
                    "severity": "WARNING",
                    "modifiers": [],
                    "variables": {}
                  },
                  {
                    "key": "CUSTOM_REPOSITORIES_ARE_VALID::CUSTOM_REPOSITORIES_ARE_VALID_CHECK_SKIP",
                    "title": "Skipping the custom repos are valid check",
                    "detail": {
                      "diagnosis": {
                        "context": ""
                      },
                      "remediation": {
                        "context": ""
                      }
                    },
                    "summary": "Skipping the check of repositories due to the use of RHSM for the conversion.",
                    "severity": "INFO",
                    "modifiers": [],
                    "variables": {}
                  },
                  {
                    "key": "DBUS_IS_RUNNING::DBUS_IS_RUNNING_CHECK_SKIP",
                    "title": "Skipping the dbus is running check",
                    "detail": {
                      "diagnosis": {
                        "context": ""
                      },
                      "remediation": {
                        "context": ""
                      }
                    },
                    "summary": "Skipping the check because we have been asked not to subscribe this system to RHSM.",
                    "severity": "INFO",
                    "modifiers": [],
                    "variables": {}
                  },
                  {
                    "key": "REMOVE_REPOSITORY_FILES_PACKAGES::REPOSITORY_FILE_PACKAGES_REMOVED",
                    "title": "Repository file packages removed",
                    "detail": {
                      "diagnosis": {
                        "context": "The following packages were removed: centos-release-7-9.2009.1.el7.centos.x86_64"
                      },
                      "remediation": {
                        "context": ""
                      }
                    },
                    "summary": "Repository file packages that were removed",
                    "severity": "INFO",
                    "modifiers": [],
                    "variables": {}
                  },
                  {
                    "key": "ENSURE_KERNEL_MODULES_COMPATIBILITY::NO_RHEL_KERNEL_MODULES_FOUND",
                    "title": "No RHEL kernel modules were found",
                    "detail": {
                      "diagnosis": {
                        "context": "No packages containing kernel modules available in the enabled repositories (rhel-7-server-rpms)."
                      },
                      "remediation": {
                        "context": "Adding additional repositories to those mentioned in the diagnosis may solve this issue."
                      }
                    },
                    "summary": "This check was unable to find any kernel modules in the packages in the enabled yum repositories.",
                    "severity": "ERROR",
                    "modifiers": [],
                    "variables": {}
                  }
                ],
                "tasks_format_id": "oamg-format",
                "tasks_format_version": "1.0"
              }
            },
            "updated_on": "2023-09-20T17:47:49.769840Z"
          }
        ],
        "systems_count": 1,
        "parameters": []
      }
       

        1. image-2023-09-20-15-23-59-588.png
          184 kB
          Victor Wildner
        2. image-2023-09-28-21-15-03-402.png
          670 kB
          Victor Wildner

              rhn-engineering-micjohns Michael Johnson
              rhn-support-vwildner Victor Wildner
              Oliver Pacut Oliver Pacut
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: