Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2236523

Summary: Updates for packages from default (not enabled) active modules should be Installable
Product: Red Hat Satellite Reporter: Patrik Segedy <psegedy>
Component: Errata ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED MIGRATED QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: NightlyCC: iballou, rlavi
Target Milestone: UnspecifiedKeywords: MigratedToJIRA, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-06 16:28:41 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 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

Comment 2 Eric Helms 2024-06-06 16:28:41 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "SAT-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.