Bug 499334 - RHN TRACEBACK while pushing source packages into the custom channel
Summary: RHN TRACEBACK while pushing source packages into the custom channel
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Satellite Synchronization
Version: 530
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Pradeep Kilambi
QA Contact: Steve Salevan
URL:
Whiteboard:
Depends On: 506608
Blocks: 457078
TreeView+ depends on / blocked
 
Reported: 2009-05-06 08:20 UTC by Jan Hutař
Modified: 2009-09-10 19:18 UTC (History)
3 users (show)

Fixed In Version: sat530
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-10 19:18:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
one of 3 RHN_TRACEBACK emails I have recived (11.89 KB, text/plain)
2009-05-06 08:20 UTC, Jan Hutař
no flags Details
slightly different scenarion with "force" enabled on the server (11.89 KB, text/plain)
2009-05-06 08:29 UTC, Jan Hutař
no flags Details

Description Jan Hutař 2009-05-06 08:20:55 UTC
Created attachment 342612 [details]
one of 3 RHN_TRACEBACK emails I have recived

Description of problem:
While I was pushing *.src.rpm packages into the custom channel, I got attached RHN TRACEBACK. I was able to push normal *.rpm (both (un)signed) to that channel before.


Version-Release number of selected component (if applicable):
Satellite-5.3.0-RHEL5-re20090414.0-x86_64
pushing from client with rhnpush-5.2.0-1.el4.noarch


How reproducible:
always


Steps to Reproduce:
1. # ./manage-channel.py admin admin https://pipa02.englab.brq.redhat.com/rpc/api CREATE test-i386-0 i386
2. # ls build-test-i386-0/
test-multiarch-0.1-1.i386.rpm     test-regular-0.1-1.i386.rpm
test-multiarch-0.1-1.src.rpm      test-regular-0.1-1.src.rpm
test-noarch-0.1-1.noarch.rpm      test-regular-0.2-2.i386.rpm
test-noarch-0.1-1.src.rpm         test-regular-0.2-2.src.rpm
test-notinchannel-0.1-1.i386.rpm  test-regular-another-0.1-1.i386.rpm
test-notinchannel-0.1-1.src.rpm   test-regular-another-0.1-1.src.rpm
test-notsigned-0.1-1.i386.rpm     test-regular-another-0.2-2.i386.rpm
test-notsigned-0.1-1.src.rpm      test-regular-another-0.2-2.src.rpm
test-obsoleted-0.1-1.i386.rpm     test-required-0.2-2.i386.rpm
test-obsoleted-0.1-1.src.rpm      test-required-0.2-2.src.rpm
test-obsoletes-0.2-2.i386.rpm     test-requires-0.2-2.i386.rpm
test-obsoletes-0.2-2.src.rpm      test-requires-0.2-2.src.rpm
3. # cd build-test-i386-0/
4. # rhnpush --channel=test-i386-0 --username=admin --password=admin -v --server=https://pipa02.englab.brq.redhat.com/APP --nosig test-notsigned-0.1-1.i386.rpm
Connecting to https://pipa02.englab.brq.redhat.com/APP
Package test-notsigned-0.1-1.i386.rpm Not Found on RHN Server -- Uploading
Uploading package test-notsigned-0.1-1.i386.rpm
Using POST request
5. # rhnpush --channel=test-i386-0 --username=admin --password=admin -v --server=https://pipa02.englab.brq.redhat.com/APP --nosig --source test-notsigned-0.1-1.src.rpm
Connecting to https://pipa02.englab.brq.redhat.com/APP
Package checksum test-notsigned-0.1-1.src.rpm mismatch -- Skipping Upload (use --force to force upload)
6. # rhnpush --channel=test-i386-0 --username=admin --password=admin -v --server=https://pipa02.englab.brq.redhat.com/APP test-multiarch-0.1-1.i386.rpm test-noarch-0.1-1.noarch.rpm test-obsoleted-0.1-1.i386.rpm test-obsoletes-0.2-2.i386.rpm test-regular-0.1-1.i386.rpm test-regular-0.2-2.i386.rpm test-regular-another-0.1-1.i386.rpm test-regular-another-0.2-2.i386.rpm test-required-0.2-2.i386.rpm test-requires-0.2-2.i386.rpm
   [... - all OK]
7. # rhnpush --channel=test-i386-0 --username=admin --password=admin -v --server=https://pipa02.englab.brq.redhat.com/APP --source test-multiarch-0.1-1.src.rpm test-noarch-0.1-1.src.rpm test-obsoleted-0.1-1.src.rpm test-obsoletes-0.2-2.src.rpm test-regular-0.1-1.src.rpm test-regular-0.2-2.src.rpm test-regular-another-0.1-1.src.rpm test-regular-another-0.2-2.src.rpm test-required-0.2-2.src.rpm test-requires-0.2-2.src.rpm
Connecting to https://pipa02.englab.brq.redhat.com/APP
Package checksum test-multiarch-0.1-1.src.rpm mismatch -- Skipping Upload (use --force to force upload)
Package checksum test-noarch-0.1-1.src.rpm mismatch -- Skipping Upload (use --force to force upload)
Package test-obsoleted-0.1-1.src.rpm already exists on the RHN Server-- Skipping Upload....
Package test-obsoletes-0.2-2.src.rpm Not Found on RHN Server -- Uploading
Uploading package test-obsoletes-0.2-2.src.rpm
Using POST request
Internal server error 500 Internal Server Error

Waiting 5 seconds and trying again...
Uploading package test-obsoletes-0.2-2.src.rpm
Using POST request
Internal server error 500 Internal Server Error

Waiting 2 seconds and trying again...
Uploading package test-obsoletes-0.2-2.src.rpm
Using POST request
Internal server error 500 Internal Server Error

Waiting 4 seconds and trying again...
Giving up after 3 attempts


Actual results:
these errors


Expected results:
should work

Comment 1 Jan Hutař 2009-05-06 08:29:58 UTC
Created attachment 342614 [details]
slightly different scenarion with "force" enabled on the server

# rhnpush --channel=test-i386-0 --username=admin --password=admin -v --server=https://pipa02.englab.brq.redhat.com/APP --source test-multiarch-0.1-1.src.rpm
Connecting to https://pipa02.englab.brq.redhat.com/APP
Package test-multiarch-0.1-1.src.rpm Not Found on RHN Server -- Uploading
Uploading package test-multiarch-0.1-1.src.rpm
Using POST request
Uploading failed for test-multiarch-0.1-1.src.rpm
Error: Package with same name already exists on server but contents differ (package recompiled).  Use --force or remove old package before uploading the newer version.
	Diff: [['md5sum', '41c99efe3e27c758ffa4fa7e65c34377', '82c2360c1abcb698f0f37997903c4a8f'], ['build_time', '2009-05-06 07:49:22', '2009-05-05 14:26:28'], ['package_size', 1946, 1948], ['last_modified', '2009-05-06 10:26:41', '2009-05-05 16:27:20'], ['cookie', 'xen91.englab.brq.redhat.com 1241596162', 'xen91.englab.brq.redhat.com 1241533588'], ['sigmd5', '6afc5c858cf0a736675c0450ca7b7b00', '5d03d76a49ee8ec11d5497bf185f3015'], ['path', 'redhat/1/41c/test-multiarch/0.1-1/SRPMS/41c99efe3e27c758ffa4fa7e65c34377/test-multiarch-0.1-1.src.rpm', 'redhat/1/82c/test-multiarch/0.1-1/SRPMS/82c2360c1abcb698f0f37997903c4a8f/test-multiarch-0.1-1.src.rpm'], ['sig_key_id', ['7a4ca71f99049b4c'], ['7a4ca71f99049b4c']]]



# rhnpush --channel=test-i386-0 --username=admin --password=admin -v --server=https://pipa02.englab.brq.redhat.com/APP --source test-multiarch-0.1-1.src.rpm --force
Connecting to https://pipa02.englab.brq.redhat.com/APP
Package test-multiarch-0.1-1.src.rpm Not Found on RHN Server -- Uploading
Uploading package test-multiarch-0.1-1.src.rpm
Using POST request
Internal server error 500 Internal Server Error

Waiting 1 seconds and trying again...
Uploading package test-multiarch-0.1-1.src.rpm
Using POST request
Internal server error 500 Internal Server Error

Waiting 4 seconds and trying again...
Uploading package test-multiarch-0.1-1.src.rpm
Using POST request
Internal server error 500 Internal Server Error

Waiting 2 seconds and trying again...
Giving up after 3 attempts

Comment 6 Steve Salevan 2009-06-25 19:24:44 UTC
VERIFIED on 6/19 build.

Comment 7 Jan Pazdziora 2009-09-07 14:24:07 UTC
Stage validated on Satellite-5.3.0-RHEL5-re20090820.1.

[root@xen62 content]# ls -1
ProgAGoGo-1.11.6-1.el5.noarch.rpm
ProgAGoGo-1.11.6-1.el5.src.rpm
rhnmd-5.3.2-1.el5.i386.rpm
rhnmd-5.3.2-1.el5.src.rpm
[root@xen62 content]# rhnpush --channel=test-i386 --username=admin -v --server=http://xen62/APP --nosig ProgAGoGo-1.11.6-1.el5.noarch.rpm 
Connecting to http://xen62/APP
Red Hat Network password: 
Package ProgAGoGo-1.11.6-1.el5.noarch.rpm Not Found on RHN Server -- Uploading
Uploading package ProgAGoGo-1.11.6-1.el5.noarch.rpm
Using POST request
[root@xen62 content]# rhnpush --channel=test-i386 --username=admin -v --server=http://xen62/APP --nosig ProgAGoGo-1.11.6-1.el5.src.rpm 
Connecting to http://xen62/APP
Red Hat Network password: 
ERROR: Trying to Push src rpm, Please re-try with --source.
[root@xen62 content]# rhnpush --channel=test-i386 --username=admin -v --server=http://xen62/APP --nosig ProgAGoGo-1.11.6-1.el5.src.rpm --source
Connecting to http://xen62/APP
Red Hat Network password: 
Package ProgAGoGo-1.11.6-1.el5.src.rpm Not Found on RHN Server -- Uploading
Uploading package ProgAGoGo-1.11.6-1.el5.src.rpm
Using POST request
[root@xen62 content]# rhnpush --channel=test-i386 --username=admin -v --server=http://xen62/APP --nosig rhnmd-5.3.2-1.el5.i386.rpm 
Connecting to http://xen62/APP
Red Hat Network password: 
Package rhnmd-5.3.2-1.el5.i386.rpm Not Found on RHN Server -- Uploading
Uploading package rhnmd-5.3.2-1.el5.i386.rpm
Using POST request
[root@xen62 content]# rhnpush --channel=test-i386 --username=admin -v --server=http://xen62/APP --nosig rhnmd-5.3.2-1.el5.src.rpm --source
Connecting to http://xen62/APP
Red Hat Network password: 
Package rhnmd-5.3.2-1.el5.src.rpm Not Found on RHN Server -- Uploading
Uploading package rhnmd-5.3.2-1.el5.src.rpm
Using POST request
[root@xen62 content]#

And .src.rpm files are nicely shown on the /rhn/software/packages/Details.do page.

Moving to RELEASE_PENDING.

Comment 8 Brandon Perkins 2009-09-10 19:18:32 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2009-1434.html


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