Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1146294 - the rpm bind (agent) handler should not require python-pulp-bindings
Summary: the rpm bind (agent) handler should not require python-pulp-bindings
Keywords:
Status: CLOSED DUPLICATE of bug 1146286
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: sat6-pulp-blocker 1146286
TreeView+ depends on / blocked
 
Reported: 2014-09-24 23:53 UTC by Justin Sherrill
Modified: 2017-07-26 19:37 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1146286
Environment:
Last Closed: 2015-03-05 21:52:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Justin Sherrill 2014-09-24 23:53:50 UTC
+++ This bug was initially created as a clone of Bug #1146286 +++

Description of problem:

Due to python-pulp-bindings being installed on the satellite server, performing any package action on a client will result in this traceback in /var/log/messages


*Sep 24 19:26:56 centos-6 goferd: [ERROR][worker-0] pulp.agent.lib.container:303 - handler "bind", import failed
*Sep 24 19:26:56 centos-6 goferd: [ERROR][worker-0] pulp.agent.lib.container:303 - Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pulp/agent/lib/container.py", line 297, in __load mod = self.__import_module(path) File "/usr/lib/python2.6/site-packages/pulp/agent/lib/container.py", line 326, in __import_module mod = __import__(path[0], globals(), locals(), [path[-1]]) File "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/bind.py", line 9, in <module> from pulp_rpm.handlers import repolib File "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/repolib.py", line 12, in <module> from pulp.bindings.server import DEFAULT_CA_PATH ImportError: No module named bindings.server


Note that the action completes just fine, its just the error is printed.

Talking to jortel this the python-pulp-bindings shouldn't even be installed on the sat6 server, however:

	python-pulp-bindings = 2.4.0 is needed by (installed) pulp-nodes-common-2.4.0-1.el6.noarch

So somewhere along the way this dependency was added.


Version-Release number of selected component (if applicable):

6.0.4



How reproducible:
Always

Steps to Reproduce:
1.  Register a client with katello-agent installed
2.  Issue a package install from within satellite6
3.  monitor /var/log/messages on the client

Actual results:
traceback is thrown, package is installed

Expected results:
no traceback thrown


Additional info:

--- Additional comment from Justin Sherrill on 2014-09-24 19:14:47 EDT ---

Note this is a pulp packaging issue that may require a pulp code change

Comment 3 Chris Duryee 2014-11-14 19:54:26 UTC
merged to 2.5-dev and master

Comment 4 Chris Duryee 2014-12-23 20:52:15 UTC
fixed in pulp 2.6.0-0.2.beta

Comment 5 Brian Bouterse 2015-02-28 22:22:33 UTC
Moved to https://pulp.plan.io/issues/544

Comment 6 RHEL Program Management 2015-03-03 20:19:40 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 8 Brian Bouterse 2015-03-05 21:52:05 UTC

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


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