Bug 1395895 - rhnpush Python problem on RHEL5: 'tuple' object has no attribute 'args'
Summary: rhnpush Python problem on RHEL5: 'tuple' object has no attribute 'args'
Keywords:
Status: CLOSED DUPLICATE of bug 1440203
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Client
Version: 580
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Lukáš Hellebrandt
URL:
Whiteboard:
Depends On: 1390170
Blocks: sat580-spw-retest
TreeView+ depends on / blocked
 
Reported: 2016-11-16 21:20 UTC by Jan Hutař
Modified: 2017-04-18 13:15 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1390170
Environment:
Last Closed: 2017-04-18 13:15:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2016-11-16 21:20:54 UTC
We have tested (or attempted to test) bug like this when Spacewalk 2.6 was to be released. This is a clone of that bug to get it re-tested on Satellite 5.8.0. In some cases bug can be completely irrelevant (in such cases I suggest to close the bug as NOTABUG), in some cases it might be wise to take the bug as a note that something changed in a given area and we might want to sanity-test that area (and mark the bug as VERIFIED with "SanityOnly" keyword) and in some cases bug might be totally relevant to Satellite.



+++ This bug was initially created as a clone of Bug #1390170 +++

Description of problem:
On RHEL5 (Python 2.4), rhnpush fails with "ERROR: unhandled exception occurred: ('tuple' object has no attribute 'args')." The problem is in line 757 of /usr/share/rhn/rhnpush/uploadLib.py file - the getargspec function returns a tuple in Python 2.4 rather than namedtuple.

How reproducible:
Deterministic

Steps to Reproduce:
rhnpush <rpm> -c <channel> -u <user> -p <pass> --nosig --server=<server>

Actual results:
ERROR: unhandled exception occurred: ('tuple' object has no attribute 'args').

Expected results:
Package successfully pushed

--- Additional comment from Gennadii Altukhov on 2016-11-03 12:43:43 EDT ---

spacewalk.git:
a20233da9415b28f8d4466ac93d6829873f3a6cb

--- Additional comment from Lukáš Hellebrandt on 2016-11-10 09:24:41 EST ---

Verified on RHEL5 with 2016-11-09 SW nightly. Also verified the fix did not break things on RHEL6 with the same day SW nightly.

Comment 1 Lukáš Hellebrandt 2016-11-21 10:17:43 UTC
Verified with 5.8 compose from 2016-11-21.

We do not support 5.8 on RHEL5 so I did not test if the bug was indeed fixed.

I have tested sanity-only on RHEL6. Created a custom channel, rhnpushed and verified in WebUI that the rpm is actually present in the channel.

Comment 2 Ales Dujicek 2017-04-18 13:15:04 UTC

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


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