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):
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.
Adding Regression keyword as this appears to be a change in behavior between pulp 2 (sat-6.9) and pulp 3 (sat-6.10).
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35653 has been resolved.