Project

Profile

Help

Issue #1036

closed

Python 2.4 incompatibility in Gofer 2.6 Thread.is_alive() on EL5

Added by jortel@redhat.com over 9 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.6.3
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:

Description

https://bugzilla.redhat.com/show_bug.cgi?id=1228791

Loaded plugins: product-id
Traceback (most recent call last):
  File "/usr/bin/goferd", line 20, in ?
    main()
  File "/usr/lib/python2.4/site-packages/gofer/agent/main.py", line 181, in main
    start(daemon)
  File "/usr/lib/python2.4/site-packages/gofer/agent/main.py", line 113, in start
    agent.start()
  File "/usr/lib/python2.4/site-packages/gofer/agent/main.py", line 76, in start
    plugin.start()
  File "/usr/lib/python2.4/site-packages/gofer/common.py", line 218, in sfn
    return fn(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/gofer/agent/plugin.py", line 264, in start
    if self.is_started:
  File "/usr/lib/python2.4/site-packages/gofer/agent/plugin.py", line 255, in is_started
    return self.scheduler.is_alive()
AttributeError: 'Scheduler' object has no attribute 'is_alive

Just needs to use isAlive() for 2.4 compat.

Added by jortel@redhat.com over 9 years ago

Revision 08c8bd05 | View on GitHub

ref #1036 - gofer: python 2.4 compat.

Added by jortel@redhat.com over 9 years ago

Revision 08c8bd05 | View on GitHub

ref #1036 - gofer: python 2.4 compat.

Actions #1

Updated by jortel@redhat.com over 9 years ago

  • Status changed from ASSIGNED to POST
  • Tags Easy Fix added
Actions #3

Updated by jortel@redhat.com over 9 years ago

  • Status changed from POST to MODIFIED
  • Platform Release set to 2.6.3
Actions #4

Updated by dkliban@redhat.com over 9 years ago

  • Status changed from MODIFIED to 5
Actions #5

Updated by igulina@redhat.com over 9 years ago

  • Status changed from 5 to 6

On el5 with gofer 2.6.2 there is no traceback in /var/log/messages

uname -r
2.6.18-398.el5xen

>> rpm -qa *gofer*
gofer-2.6.2-1.el5
python-gofer-qpid-2.6.2-1.el5
python-gofer-2.6.2-1.el5
Actions #6

Updated by dkliban@redhat.com about 9 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #7

Updated by dkliban@redhat.com about 9 years ago

  • Status changed from CLOSED - CURRENTRELEASE to 6
Actions #8

Updated by dkliban@redhat.com about 9 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #11

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF