Bug 428031 - cloneErrata doesn't actually add packages
Summary: cloneErrata doesn't actually add packages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API
Version: 510
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Justin Sherrill
QA Contact: Brandon Perkins
URL:
Whiteboard:
Depends On:
Blocks: 248642
TreeView+ depends on / blocked
 
Reported: 2008-01-08 20:10 UTC by Justin Sherrill
Modified: 2008-04-02 20:59 UTC (History)
0 users

Fixed In Version: sat510
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-02 20:59:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Justin Sherrill 2008-01-08 20:10:32 UTC
the software.channel.cloneErrata doesn't actually add packages to the channels
when they are cloned.

Comment 1 Justin Sherrill 2008-01-17 15:07:36 UTC
fixed in rev 135809.

Comment 2 Brandon Perkins 2008-01-30 23:17:51 UTC
Fails QA.  My test:

./test_errata.clone_errata.pl --host rhndev5.z900.redhat.com --user bdperkin
--password redhat --channel apiia32channelsoftware1201055234520 --advisoryid 
RHBA-2008:0026

The errata was cloned as advisory_name = CLA-2008:0026, but there were no
packages in the channel.

Comment 3 Justin Sherrill 2008-01-31 14:36:52 UTC
Brandon, 

Were there any packages in the channel beforehand?  

I have heard many customer complaints in the past couple of years about errata
cloning methods in satellite pushing packages into channels that weren't in
there before. (when i rewrote the channel management errata add page I fixed
this!)  

So errata should only be added to the channel if they have a package of the same
name with the same arch already in the channel.   

Comment 4 Justin Sherrill 2008-01-31 21:22:30 UTC
Test Plan:

Create a custom channel for RHEL 4 i386.  Clone a kernel errata into the channel.

Expected results:
  Only the "kernel" package from the errata should be published to the channel.
 Kernel-smp (or any other package) should not.

Comment 5 Brandon Perkins 2008-02-02 05:53:42 UTC
Verified.

Comment 6 Preethi Thomas 2008-03-20 17:23:42 UTC
release pending

Comment 7 Brandon Perkins 2008-04-02 20:59:35 UTC
API call Enhancements for 5.1 Sat GA so Closed for Current Release.


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