Bug 1109260

Summary: Package search does not work for custom channels shared to a trusted organization.
Product: Red Hat Satellite 5 Reporter: Dimitar Yordanov <dyordano>
Component: ServerAssignee: Jan Dobes <jdobes>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 560CC: tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1109246 Environment:
Last Closed: 2018-04-09 11:17:42 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:
Bug Depends On: 1109246, 1129827    
Bug Blocks: 462714    

Description Dimitar Yordanov 2014-06-13 14:04:51 UTC
+++ This bug was initially created as a clone of Bug #1109246 +++

Description of problem:
Package search does not work for custom channels shared to a trusted organization.

Version-Release number of selected component (if applicable):
spacewalk-java-2.0.2-76

How reproducible:
100%

Steps to Reproduce:
1. Create a custom channel "ch_test" and mark it as Public.

This channel is public and may be accessed by any of the trusted organizations trusted by this organization.

2. Push/sync package "test_rpm" to channel "ch_test".
3. Create new organization "test_org"
  Admin -> Organizations -> Create New Organization
4. Set a Trust between the organizations.
5. Log in to the "test_org". Channel "ch_test" should be visible.
6. Channels -> Package search 
   Look up  for package "test_rpm" 

Actual results:
No packages found.


Expected results:
test_rpm is found.

Additional info:
API call packages.search.name returns no packages as well.
The problem is only for custom channels both packages and erratas.

Comment 2 Tomas Lestach 2018-04-09 11:17:42 UTC
We have re-reviewed this bug, as part of an ongoing effort to improve Satellite/Proxy feature and bug updates, review and backlog.

We believe this bug has been fixed in the latest Satellite 5 version (5.8), so closing the bug as CURRENTRELEASE. Please feel free to re-open in case you discover any issues.