Project

Profile

Help

Issue #1036

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

Added by jortel@redhat.com over 6 years ago. Updated over 2 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.

Associated revisions

Revision 08c8bd05 View on GitHub
Added by jortel@redhat.com over 6 years ago

ref #1036 - gofer: python 2.4 compat.

Revision 08c8bd05 View on GitHub
Added by jortel@redhat.com over 6 years ago

ref #1036 - gofer: python 2.4 compat.

History

#1 Updated by jortel@redhat.com over 6 years ago

  • Status changed from ASSIGNED to POST
  • Tags Easy Fix added

#3 Updated by jortel@redhat.com over 6 years ago

  • Status changed from POST to MODIFIED
  • Platform Release set to 2.6.3

#4 Updated by dkliban@redhat.com over 6 years ago

  • Status changed from MODIFIED to 5

#5 Updated by igulina@redhat.com over 6 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

#6 Updated by dkliban@redhat.com about 6 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#7 Updated by dkliban@redhat.com about 6 years ago

  • Status changed from CLOSED - CURRENTRELEASE to 6

#8 Updated by dkliban@redhat.com about 6 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#11 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF