Bug 927335

Summary: Auto-discovered repositories should automatically re-use GPG keys from existing product
Product: Red Hat Satellite Reporter: Og Maciel <omaciel>
Component: Content ManagementAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Bidarkar <kbidarka>
Severity: medium Docs Contact:
Priority: unspecified    
Version: NightlyCC: jmontleo, kbidarka, 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: 2014-04-24 17:09:24 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:

Description Og Maciel 2013-03-25 17:04:39 UTC
Description of problem:

When creating repositories and adding them to an existing product using the auto-discover feature, if the product already has a GPG key associated with it, then the new repositories should inherit it.

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


How reproducible:


Steps to Reproduce:

* Create a new Org
* Add environments to Org
* Switch to Org
* Create a new custom provider
* Create a new product
* Import a valid GPG key and associate it with the new product
* Use the Repository Discovery feature to add url http://inecas.fedorapeople.org/fakerepos/ to the new product
  
Actual results:

* Newly created repositories don't have the GPG key associated to them

Expected results:

* Newly created repositories should have the GPG key associated to them

Additional info:

Comment 2 Justin Sherrill 2013-09-17 17:50:19 UTC
https://github.com/Katello/katello/pull/2975

Comment 5 Kedar Bidarkar 2013-10-01 12:59:53 UTC
Tested manually, the gpg-keys are indeed attached automatically for auto discovered repositories from existing product.

Also verified via the gui automation and it passes. 

"Auto-discovered repositories should automatically use GPG keys from product, if associated"

Comment 6 Bryan Kearney 2014-04-24 17:09:24 UTC
This was verified and delivered with MDP2. Closing it out.

Comment 7 Bryan Kearney 2014-04-24 17:10:54 UTC
This was delivered and verified with MDP2. Closing the bug.