Bug 2258956

Summary: Rerun of "Convert2Rhel Analyze" job fails on selected host
Product: Red Hat Satellite Reporter: Shweta Singh <shwsingh>
Component: Conversions applianceAssignee: Leos Stejskal <lstejska>
Status: CLOSED MIGRATED QA Contact: Shweta Singh <shwsingh>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.15.0CC: lstejska, rlavi
Target Milestone: UnspecifiedKeywords: MigratedToJIRA, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-06 16:59:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Convert2Rhel Analyze Bug none

Description Shweta Singh 2024-01-18 08:33:51 UTC
Created attachment 2009096 [details]
Convert2Rhel Analyze Bug

Created attachment 2009096 [details]
Convert2Rhel Analyze Bug

Description of problem:
Rerun of "Convert2Rhel Analyze" on selected host fails with "NilClass" error in Preview template.
It also deletes the os version in UI host details page for the host if the "Convert2Rhel Analyze" job fails in first run.

Version-Release number of selected component (if applicable):
6.15.0

How reproducible:
Always

Steps to Reproduce:
1. Get a centos or an oracle host which needs to be converted to rhel.
2. Register the host and add required repos and utility for conversion
3. Run "Convert2Rhel Analyze" Job invocation on the host with some missing pre-requisites so that the Analyze job fails.
4. Fix the inhibitors and re-run the job again.

Actual results:
1. Re-run of job fails even if there are no inhibitors.
2. There is an error of "NilClass" in Preview Template.
3. It deletes the os version from the table on All Hosts page if the job fails for the first time.

Expected results:
1. Re-run of job should work if all the inhibitors are fixed
2. NilClass error in preview Template should not be given.
3. It should not delete the os version in host table whether the job passes or fails.

Additional: Snapshot of PreviewTemplate Bug is attached.

Additional info:

Comment 3 Eric Helms 2024-06-06 16:59:44 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "SAT-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.