Bug 563859 - 'Add Red Hat Errata' on x86_64 cloned channel not adding 64 bit packages
Summary: 'Add Red Hat Errata' on x86_64 cloned channel not adding 64 bit packages
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 530
Hardware: All
OS: Linux
urgent
high
Target Milestone: ---
Assignee: Justin Sherrill
QA Contact: Petr Sklenar
URL:
Whiteboard:
Depends On:
Blocks: sat531-blockers
TreeView+ depends on / blocked
 
Reported: 2010-02-11 12:30 UTC by Issue Tracker
Modified: 2018-10-27 14:53 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-22 14:03:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0498 0 normal SHIPPED_LIVE Red Hat Network Satellite bug fix update 2010-06-22 14:03:13 UTC

Comment 5 Vishal Gaikwad 2010-02-11 13:01:07 UTC
Public Summary:

State whether Satellite or RHN hosted 
- Satellite v5.3

Indicate the platform(s) (architectures) the problem is being reported against.
- RHEL 5 U3 i386 platform.

Provide clear and concise problem description as it is understood at the time
of escalation
- On a cloned 64bit channel when we try to add an errata which is having both
32bit and 64bit packages via "Add Red Hat Errata" option then it just adds
32bit packages under the channel. 64bit packages from that errata aren't added.

On checking the Errata -> "Sync" tab under the cloned channel we can see the
errata added prevously. It mentions that 64bit packages from that errata were
ommitted during the previous add/clone process.

Attached screenshot for better understanding.


How Reproducible
- Always

Steps to Reproduce
- Clone RHEL 5 65bit channel w/o any errata
- Channels -> Manage Channels -> [Cloned Channel] -> Errata -> Add -> Add Red
Hat Errata
- Select an errata having i386 and x86_64 packages. Example xen which has
xen-libs for both archs.
- Confirm 

Observed Behavior
- - Here x86_64 section is blank. x86_64 arch package is not selected for
addition in that channel


Expected Behavior
- Ideally x86_64 also should have had 1 as the count for packages to be added.

Action Required from SEG 
- Looks like a bug. Details on the invesigation in the next comment

Comment 8 Xixi 2010-04-27 22:36:16 UTC
Another possible workaround is to use the API call errata.clone(), which confirms the bug is more likely to be in the UI code.

Comment 11 Justin Sherrill 2010-05-17 17:48:55 UTC
Fixed in master.  As Vishal had mentioned there was some validation happening when "association" was checked that shouldn't have been.

349fe7e5f5d2d5d3dbdc4dfc414be0943429b344

Comment 16 Petr Sklenar 2010-06-03 11:38:09 UTC
test procedure:

- Clone RHEL 5 64bit channel w/o any errata
- Channels -> Manage Channels -> [Cloned Channel] -> Errata -> Add -> Add Red
Hat Errata
- Select an errata having i386 and x86_64 packages. Example xen which has
xen-libs for both archs.
- Confirm 

OLD,
- - Here x86_64 section is blank. x86_64 arch package is not selected for
addition in that channel
x8664 packages was in 'Sync'

NEW: 
cobbler-1.6.6-8.el5sat.x86_64
spacewalk-java-0.5.44-77.el5sat.noarch
spacewalk-base-0.5.23-35.el5sat.noarch

x86_64 section=1, i386 section=1; x8664 is selected with cloned errata
no package is in 'Sync'
---
tested on sat530+ RHEL55@x8664arch, Verified

Comment 19 errata-xmlrpc 2010-06-22 14:03:38 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/RHBA-2010-0498.html


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