Project

General

Custom queries

Profile

Actions

Bug #38175

closed

'Select all' on errata page attempts installing extra errata on host

Added by Ian Ballou about 1 month ago. Updated 29 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Errata Management
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

'Select all' on errata page attempts installing extra errata on host

Description of problem:

Using "select all" on a Host's errata page and applying errata via REX causes all errata on the system to be added to the call to dnf.

How reproducible:

100%

Is this issue a regression from an earlier version:

Likely, yes.

Steps to Reproduce:

1. Sync a repository with errata

2. Register a host with a few installable errata

3. Use 'select all' on the host errata page and apply said errata via REX

Actual behavior:
All errata in the system get applied to the resulting dnf call

Expected behavior:

Only the selected errata get applied to the host

Business Impact / *Additional info:*

The use of "{color:#1d1c1d}check_installable_for_host: false{color}" in the related REX job template was originally to work around the case where a user tries to install RPMs or apply errata to a host that has a stale package profile. We hoped that DNF could be the source of truth for if the errata are installable or not. However,  since 'select all' uses an empty search query string, it seems we do need to let Katello scope the installed errata to what is applicable to the host (or the 'select all' logic needs to actually send all errata IDs to the API).

Actions #1

Updated by The Foreman Bot about 1 month ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ian Ballou
  • Pull request https://github.com/Katello/katello/pull/11295 added
Actions #2

Updated by The Foreman Bot about 1 month ago

  • Fixed in Releases Katello 4.16.0 added
Actions #3

Updated by Anonymous about 1 month ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Chris Roberts 29 days ago

  • Category set to Errata Management
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF