Bug 751363

Summary: Unable to add rpmforge to satellite
Product: Red Hat Satellite 5 Reporter: Arjan Dekker <a.dekker>
Component: Satellite SynchronizationAssignee: Miroslav Suchý <msuchy>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 540   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-04 14:12:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Arjan Dekker 2011-11-04 14:00:47 UTC
Description of problem:
I'm trying to add the Rpmforge repositories to our satellite server.
I added the rpmforge rhel6 repository without problems.
But now i'm trying to add the rhel5 repository, but it fails to add all packages. Only 380 out of the 10852 packages are added to our satellite server.

I'm getting the following messages:

/usr/bin/spacewalk-repo-sync --channel rhel5_rpmforge_x86_64 --type yum
Repo http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/ has 10852 packages.
1/10468 : perl-Text-CSV_XS-0.45-1.el5.rf-0.x86_64
(54, 'ORA-01654: unable to extend index RHNSAT.RHN_PACKAGE_FILE_PID_CID_UQ by 1024 in tablespace DATA_TBS\n', '\n     Package Upload Failed due to uniqueness constraint violation.\n     Make sure the package does not have any duplicate dependencies or\n     does not already exists on the server\n     ')
2/10468 : perl-CPAN-DistnameInfo-0.07-1.el5.rf-0.noarch
(54, 'ORA-01654: unable to extend index RHNSAT.RHN_PACKAGE_FILE_PID_CID_UQ by 1024 in tablespace DATA_TBS\n', '\n     Package Upload Failed due to uniqueness constraint violation.\n     Make sure the package does not have any duplicate dependencies or\n     does not already exists on the server\n     ')
3/10468 : twinkle-1.2-1.el5.rf-0.x86_64

etc...

Does anyone knows how to solve this?

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

How reproducible:

Add 2 repositories to the satellite server:
http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/ and http://apt.sw.be/redhat/el6/en/x86_64/rpmforge.

create a new channel for every repository.

Start a sync of both channels
For example:
/usr/bin/spacewalk-repo-sync --channel rhel6_rpmforge_x86_64 --type yum
/usr/bin/spacewalk-repo-sync --channel rhel5_rpmforge_x86_64 --type yum

Comment 1 Miroslav Suchý 2011-11-04 14:12:09 UTC
This is not bug. You very probably just run out of space in db and it can be fixed by db-control tool.
If you do not know how, please contact support:
https://access.redhat.com/support/