Bug 481053 - unhandled indexerror while updating
Summary: unhandled indexerror while updating
Keywords:
Status: CLOSED DUPLICATE of bug 441738
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: yum-rhn-plugin
Version: 5.3
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Pradeep Kilambi
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
: 503682 503904 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-21 22:16 UTC by Brent Holden
Modified: 2009-06-10 12:52 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-10 12:52:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
IndexError traceback from rhnplugin.py (4.76 KB, text/plain)
2009-01-21 22:17 UTC, Brent Holden
no flags Details

Description Brent Holden 2009-01-21 22:16:19 UTC
Description of problem:

RHN plugin randomly does not correctly handle a system update.  Yum will error after RPM has cleaned up installation of packages.

Version-Release number of selected component (if applicable):
RHEL 5.3
yum 3.2.19-18
yum-rhn-plugin 0.5.3-30

How reproducible:

Appears at random

  
Actual results:

See attachment


Expected results:

A handled IndexError exception

Comment 1 Brent Holden 2009-01-21 22:17:49 UTC
Created attachment 329667 [details]
IndexError traceback from rhnplugin.py

Comment 2 John Matthews 2009-01-21 22:30:36 UTC
It looks like this is related to a problem with SSL communication.

rhnplugin caught an OpenSSL.SSL.Error, then it hit a bug while trying to reformat the exception. 

we have a bug in our code, here rhnplugin.py: line 61-62
if len(pieces) >= 2:
    message = pieces[2].strip(" '")

Should be:
if len(pieces) > 2:
    message = pieces[2].strip(" '")

Comment 5 Pradeep Kilambi 2009-06-02 14:20:27 UTC
*** Bug 503682 has been marked as a duplicate of this bug. ***

Comment 6 Jan Hutař 2009-06-03 10:25:50 UTC
*** Bug 503904 has been marked as a duplicate of this bug. ***

Comment 7 Jan Hutař 2009-06-10 09:43:01 UTC
This looks like an duplicate of bug 441738. Can you please confirm?

Comment 8 Pradeep Kilambi 2009-06-10 12:52:26 UTC
yea looks like it.

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


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