Bug 1882389

Summary: Search query in template for LEAPP upgrade should be pre-filled when running from pre-upgrade results
Product: Red Hat Satellite Reporter: Lucie Vrtelova <lvrtelov>
Component: Leapp integrationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Lucie Vrtelova <lvrtelov>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: aruzicka, egolov, lstejska
Target Milestone: 6.8.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman_leapp-0.1.6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 13:09:06 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:

Description Lucie Vrtelova 2020-09-24 12:53:01 UTC
Description of problem:
Search query in template for LEAPP upgrade should be pre-filled when using from pre-upgrade results. 

Version-Release number of selected component (if applicable):
tfm-rubygem-foreman_leapp-0.1.3-1.el7sat.noarch.rpm

How reproducible:
always

Steps to Reproduce:
1.run pre-upgrade on host with RHEL 7.9
2.try to run upgrade from pre-upgrade results

Actual results:
no applicable search query for host is used

Expected results:
search query should be pre-filled in upgrade template

Additional info:
It's working just fine when upgrading RHEL 7.8 host. After discussion with lstejska it shouldn't be OS bug, tho.

Comment 1 Leos Stejskal 2020-09-24 13:19:06 UTC
Created redmine issue https://projects.theforeman.org/issues/30911 from this bug

Comment 2 Leos Stejskal 2020-09-25 06:50:51 UTC
I can confirm that the issue is not caused by the host OS, but by "automatically fixable" items in the report.

How to reproduce the issue:
* Have report without items that can be fixed by Leapp tool (they don't have commands)
* Click on run upgrade
 -> Search query field is empty

FIXED IN: https://github.com/theforeman/foreman_leapp/pull/102

Comment 3 Leos Stejskal 2020-09-25 09:10:47 UTC
Fixed have been merged and released in version 0.1.6

Comment 8 errata-xmlrpc 2020-10-27 13:09:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.8 release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4366