Bug 646546 - Adding errata to custom channel takes very long time
Summary: Adding errata to custom channel takes very long time
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 530
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Jan Dobes
QA Contact: Jan HutaÅ™
URL:
Whiteboard:
Depends On: 668539
Blocks: sat580-low
TreeView+ depends on / blocked
 
Reported: 2010-10-25 16:26 UTC by Martin Osvald 🛹
Modified: 2018-11-26 19:32 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-21 12:12:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Martin Osvald 🛹 2010-10-25 16:26:12 UTC
Description of problem:

If you create a custom channel and want to add erratas to it, it takes very long time to add them. For approx 1500 erratas it takes over half hour for them to show up as available.


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

Satellite 5.3 - spacewalk-java-0.5.44-92.el5sat


How reproducible:

Always.


Steps to Reproduce:

1. Click on Channels -> Manage Software Channels -> Create New Channel

fill in there all required info and let the 'Parent Channel' as 'none'.

2. Click on Channels -> Manage Software Channels -> Create New Channel

fill in there also all required info and set the 'Parent Channel' to the name of the previously created one.

3.  Click on Channels -> Manage Software Channels -> choose the channel created in the previous step (2.)

4. click on Errata -> Add

Add there all available redhat erratas (~1500) from the base channel.

  
Actual results:

It takes over half hour for added erratas to show up as available.


Expected results:

It shouldn't take so long.


Additional info:

See private comment(s) for investigation results.

Comment 12 Jan Dobes 2017-05-18 12:02:54 UTC
I've tried it now and it doesn't seem to take so much time. I remember there was done some rewriting in area of cloning channels in recent years.
My reproducer:
1. Create custom channel
2. Manage this channel -> Add Errata -> Add Red Hat Errata
3. Uncheck Package Association, pick RHEL 7 version, RHEL x86_64 server 7 channel
4. Select all over 1900 errata
5. Submit and after page loads (it takes some time), errata are cloned into channel, errata packages are associated to channel, no major delays


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