-
Sub-task
-
Resolution: Done
-
Undefined
-
None
-
None
Description of problem:
On the new All Hosts page: The Remove Packages wizard uses ::Katello::Rpm.all to present a list of packages, from which you can select which packages to remove. The problem is that hosts can have installed packages which do not correspond to a ::Katello::Rpm. In this case, the user would not be able to select the package, even though it is actually removable.
How reproducible:
always
Is this issue a regression from an earlier version:
no
Steps to Reproduce:
1. Have a host with installed package profile uploaded
2. Remove the ::Katello::Rpm record for a package that is installed on the host. Now the host will have a Katello::InstalledPackage for that package, but there will be no ::Katello::Rpm
3. Attempt to remove the package via the All Hosts packages wizard
Actual behavior:
The removable packages is not in the list of available packages to remove. So you can never get to the end of the wizard where you can initiate the job.
Expected behavior:
All removable packages of all hosts should be in the list
Business Impact / Additional info:
QE Tracker for https://issues.redhat.com/browse/SAT-26767