Bug 695607 - pulp-agent fails on missing uuid module
Summary: pulp-agent fails on missing uuid module
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: rel-eng
Version: unspecified
Hardware: Unspecified
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Jeff Ortel
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: 563609
TreeView+ depends on / blocked
 
Reported: 2011-04-12 07:34 UTC by Daniel Mach
Modified: 2012-02-24 20:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-24 20:13:25 UTC


Attachments (Terms of Use)

Description Daniel Mach 2011-04-12 07:34:25 UTC
Looks like a gofer issue, but not sure where exactly to report it.
Traceback from a RHEL-5 box:

$ service pulp-agent start
Starting goferdTraceback (most recent call last):
  File "/usr/bin/goferd", line 17, in ?
    from gofer.agent.main import main
  File "/usr/lib/python2.4/site-packages/gofer/agent/main.py", line 23, in ?
    from gofer.agent.plugin import PluginLoader, Plugin
  File "/usr/lib/python2.4/site-packages/gofer/agent/plugin.py", line 25, in ?
    from gofer.messaging import Queue
  File "/usr/lib/python2.4/site-packages/gofer/messaging/__init__.py", line 16, in ?
    from uuid import uuid4
ImportError: No module named uuid

Adding uuid to gofer's deps should fix it.

Comment 1 Jeff Ortel 2011-04-12 14:23:00 UTC
I had added /etc/rpm/macro.pulp on our RHEL 5  builders as:

%el5 1
%rhel 5

and on our RHEL 6 builders as:

%el6 1
%rhel 6

to align with brew.

We simply need to change the pulp.spec and gofer.spec and maybe grinder.spec to use:

%if 0%{rhel} == 5 

instead of 

%if 0%{el5}

Comment 2 Sayli Karmarkar 2011-07-15 22:01:12 UTC
Jeff, have you already made this change?

Comment 3 Jeff Ortel 2011-07-18 15:27:33 UTC
Nope.  I'll fix this today.

Comment 4 Jeff Ortel 2011-08-03 17:43:03 UTC
Fixed in gofer 0.44
Fixed in pulp.
Grinder only used {el6} which is defined in brew.

Comment 5 Jeff Ortel 2011-08-03 20:11:25 UTC
build: 0.219

Comment 6 Preethi Thomas 2011-09-02 17:31:09 UTC
verified on rhel5
[root@pulp-qe-rhel5 ~]# service pulp-agent restart
Stopping goferd                                            [  OK  ]
Starting goferd                                            [  OK  ]
[root@pulp-qe-rhel5 ~]# rpm -q pulp
pulp-0.0.229-1
[root@pulp-qe-rhel5 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 5.6 (Tikanga)

Comment 7 Preethi Thomas 2012-02-24 20:13:25 UTC
Pulp v1.0 is released
Closed Current Release.


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