-
Bug
-
Resolution: Won't Do
-
Normal
-
None
-
6.15.0
-
None
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: