Bug 496259 - deleting all managed errata does not finish successfully
Summary: deleting all managed errata does not finish successfully
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI
Version: 530
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Justin Sherrill
QA Contact: wes hayutin
URL: https://dhcp77-141.rhndev.redhat.com/...
Whiteboard:
Depends On:
Blocks: 456985
TreeView+ depends on / blocked
 
Reported: 2009-04-17 14:56 UTC by wes hayutin
Modified: 2009-09-10 20:35 UTC (History)
3 users (show)

Fixed In Version: sat530
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-10 20:35:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description wes hayutin 2009-04-17 14:56:44 UTC
Description of problem:
4/14 rhel 4 server


recreate:
1. sync rhel 4 / 5 channels
2. errata -> managed 
3. select all
4. delete selected errata ( which could be about 1500 items)


get

 We're sorry, but the erratum could not be found.

This error may have occurred in one of three ways:

   1. The erratum requested does not exist. This is most likely if you arrived at this page through bookmarks or some other non-hyperlink.
   2. You do not have permission to view this erratum.
   3. You've found an error in our site. Please help us by filling out this form with details of how you received this message.

Comment 1 Brandon Perkins 2009-04-21 15:34:59 UTC
Following the instructions, Cliff and I cannot reproduce.  Please reopen with additional information if you can still reproduce it.

Comment 2 wes hayutin 2009-04-22 19:39:39 UTC
I would certainly disagree ;)   

recreate:
1. sync rhel 4 / 5 channels
2. errata -> managed 
3. select all
4. delete selected errata ( which could be about 1500 items)


4/20 build after twenty minutes, never returns 
java process > 100% looking at top.

Comment 3 Brandon Perkins 2009-04-23 14:55:04 UTC
Comment #2 says that the procedure doesn't return, but the summary of this bug is about a 404, which we never saw.  If the issue is the not returning, please modify the summary to match what you are seeing.

Comment 4 wes hayutin 2009-04-23 15:10:02 UTC
on rhel 4, 4/14 build the transaction would finish and load the wrong page at the end.  The page load was an errata not found page.

on rhel5 on 4/20 the transaction never completes

Comment 5 Clifford Perry 2009-04-24 15:46:53 UTC
Since unable to reproduce the 404 but the never completes. Approved. 

Possible dupe of bug 497458

Cliff

Comment 6 Justin Sherrill 2009-04-27 19:36:34 UTC
d7b4797 

Deleting about 1500 errata should take about 25 seconds now, vs 10-20 minutes we were seeing before.

I modified everything to use bulk queries instead of queries for each errata.  

So instead of running 6 queries 1500 times, it just runs them once.

Comment 7 wes hayutin 2009-05-28 16:46:19 UTC
verified 5/21.1

Comment 8 Preethi Thomas 2009-08-04 15:32:22 UTC
Release Pending
Deleting all managed errata completed on test1182.test.redhat.com

Comment 9 Brandon Perkins 2009-09-10 20:35:50 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/RHEA-2009-1434.html


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