Bug 2236523 - Updates for packages from default (not enabled) active modules should be Installable
Summary: Updates for packages from default (not enabled) active modules should be Inst...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Errata Management
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-31 15:18 UTC by Patrik Segedy
Modified: 2023-09-05 00:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Patrik Segedy 2023-08-31 15:18:18 UTC
Description of problem:
When a dnf module is active, then updates from that module are Installable. Active module is also a default module which is not enabled. Satellite should show these updates as Installable


Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. sync rhel8 baseos and appstream repos
2. register a system with e.g. qemu-guest-agent-15:4.2.0-59.module+el8.5.0+12817+cb650d43.x86_64 installed
3. make sure the default `virt` module is active but not enabled on the host
4. satellite shows qemu-guest-agent as up-to-date
5. dnf can install updates
[root@psegedy-rhel8 ~]# dnf updateinfo list | grep qemu
RHSA-2021:5238 Low/Sec.       qemu-guest-agent-15:4.2.0-59.module+el8.5.0+13495+8166cdf8.1.x86_64
RHBA-2022:0361 bugfix         qemu-guest-agent-15:4.2.0-59.module+el8.5.0+13495+8166cdf8.1.x86_64
RHSA-2022:0886 Moderate/Sec.  qemu-guest-agent-15:4.2.0-59.module+el8.5.0+14169+68d2f392.2.x86_64
RHBA-2022:1563 bugfix         qemu-guest-agent-15:4.2.0-60.module+el8.5.0+14545+9e40c7b1.2.x86_64
RHSA-2022:1759 Moderate/Sec.  qemu-guest-agent-15:6.2.0-11.module+el8.6.0+14707+5aa4b42d.x86_64
RHSA-2022:5821 Moderate/Sec.  qemu-guest-agent-15:6.2.0-11.module+el8.6.0+15668+464a1f31.2.x86_64
RHBA-2022:6446 bugfix         qemu-guest-agent-15:6.2.0-11.module+el8.6.0+16516+f8cbd5fe.5.x86_64
RHBA-2022:7122 bugfix         qemu-guest-agent-15:6.2.0-11.module+el8.6.0+16538+01ea313d.6.x86_64
RHSA-2022:7472 Low/Sec.       qemu-guest-agent-15:6.2.0-20.module+el8.7.0+16689+53d59bc2.1.x86_64
RHBA-2022:7820 bugfix         qemu-guest-agent-15:6.2.0-20.module+el8.7.0+16905+efca5d32.2.x86_64
RHSA-2023:0099 Moderate/Sec.  qemu-guest-agent-15:6.2.0-21.module+el8.7.0+17573+effbd7e8.2.x86_64
RHBA-2023:0845 bugfix         qemu-guest-agent-15:6.2.0-21.module+el8.7.0+17573+effbd7e8.2.x86_64
RHBA-2023:1573 bugfix         qemu-guest-agent-15:6.2.0-22.module+el8.7.0+18170+646069c1.2.x86_64
RHSA-2023:2757 Moderate/Sec.  qemu-guest-agent-15:6.2.0-32.module+el8.8.0+18361+9f407f6e.x86_64

[root@psegedy-rhel8 ~]# dnf update qemu-guest-agent
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)                                                                                                                      64 kB/s | 2.9 kB     00:00
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                                                                                                                         55 kB/s | 2.6 kB     00:00
Dependencies resolved.
=============================================================================================================================================================================================================
 Package                                  Architecture                   Version                                                              Repository                                                Size
=============================================================================================================================================================================================================
Upgrading:
 qemu-guest-agent                         x86_64                         15:6.2.0-32.module+el8.8.0+18361+9f407f6e                            rhel-8-for-x86_64-appstream-rpms                         358 k
Enabling module streams:
 virt                                                                    rhel

Transaction Summary
=============================================================================================================================================================================================================
Upgrade  1 Package
...

Actual results:
Satellite does not show installable update for modular package from active default module (not enabled), update is installable by DNF because DNF finds updates in all Active not only in Enabled modules. Default module is by default an active module and it is automatically enabled with `dnf update` command.


Expected results:
Satellite shows installable updates from default (active) modules.


Additional info:
I had a Content View set up to filter errata up to a certain date, but it is probably not needed to reproduce the issue


Note You need to log in before you can comment on or make changes to this bug.