Bug 846683 - Package re-pushed after resigning is displayed twice in channels
Summary: Package re-pushed after resigning is displayed twice in channels
Keywords:
Status: CLOSED DUPLICATE of bug 846938
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI
Version: 541
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-08 12:33 UTC by Jirka Tesar
Modified: 2012-09-21 13:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-09 14:36:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot showing the duplicated package (92.25 KB, image/jpeg)
2012-08-08 15:38 UTC, Jirka Tesar
no flags Details
Package for reproducer (4.81 MB, application/x-rpm)
2012-08-09 07:35 UTC, Jirka Tesar
no flags Details

Description Jirka Tesar 2012-08-08 12:33:13 UTC
Description of problem:
Package is displayed twice after it was re-segned with different key and re-pushed to a channel.

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

Red Hat Network Satellite v 5.4.1


How reproducible:


Steps to Reproduce:
1. Create a channel ABCD
2. rhnpush -c ABCD XYZ.rpm 
3. re-sign package XYZ.rpm using different key (rpm --resign XYZ.rpm)
4. rhnpush -c ABCD --force XYZ.rpm
  
Actual results:
When displaying packages in channel ABCD, package XYZ is displayed twice

Expected results:
When displaying packages in channel ABCD, package XYZ should be displayed just once


Additional info:
The package is just displayed twice, both links to packages point to the same location.

Comment 1 Jirka Tesar 2012-08-08 15:38:50 UTC
Created attachment 603061 [details]
Screenshot showing the duplicated package

Comment 2 Jirka Tesar 2012-08-09 07:35:06 UTC
New reproducer - containing specific channel and package names:

Package python-2.6.6-29.el6.x86_64.rpm attached.

1. Create a channel testcase in satellite WebUI
2. rhnpush -c testcase python-2.6.6-29.el6.x86_64.rpm 
3. re-sign package python-2.6.6-29.el6.x86_64.rpm using different key (rpm --resign python-2.6.6-29.el6.x86_64.rpm)
4. rhnpush -c testcase --force python-2.6.6-29.el6.x86_64.rpm

Comment 3 Jirka Tesar 2012-08-09 07:35:59 UTC
Created attachment 603193 [details]
Package for reproducer

Comment 4 Clifford Perry 2012-08-09 14:25:45 UTC
This is expected, we know of different NEVRA with different keys for packages. As such, what your seeing to me is expected, unless the switch to allow multi-nerva is disabled, in which case the force upload would/should fail. 

Michael should be able to confirm this for me.

Comment 5 Clifford Perry 2012-08-09 14:36:10 UTC

*** This bug has been marked as a duplicate of bug 846938 ***


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