Bug 1608400

Summary: [File Repository] - All Repositories are shown for file content instead of contained Library Repositories
Product: Red Hat Satellite Reporter: Omkar Khatavkar <okhatavk>
Component: RepositoriesAssignee: Stephen Benjamin <stbenjam>
Status: CLOSED ERRATA QA Contact: Omkar Khatavkar <okhatavk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4CC: pcreech, rrajput
Target Milestone: 6.5.0Keywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-14 12:37: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:
Attachments:
Description Flags
Showing all repositories instead of file repositories none

Description Omkar Khatavkar 2018-07-25 13:00:28 UTC
Created attachment 1470517 [details]
Showing all repositories instead of file repositories

Description of problem:
After navigating to https://<Satellite Host>/files/1/repositories, Only file repositories should be show which are containing the file instead of showing all repositories 


Version-Release number of selected component (if applicable):
Satellite 6.4.0 Snap 13 (verified here may be applicable for previous version  )

How reproducible:


Steps to Reproduce:
1. Upload manifest and Add RHEL7, 7.5 and Satellite tools repositories  
2. Add File Repository, Yum Repository  
3. Upload 2-3 Files in only File Repository 
4. Navigate to location https://<Satellite Host>/files/1/repositories

Actual results:
Currently showing all file and yum repositories

Expected results:
Only List of File Repositories should be shown not the all such as yum ..

Additional info:
mainly mapping for File Content with File repositories are missing or vice versa

Comment 2 Stephen Benjamin 2018-08-02 15:00:55 UTC
Created redmine issue https://projects.theforeman.org/issues/24529 from this bug

Comment 3 Satellite Program 2018-08-02 15:50:33 UTC
Upstream bug assigned to stbenjam

Comment 4 Satellite Program 2018-08-02 15:50:35 UTC
Upstream bug assigned to stbenjam

Comment 6 Satellite Program 2018-08-15 14:14:39 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/24529 has been resolved.

Comment 9 Omkar Khatavkar 2018-11-28 14:14:48 UTC
Yes, Issue is resolved and verified on Satellite 6.5.4 snap

Comment 12 errata-xmlrpc 2019-05-14 12:37:41 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-2019:1222