Bug 481053

Summary: unhandled indexerror while updating
Product: Red Hat Enterprise Linux 5 Reporter: Brent Holden <bholden>
Component: yum-rhn-pluginAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 5.3CC: bperkins, cperry, jhutar, pkilambi, rbiba
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-10 12:52:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
IndexError traceback from rhnplugin.py none

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 ***