Bug 678058

Summary: rhn_package_manager - no sigh from the *.src.rpm on the Satellite.
Product: Red Hat Satellite Proxy 5 Reporter: Dimitar Yordanov <dyordano>
Component: ServerAssignee: Michael Mráka <mmraka>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: medium    
Version: 540CC: jhutar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-04 13:28:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 462714    

Description Dimitar Yordanov 2011-02-16 16:13:51 UTC
Description of problem:
After executing the following command there is no sign from the some.src.rpm in the  $CUSTOM_CHANNEL.

rhn_package_manager -c $CUSTOM_CHANNEL some.src.rpm  --username=${RHN_USER} --password=${RHN_PASS} --nosig  --source

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


How reproducible:
Always

Steps to Reproduce:
1.Install RHN Proxy 5.4
2.Create $CUSTOM_CHANNEL on the Satellite where RHN Proxy is registered.
3.Execute from  RHN Proxy.
 rhn_package_manager -c $CUSTOM_CHANNEL some.src.rpm  --username=${RHN_USER} --password=${RHN_PASS} --nosig  --source

Actual results:
The *.src.rpm is not present in the $CUSTOM_CHANNEL.

Expected results:


Additional info:

Comment 1 Dimitar Yordanov 2011-02-17 16:40:42 UTC
I have faced a new issue several times already but I can not determine the exact steps to reproduce it.

Basically what I am doing is adding the same *.src.rpm several times to Satellite. And I am facing the following problem. 

rhn_package_manager -c proxy_pkg_manager_favoooyi SOME-0.1-1.src.rpm  --username=${RHN_PASS} --password=${RHN_USER} --nosig  --source'

Error Message:
    ORA-00001: unique constraint (RHNSAT.RHN_PKGSRC_SRID_OID_UQ) violated
Error Class Code: 54
Error Class Info: 
     Package Upload Failed due to uniqueness constraint violation.
     Make sure the package does not have any duplicate dependencies or
     does not already exists on the server


N.B. There is no error logs generated neither on the Satellite Server or RHN Proxy.

For built RPM the problem does not appear.