Bug 2109634

Summary: Add module profile information to modulemd enpoints
Product: Red Hat Satellite Reporter: Samir Jha <sajha>
Component: RepositoriesAssignee: Samir Jha <sajha>
Status: CLOSED ERRATA QA Contact: Ian Ballou <iballou>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.10.0CC: dkliban, ggainey, iballou, pcreech, rchan
Target Milestone: 6.13.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: rubygem-katello-4.7.0,python-pulp-rpm-3.18.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-03 13:21:28 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:

Description Samir Jha 2022-07-21 16:34:34 UTC
Description of problem:

With pulp3, we no longer have access to profiles for a module in pulp API and in Satellite(katello). The core usecase of registered hosts running installing profiles works fine because the pulp metadata has this information.

However, admins no longer can see profiles of a module inside Satellite UI/API because this information is not indexed.

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

How reproducible:

Steps to Reproduce:
1. Sync modular repo with profiles. ex: Rhel8 Appstream
2. Looks at any module, ex: nodejs. This comes with profiles like minimal, development etc which you can see with dnf module list on a registered host.
3. No way to get this information directly inside satellite for admins to see.

Actual results:

Expected results:

Additional info:

Comment 1 Brad Buckingham 2022-07-21 17:41:12 UTC
Adding Regression keyword as this appears to be a change in behavior between pulp 2 (sat-6.9) and pulp 3 (sat-6.10).

Comment 5 Bryan Kearney 2022-10-28 00:04:00 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35653 has been resolved.

Comment 6 Ian Ballou 2023-01-09 22:30:59 UTC

Profiles are now viewable on module streams.

This BZ is reliant on the following BZ which removed the profile information: https://bugzilla.redhat.com/show_bug.cgi?id=2063999

Comment 9 errata-xmlrpc 2023-05-03 13:21:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.13 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.