Bug 1678179

Summary: Manage Repository Sets option for content hosts Does not Show Custom Repositories
Product: Red Hat Satellite Reporter: roarora
Component: Hosts - ContentAssignee: Samir Jha <sajha>
Status: CLOSED ERRATA QA Contact: Stephen Wadeley <swadeley>
Severity: medium Docs Contact:
Priority: high    
Version: 6.4CC: acarlos, acavalla, a.r.welter, bbuckingham, bkearney, dhjoshi, giunta, gpadholi, jsherril, kagarwal, mawerner, mcorr, mmccune, patalber, pbarbosa, pcreech, rbdiri, rbertolj, rhbgs.10.bigi_gigi, roarora, rvdwees, sadas, sajha, wpinheir
Target Milestone: 6.7.0Keywords: Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
In the Satellite web UI, the bulk action feature for the set repositories of content hosts does not list the custom product repositories. An empty list is displayed rather than a list of the custom repositories.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-14 13:23:49 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:
Attachments:
Description Flags
screenshot showing custom repos none

Description roarora 2019-02-18 09:17:18 UTC
Description of problem:
Content hosts -> Select some content hosts >  select action -> Manage Repository Sets", does not show custom repositories for custom products.

This was available in satellite 6.3

Following commit in Katello 3.7 seems to filer out only Red Hat products
https://github.com/Katello/katello/commit/3883410f269289ef2d65ad526f778112c811a446

Upstream tracker : https://projects.theforeman.org/issues/22564


How reproducible:
Always

Comment 3 Justin Sherrill 2019-02-20 01:50:55 UTC
The referenced commit modifies the 'repository_sets' api, but this particular page is hitting the 'host subscriptions' 'product content' api.  /hosts/:host_id/subscriptions/product_content

Testing this myself on 6.4, i see custom repos showing up just fine, see attachment.  Double check that you have assigned the custom subscription to the host before attempting to view it on that page.  Does that help?

Comment 4 Justin Sherrill 2019-02-20 01:52:06 UTC
Created attachment 1536563 [details]
screenshot showing custom repos

Comment 9 Justin Sherrill 2019-05-15 17:51:57 UTC
Connecting redmine issue https://projects.theforeman.org/issues/26767 from this bug

Comment 10 giunta 2019-05-16 06:30:59 UTC
(In reply to Justin Sherrill from comment #3)
> Testing this myself on 6.4, i see custom repos showing up just fine, see
> attachment.  Double check that you have assigned the custom subscription to
> the host before attempting to view it on that page.  Does that help?

Hi, same problem here (Katello 3.10). I'm able to select and manage Repository Sets using:

Content hosts -> HOST -> Repository Sets 

but not using bulk action:

Content hosts -> Select the same HOST >  select action -> Manage Repository Sets

In this case, the list is empty.

  Marco

Comment 11 Brad Buckingham 2019-07-10 21:03:37 UTC
A solution for this is proposed in the upstream and being reviewed.

Comment 12 Bryan Kearney 2019-07-29 16:02:16 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26767 has been resolved.

Comment 17 Waldirio M Pinheiro 2019-10-30 18:44:57 UTC
*** Bug 1766165 has been marked as a duplicate of this bug. ***

Comment 28 errata-xmlrpc 2020-04-14 13:23:49 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, and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHSA-2020:1454