Bug 1322098 - Empty puppet repo results in failed capsule sync
Summary: Empty puppet repo results in failed capsule sync
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high vote
Target Milestone: Unspecified
Assignee: John Mitsch
QA Contact: Sanket Jagtap
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-29 19:35 UTC by Justin Sherrill
Modified: 2019-09-26 17:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:10:54 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 14512 0 None None None 2016-04-22 15:53:05 UTC

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


Note You need to log in before you can comment on or make changes to this bug.