Bug 1322098

Summary: Empty puppet repo results in failed capsule sync
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: APIAssignee: John Mitsch <jomitsch>
Status: CLOSED ERRATA QA Contact: Sanket Jagtap <sjagtap>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, ehelms, kbidarka, omaciel
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14512
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:10:54 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:

Description Justin Sherrill 2016-03-29 19:35:46 UTC
Description of problem:

When creating a puppet repo within sat6 we do not actually publish the empty repo.  The result of that is that when the capsule syncs, that puppet repo will fail to sync and throw an error

Version-Release number of selected component (if applicable):
Sat 6.2 snap 4

How reproducible:
Always

Steps to Reproduce:
1.  Create a puppet repo, do not upload or sync any modules
2.  Sync a capsule that is attached to the library environment

Actual results:
Capsule sync Task will error and be left in 'warning state'


Expected results:
Capsule sync task is successful 


Additional info:

For yum repos we 'publish' the metadata for them at creation time.  We should do the same for puppet repos

Comment 2 John Mitsch 2016-04-06 19:46:36 UTC
Created redmine issue http://projects.theforeman.org/issues/14512 from this bug

Comment 3 Bryan Kearney 2016-04-13 18:04:25 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14512 has been closed
-------------
John Mitsch
Applied in changeset commit:katello|0a7fa53d0cb5a78b5046538f85656ccafd14f22f.

Comment 4 Sanket Jagtap 2016-05-27 11:50:36 UTC
Build :snap13.1

No errors while capsule sync with empty puppet repo.

Comment 5 Bryan Kearney 2016-07-27 11:10:54 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/RHBA-2016:1501