[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Pulp-list] can't install packages with pulp

It looks like you either don't have the rpm handlers installed on the consumer, or you haven't restarted the agent since installing them. Check out the "Agent" instructions at the bottom if this page, and report back if you're still having trouble.


Michael Hrivnak

----- Original Message -----
From: "Cristian Falcas" <cristi falcas gmail com>
To: pulp-list redhat com
Sent: Tuesday, April 23, 2013 5:17:09 AM
Subject: Re: [Pulp-list] can't install packages with pulp

I have a similar error when trying to do the bind:

2013-04-23 12:10:05,862 [INFO][worker-0] dispatch() @
dispatcher.py:646 - request: {'classname': 'Consumer', 'kws': {},
'args': [[{'repo_id': 'pulp-v2-beta-6Server', 'details': {'ca_cert':
None, 'server_name': 'oracle2', 'relative_path':
'/pulp/repos//pulp/v2/beta/6Server/x86_64/', 'gpg_keys': [],
'client_cert': None, 'protocols': ['http'], 'repo_name':
'pulp-v2-beta-6Server'}, 'type_id': 'yum_distributor'}], {}],
'method': 'bind', 'cntr': None}
2013-04-23 12:10:05,863 [ERROR][worker-0] bind() @ dispatcher.py:234 -
handler failed
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py",
line 229, in bind
    handler = self.__handler(type_id, BIND)
  File "/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py",
line 345, in __handler
    raise HandlerNotFound(type=type_id)
HandlerNotFound: No handler for: {'type': 'yum_distributor'}
2013-04-23 12:10:05,864 [INFO][worker-0] sendreply() @ rmi.py:156 -
5a5f95bc-31f7-4d32-ae61-cf2fc19ff862 processed in: 34 (ms)

On Tue, Apr 23, 2013 at 11:49 AM, Cristian Falcas
<cristi falcas gmail com> wrote:
> Hello,
> When I try to install a package I get this error:
> [root oracle2 ~]# pulp-admin rpm consumer package install run
> --consumer-id oracle4 --name zabbix20-agent
> This command may be exited via ctrl+c without affecting the request.
> [-]
> Waiting to begin
> Install Failed
> No handler for: {'type': 'rpm'}
> I only found this bug with the same error:
> https://bugzilla.redhat.com/show_bug.cgi?id=850930
> But I already have the python-rhsm package installed.
> Anyone has any idea why is this happening?
> Best regards,
> Cristian

Pulp-list mailing list
Pulp-list redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]