Bug 786138

Summary: Adding RH repos to system template displays all repos instead of the Enabled Repositories
Product: Red Hat Satellite Reporter: Kedar Bidarkar <kbidarka>
Component: WebUIAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED CURRENTRELEASE QA Contact: Garik Khachikyan <gkhachik>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.0.1CC: gkhachik, mkoci, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:23:42 UTC Type: ---
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:    
Bug Blocks: 747354    

Description Kedar Bidarkar 2012-01-31 15:15:57 UTC
Description of problem:

While adding RH Repositories to a system template it displays all the repositories available, instead of the enabled repositories.

via CLI,katello repo list command displays only the enabled repositories.


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


How reproducible:
when trying to add repos to system template via UI, entire list of repos present in the subscription-manifest is displayed.

Steps to Reproduce:
1. import subscription manifest
2. enabled any 2 repositories
3. proceed to sys template creation
4. All the repos present in the subscription manifest are visible
  
Actual results:
On searching under the System_template-> repositories,
the entire repo list is displayed.

Expected results:
Only the repos enabled for sync needs to be listed. 


Additional info:

Comment 1 Mike McCune 2012-02-09 00:42:06 UTC
To clarify, this is during the Autocomplete when you do:

1) create template
2) click into the repositories on the *right* pane
3) click into the repository search text box and hit "R" for example, you see *ALL* the repos.

I definitely saw this.

Comment 3 Mike McCune 2012-02-09 00:45:12 UTC
tried to attach a screenshot but my browser makes the auto-complete dialog go away when the screenshot dialog comes up.

Comment 4 Brad Buckingham 2012-02-10 15:55:31 UTC
commit - cdfef6edfdef5577115072ded904f08bc786c475

Updated the search filter used to retrieve the repos to only include enabled repos.

Comment 6 Garik Khachikyan 2012-02-22 09:53:09 UTC
# VERIFIED

Procedure of showing available RH repositories is fixed.

Now in both: left and right panels *only* the enabled ones are listed.

checked against:
---
katello-0.1.238-4.el6.noarch
candlepin-0.5.20-1.el6.noarch
pulp-0.0.265-1.el6.noarch
---

Comment 8 Mike McCune 2013-08-16 18:17:15 UTC
getting rid of 6.0.0 version since that doesn't exist