Bug #29488
Applicable errata not showing up for module stream errata
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Description
Applicable errata not showing up or computed correctly module stream errata.
- Create a content view that has RHEL 8 appstream
- Publish the content view
- Have a rhel8 host consume off it
- On the host run the following
"""
$ dnf -y module install nodejs:10
$ dnf -y install nodejs
$ dnf -y downgrade nodejs
"""
- Create an errata excludes filter and exclude RHSA-2020:0579
- Publish the content view
- Content -> Errata
- Search for 'errata_id = RHSA-2020:0579'
Associated revisions
History
#1
Updated by Partha Aji about 2 years ago
- Bugzilla link set to 1814095
#2
Updated by Partha Aji about 2 years ago
- Assignee set to Partha Aji
- Category set to Modularity
#3
Updated by Ian Ballou about 2 years ago
- Triaged changed from No to Yes
- Target version set to Katello 3.16.0
#4
Updated by The Foreman Bot about 2 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/8662 added
#5
Updated by Partha Aji about 2 years ago
Updating the original steps for the bug.
Applicable errata not showing up or computed correctly module stream errata.
- Create a content view that has RHEL 8 appstream
- Create an errata excludes filter to exclude RHSA-2020:0579
- Publish the content view
- Have a rhel8 host consume off it
On the host run the following
$ dnf -y module install nodejs:10 $ dnf uploadprofile
Now back on the UI
- Content -> Errata
- Search for 'errata_id = RHSA-2020:0579'
Expected: - showing one applicable host for `RHSA-2020:0579`
Actual:
0 applicable hosts listed for `RHSA-2020:0579`
#6
Updated by The Foreman Bot almost 2 years ago
- Fixed in Releases added
#7
Updated by Partha Aji almost 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|34ea1d9f09d072c6a7c7b8ad90cd383798373552.
#8
Updated by The Foreman Bot almost 2 years ago
- Pull request https://github.com/Katello/katello/pull/8722 added
#9
Updated by James Jeffers almost 2 years ago
- Target version changed from Katello 3.16.0 to Katello 3.15.1
#10
Updated by Jonathon Turel almost 2 years ago
- Pull request deleted (
https://github.com/Katello/katello/pull/8722)
#11
Updated by Jonathon Turel almost 2 years ago
- Found in Releases Katello 3.15.0 added
- Fixed in Releases Katello 3.15.1 added
- Fixed in Releases deleted (
)
Fixes #29488 - Make modular errata applicable (#8662)
Prior to this commit the applicable errata was not properly
Content hosts upload a list of packages, enabled repos and modulemdcalculated.
information (aka profiles) on every dnf transaction.
Packages, Errata and Module Streams that are applicable.
repositories bound to the content host.
However module streams introduce some quirkiness. The prior upload
module stream method would just pass the actual module stream that is
available to the system.
This commit passes the module stream available in the library instance
of the bound repos instead to pulp.
So when new errata get added overtime the new errata would automatically
be marked "applicable".