Bug 532040 - src.rpm are renamed when pushed by rhnpush
Summary: src.rpm are renamed when pushed by rhnpush
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 0.6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space09
TreeView+ depends on / blocked
 
Reported: 2009-10-30 11:46 UTC by Alessio Panizzi
Modified: 2010-05-05 14:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-05 14:56:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Alessio Panizzi 2009-10-30 11:46:01 UTC
Description of problem:

A src.rpm package pushed by rhnpush into the Spacewalk server
it's showed in "Manage Software Packages" with bad NVREA. 
The name of rpm is changed with bad arch, for example:

package-0.3.4-1.el5.centos.src.rpm

it's changed in:

package-0.3.4-1.el5.centos.x86_64

The package into the filesystem is renamed as showed by the WebUI:
/var/satellite/redhat/1/e30/package/0.3.4-1.el5.centos/x86_64/e309f5c516a9def6a916beea2e128163/pakage-0.3.4-1.el5.centos.x86_64.rpm

Version-Release number of selected component:
Spacewalk 0.6

How reproducible:
always


Steps to Reproduce:
1. install spacewalk 0.6
2. create new channel
3. use rhnpush to push rpm to spacewalk
rhnpush --server https://spacewalk-server/APP --source --channel channelname package-1.1.12-1.i386.rpm  -vvvvvvv
4. use rhnpush to push the relative src.rpm to spacewalk
rhnpush --server https://spacewalk-server/APP --source --channel channelname package-1.1.12-1.src.rpm  -vvvvvvv

Actual results:
WebUI show package-1.1.12-1.x86_64.rpm
file as saved in filesystem as 
/var/satellite/redhat/1/e30/package/0.3.4-1.el5.centos/x86_64/e309f5c516a9def6a916beea2e128163/pakage-0.3.4-1.el5.centos.x86_64.rpm

Expected results:
The src.rpm should be associated to right .rpm and show as "Source Package:" in its proprierties

Comment 1 Michael Mráka 2010-03-23 10:05:48 UTC
The issue was fixed as a part of bug 571413.

Comment 2 Michael Mráka 2010-04-07 14:09:15 UTC
Has been fixed in spacewalk-backend-0.9.12-1 (nightly repo).

Comment 3 Miroslav Suchý 2010-05-05 14:56:54 UTC
This bug has been fixed in Spacewalk 1.0.
Closing.


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