Bug 1033777 - Never synced custom repositories fail to publish
Summary: Never synced custom repositories fail to publish
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On: 1033776
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-22 20:59 UTC by Justin Sherrill
Modified: 2014-04-24 17:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1033776
Environment:
Last Closed: 2014-04-24 17:09:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Justin Sherrill 2013-11-22 20:59:53 UTC
+++ This bug was initially created as a clone of Bug #1033776 +++

Description of problem:

Custom repositories do not seem to publish properly, and thus the content is not available to clients.


Version-Release number of selected component (if applicable):
pulp-server-2.3.0-0.37.beta.el6sat.noarch

How reproducible:
Always

Steps to Reproduce:
1.   Create a new custom repo
2.   Upload a package to it from the cli
3.   Assign a system to the custom product and try to install the pushed rpm

Actual results:
From client repository shows that it contains no packages, system cannot install package.

Expected results:
Client sees package, can install it.

Additional info:
Error seen in /var/log/pulp/pulp.log:

2013-11-22 15:37:39,303 pulp.plugins.pulp_rpm.yum_plugin.metadata:ERROR: Error performing final move, could be missing pkg metadata files


This is actually masking another error, and after some debugging:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/pulp_rpm/yum_plugin/metadata.py", line 851, in final_repodata_move
    mdgen.doRepoMetadata()
  File "/usr/lib/python2.6/site-packages/createrepo/__init__.py", line 955, in doRepoMetadata
    data = misc.Checksums([sumtype])
  File "/usr/lib/python2.6/site-packages/yum/misc.py", line 245, in __init__
    raise MiscError, 'Error Checksumming, bad checksum type %s' % sumtype
MiscError: Error Checksumming, bad checksum type None

--- Additional comment from Justin Sherrill on 2013-11-22 15:59:06 EST ---

I did confirm that if the repo is ever synced with an external repo the issue does not occur.

Comment 3 Corey Welton 2013-12-04 02:32:57 UTC
QA Verified in Satellite-6.0.2-RHEL-6-20131202.0

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

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


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