[Katello] HandlerNotFound: No handler for: {'type': u'erratum'}

Hi

I am trying to apply some errata patches from web gui to client node.
Katello agent is installed and running. But unfortunately it fails. This is
error log from goferd.service on client:

Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.connect:28 - connecting:
proton+amqps://katello.local:5647
Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:87 - open: URL:
amqps://katello.local:5647|SSL: ca:
/etc/rhsm/ca/katello-default-ca.pem|key: None|certificate:
/etc/pki/consumer/bundle.pem|host-validation: None
Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] root:490 -
connecting to katello.local:5647…
Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:92 - opened:
proton+amqps://katello.local:5647
Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.connect:30 - connected:
proton+amqps://katello.local:5647
Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] root:512 - connected
to katello.local:5647
Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0]
gofer.rmi.dispatcher:603 - call: Content.install()
sn=ba061a76-efa8-4261-aa2f-3de90aa8ac83 data={u'task_id':
u'f50849b9-1862-4929-a1f8-e3fff00ca9d4', u'consumer_id':
u'22a8cf78-17ac-4c76-bbca-770892211482'}
Aug 31 15:32:18 vm-node goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - handler failed
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - Traceback (most recent call last):
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - File
"/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 60,
in install
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id,
CONTENT)
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - File
"/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 330,
in __handler
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id)
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {'type':
u'erratum'}
Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] gofer.agent.rmi:193

  • Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83, committed
    Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] gofer.agent.rmi:147
  • Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83 processed in: 2.506
    (seconds)
    Aug 31 15:32:19 vmnode goferd[21947]: [INFO][worker-0]
    gofer.messaging.adapter.proton.connection:131 - closed:
    proton+amqps://katello.local:5647

Any idea what is wrong?

Edgars

Forgot to mention that this is Katello 3.0.2

Edgars

trešdiena, 2016. gada 31. augusts 15:37:08 UTC+2, Edgars M. rakstīja:

··· > > Hi > > I am trying to apply some errata patches from web gui to client node. > Katello agent is installed and running. But unfortunately it fails. This is > error log from goferd.service on client: > > Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] > gofer.messaging.adapter.connect:28 - connecting: > proton+amqps://katello.local:5647 > Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] > gofer.messaging.adapter.proton.connection:87 - open: URL: > amqps://katello.local:5647|SSL: ca: > /etc/rhsm/ca/katello-default-ca.pem|key: None|certificate: > /etc/pki/consumer/bundle.pem|host-validation: None > Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] root:490 - > connecting to katello.local:5647... > Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] > gofer.messaging.adapter.proton.connection:92 - opened: > proton+amqps://katello.local:5647 > Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] > gofer.messaging.adapter.connect:30 - connected: > proton+amqps://katello.local:5647 > Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] root:512 - > connected to katello.local:5647 > Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] > gofer.rmi.dispatcher:603 - call: Content.install() > sn=ba061a76-efa8-4261-aa2f-3de90aa8ac83 data={u'task_id': > u'f50849b9-1862-4929-a1f8-e3fff00ca9d4', u'consumer_id': > u'22a8cf78-17ac-4c76-bbca-770892211482'} > Aug 31 15:32:18 vm-node goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - handler failed > Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - Traceback (most recent call last): > Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - File > "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 60, > in install > Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id, > CONTENT) > Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - File > "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 330, > in __handler > Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id) > Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {'type': > u'erratum'} > Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] gofer.agent.rmi:193 > - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83, committed > Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] gofer.agent.rmi:147 > - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83 processed in: 2.506 > (seconds) > Aug 31 15:32:19 vmnode goferd[21947]: [INFO][worker-0] > gofer.messaging.adapter.proton.connection:131 - closed: > proton+amqps://katello.local:5647 > > > Any idea what is wrong? > > Edgars >

Hello,

Same symptoms for me, after upgrading server from Katello 2.4 to 3.0
Katello server is CentOS 7

On one test server (Centos 7), a "yum update" + reboot solved the problem.
But on another server (CentOS 6), the same action did not solve anything.

Client log , slightly different than Edgar's log:
CentOS 6, latest versions

Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]
> gofer.messaging.adapter.connect:28 - connecting:
> proton+amqps://lslkatp01.mydomain.com:5647
> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]
> gofer.messaging.adapter.proton.connection:87 - open: URL:
> amqps://lslkatp01.mydomain.com:5647|SSL: ca:
> /etc/rhsm/ca/katello-default-ca.pem|key: None|certificate:
> /etc/pki/consumer/bundle.pem|host-validation: None
> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] root:510 - connecting
> to lslkatp01.mydomain.com:5647
> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]
> gofer.messaging.adapter.proton.connection:92 - opened:
> proton+amqps://lslkatp01.mydomain.com:5647
> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]
> gofer.messaging.adapter.connect:30 - connected:
> proton+amqps://lslkatp01.mydomain.com:5647
> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] root:539 - connected to
> lslkatp01.mydomain.com:5647
> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]
> gofer.rmi.dispatcher:603 - call: Content.install()
> sn=4815f76e-70d9-4df3-a8fc-d6d76c895353 data={u'task_id':
> u'3e23e6be-69f7-4adf-96b6-cef334c1e8b9', u'consumer_id':
> u'f33175e5-47c5-406f-9c71-16132eda4bae'}
> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
> pulp.agent.lib.container:290 - handler "rpm", import failed
> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
> pulp.agent.lib.container:290 - Traceback (most recent call last):
> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
> pulp.agent.lib.container:290 - File
> "/usr/lib/python2.6/site-packages/pulp/agent/lib/container.py", line 284,
> in __load
> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
> pulp.agent.lib.container:290 - mod = self.__import_module(path)
> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
> pulp.agent.lib.container:290 - File
> "/usr/lib/python2.6/site-packages/pulp/agent/lib/container.py", line 313,
> in __import_module
> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
> pulp.agent.lib.container:290 - mod = import(path[0], globals(),
> locals(), [path[-1]])
> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
> pulp.agent.lib.container:290 - File
> "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpm.py", line 9, in
> <module>
> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
> pulp.agent.lib.container:290 - from pulp_rpm.handlers.rpmtools import
> Package, PackageGroup, ProgressReport
> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
> pulp.agent.lib.container:290 - File
> "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpmtools.py", line 28,
> in <module>
> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
> pulp.agent.lib.container:290 - import security
> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
> pulp.agent.lib.container:290 - ImportError: No module named security
> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
> pulp.agent.lib.dispatcher:65 - handler failed
> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
> pulp.agent.lib.dispatcher:65 - Traceback (most recent call last):
> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
> pulp.agent.lib.dispatcher:65 - File
> "/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py", line 60,
> in install
> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
> pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id,
> CONTENT)
> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
> pulp.agent.lib.dispatcher:65 - File
> "/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py", line 330,
> in __handler
> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
> pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id)
> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
> pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {'type':
> u'erratum'}
> Aug 26 11:32:19 lslpput01 goferd: [INFO][worker-0] gofer.agent.rmi:193 -
> Request: 4815f76e-70d9-4df3-a8fc-d6d76c895353, committed
> Aug 26 11:32:19 lslpput01 goferd: [INFO][worker-0] gofer.agent.rmi:147 -
> Request: 4815f76e-70d9-4df3-a8fc-d6d76c895353 processed in: 2.007 (seconds)
> Aug 26 11:32:20 lslpput01 goferd: [INFO][worker-0]
> gofer.messaging.adapter.proton.connection:131 - closed:
> proton+amqps://lslkatp01.mydomain.com:5647

server and client have been restarted.
Version mismatch on client after upgrading katello agent ?

··· Le mercredi 31 août 2016 15:37:08 UTC+2, Edgars M. a écrit : > > Hi > > I am trying to apply some errata patches from web gui to client node. > Katello agent is installed and running. But unfortunately it fails. This is > error log from goferd.service on client: > > Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] > gofer.messaging.adapter.connect:28 - connecting: > proton+amqps://katello.local:5647 > Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] > gofer.messaging.adapter.proton.connection:87 - open: URL: > amqps://katello.local:5647|SSL: ca: > /etc/rhsm/ca/katello-default-ca.pem|key: None|certificate: > /etc/pki/consumer/bundle.pem|host-validation: None > Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] root:490 - > connecting to katello.local:5647... > Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] > gofer.messaging.adapter.proton.connection:92 - opened: > proton+amqps://katello.local:5647 > Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] > gofer.messaging.adapter.connect:30 - connected: > proton+amqps://katello.local:5647 > Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] root:512 - > connected to katello.local:5647 > Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] > gofer.rmi.dispatcher:603 - call: Content.install() > sn=ba061a76-efa8-4261-aa2f-3de90aa8ac83 data={u'task_id': > u'f50849b9-1862-4929-a1f8-e3fff00ca9d4', u'consumer_id': > u'22a8cf78-17ac-4c76-bbca-770892211482'} > Aug 31 15:32:18 vm-node goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - handler failed > Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - Traceback (most recent call last): > Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - File > "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 60, > in install > Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id, > CONTENT) > Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - File > "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 330, > in __handler > Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id) > Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {'type': > u'erratum'} > Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] gofer.agent.rmi:193 > - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83, committed > Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] gofer.agent.rmi:147 > - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83 processed in: 2.506 > (seconds) > Aug 31 15:32:19 vmnode goferd[21947]: [INFO][worker-0] > gofer.messaging.adapter.proton.connection:131 - closed: > proton+amqps://katello.local:5647 > > > Any idea what is wrong? > > Edgars >

This worked for me:

For CentOS 7 clients, add this repository:
https://fedorapeople.org/groups/katello/releases/yum/nightly/client/el7/x86_64/

Then run yum update *pulp* and restart goferd with systemctl restart goferd

··· On Wednesday, August 31, 2016 at 9:37:08 AM UTC-4, Edgars M. wrote: > > Hi > > I am trying to apply some errata patches from web gui to client node. > Katello agent is installed and running. But unfortunately it fails. This is > error log from goferd.service on client: > > Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] > gofer.messaging.adapter.connect:28 - connecting: > proton+amqps://katello.local:5647 > Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] > gofer.messaging.adapter.proton.connection:87 - open: URL: > amqps://katello.local:5647|SSL: ca: > /etc/rhsm/ca/katello-default-ca.pem|key: None|certificate: > /etc/pki/consumer/bundle.pem|host-validation: None > Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] root:490 - > connecting to katello.local:5647... > Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] > gofer.messaging.adapter.proton.connection:92 - opened: > proton+amqps://katello.local:5647 > Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] > gofer.messaging.adapter.connect:30 - connected: > proton+amqps://katello.local:5647 > Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] root:512 - > connected to katello.local:5647 > Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] > gofer.rmi.dispatcher:603 - call: Content.install() > sn=ba061a76-efa8-4261-aa2f-3de90aa8ac83 data={u'task_id': > u'f50849b9-1862-4929-a1f8-e3fff00ca9d4', u'consumer_id': > u'22a8cf78-17ac-4c76-bbca-770892211482'} > Aug 31 15:32:18 vm-node goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - handler failed > Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - Traceback (most recent call last): > Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - File > "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 60, > in install > Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id, > CONTENT) > Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - File > "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 330, > in __handler > Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id) > Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] > pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {'type': > u'erratum'} > Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] gofer.agent.rmi:193 > - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83, committed > Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] gofer.agent.rmi:147 > - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83 processed in: 2.506 > (seconds) > Aug 31 15:32:19 vmnode goferd[21947]: [INFO][worker-0] > gofer.messaging.adapter.proton.connection:131 - closed: > proton+amqps://katello.local:5647 > > > Any idea what is wrong? > > Edgars >

Edgars,

Have you tried restarting goferd on the client? Also may be worth
restarting pulp and httpd as well on the main katello server

systemctl restart pulp_resource_manager pulp_celerybeat pulp_workers httpd

Thanks,

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

··· On Wed, Aug 31, 2016 at 9:40 AM, Edgars M. wrote:

Forgot to mention that this is Katello 3.0.2

Edgars

trešdiena, 2016. gada 31. augusts 15:37:08 UTC+2, Edgars M. rakstīja:

Hi

I am trying to apply some errata patches from web gui to client node.
Katello agent is installed and running. But unfortunately it fails. This is
error log from goferd.service on client:

Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.connect:28 - connecting:
proton+amqps://katello.local:5647
Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:87 - open: URL:
amqps://katello.local:5647|SSL: ca: /etc/rhsm/ca/katello-default-ca.pem|key:
None>certificate: /etc/pki/consumer/bundle.pem|host-validation: None
Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] root:490 -
connecting to katello.local:5647…
Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:92 - opened:
proton+amqps://katello.local:5647
Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.connect:30 - connected:
proton+amqps://katello.local:5647
Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] root:512 -
connected to katello.local:5647
Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0]
gofer.rmi.dispatcher:603 - call: Content.install()
sn=ba061a76-efa8-4261-aa2f-3de90aa8ac83 data={u’task_id’:
u’f50849b9-1862-4929-a1f8-e3fff00ca9d4’, u’consumer_id’:
u’22a8cf78-17ac-4c76-bbca-770892211482’}
Aug 31 15:32:18 vm-node goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - handler failed
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - Traceback (most recent call last):
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - File “/usr/lib/python2.7/site-packa
ges/pulp/agent/lib/dispatcher.py”, line 60, in install
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id,
CONTENT)
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - File “/usr/lib/python2.7/site-packa
ges/pulp/agent/lib/dispatcher.py”, line 330, in __handler
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id)
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {‘type’:
u’erratum’}
Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0]
gofer.agent.rmi:193 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83,
committed
Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0]
gofer.agent.rmi:147 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83
processed in: 2.506 (seconds)
Aug 31 15:32:19 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:131 - closed:
proton+amqps://katello.local:5647

Any idea what is wrong?

Edgars


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

> Hello,
>
> Same symptoms for me, after upgrading server from Katello 2.4 to 3.0
> Katello server is CentOS 7

Can you ensure that the yum-plugin-security package is installed on the
el6 client?

Pulp was updated to require this to improve performance and in 3.1 we
started requiring it with katello agent on el6 and el5. The 'no module
named security' error tells me its probably not installed.

-Justin

··· On 09/06/2016 09:39 AM, Pierre-Alain Pulfer wrote:

On one test server (Centos 7), a “yum update” + reboot solved the
problem.
But on another server (CentOS 6), the same action did not solve anything.

Client log , slightly different than Edgar’s log:
CentOS 6, latest versions

Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]
gofer.messaging.adapter.connect:28 - connecting:
proton+amqps://lslkatp01.mydomain.com:5647
Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:87 - open: URL:
amqps://lslkatp01.mydomain.com:5647|SSL: ca:
/etc/rhsm/ca/katello-default-ca.pem|key: None|certificate:
/etc/pki/consumer/bundle.pem|host-validation: None
Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] root:510 -
connecting to lslkatp01.mydomain.com:5647...
Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:92 - opened:
proton+amqps://lslkatp01.mydomain.com:5647
Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]
gofer.messaging.adapter.connect:30 - connected:
proton+amqps://lslkatp01.mydomain.com:5647
Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] root:539 -
connected to lslkatp01.mydomain.com:5647
Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]
gofer.rmi.dispatcher:603 - call: Content.install()
sn=4815f76e-70d9-4df3-a8fc-d6d76c895353 data={u'task_id':
u'3e23e6be-69f7-4adf-96b6-cef334c1e8b9', u'consumer_id':
u'f33175e5-47c5-406f-9c71-16132eda4bae'}
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - handler "rpm", import failed
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - Traceback (most recent call last):
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 -   File
"/usr/lib/python2.6/site-packages/pulp/agent/lib/container.py",
line 284, in __load
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 -     mod = self.__import_module(path)
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 -   File
"/usr/lib/python2.6/site-packages/pulp/agent/lib/container.py",
line 313, in __import_module
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 -     mod = __import__(path[0],
globals(), locals(), [path[-1]])
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 -   File
"/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpm.py", line
9, in <module>
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 -     from pulp_rpm.handlers.rpmtools
import Package, PackageGroup, ProgressReport
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 -   File
"/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpmtools.py",
line 28, in <module>
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 -     import security
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - ImportError: No module named security
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - handler failed
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - Traceback (most recent call last):
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 -   File
"/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py",
line 60, in install
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 -     handler =
self.__handler(type_id, CONTENT)
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 -   File
"/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py",
line 330, in __handler
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 -     raise HandlerNotFound(type=type_id)
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for:
{'type': u'erratum'}
Aug 26 11:32:19 lslpput01 goferd: [INFO][worker-0]
gofer.agent.rmi:193 - Request:
4815f76e-70d9-4df3-a8fc-d6d76c895353, committed
Aug 26 11:32:19 lslpput01 goferd: [INFO][worker-0]
gofer.agent.rmi:147 - Request:
4815f76e-70d9-4df3-a8fc-d6d76c895353 processed in: 2.007 (seconds)
Aug 26 11:32:20 lslpput01 goferd: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:131 - closed:
proton+amqps://lslkatp01.mydomain.com:5647

server and client have been restarted.
Version mismatch on client after upgrading katello agent ?

Le mercredi 31 août 2016 15:37:08 UTC+2, Edgars M. a écrit :

Hi

I am trying to apply some errata patches from web gui to client
node. Katello agent is installed and running. But unfortunately it
fails. This is error log from goferd.service on client:

>
Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.connect:28 - connecting:
proton+amqps://katello.local:5647
Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:87 - open: URL:
amqps://katello.local:5647|SSL: ca:
/etc/rhsm/ca/katello-default-ca.pem|key: None|certificate:
/etc/pki/consumer/bundle.pem|host-validation: None
Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] root:490 -
connecting to katello.local:5647...
Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:92 - opened:
proton+amqps://katello.local:5647
Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.connect:30 - connected:
proton+amqps://katello.local:5647
Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] root:512 -
connected to katello.local:5647
Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0]
gofer.rmi.dispatcher:603 - call: Content.install()
sn=ba061a76-efa8-4261-aa2f-3de90aa8ac83 data={u'task_id':
u'f50849b9-1862-4929-a1f8-e3fff00ca9d4', u'consumer_id':
u'22a8cf78-17ac-4c76-bbca-770892211482'}
Aug 31 15:32:18 vm-node goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - handler failed
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - Traceback (most recent call last):
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 -   File
"/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py",
line 60, in install
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 -     handler =
self.__handler(type_id, CONTENT)
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 -   File
"/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py",
line 330, in __handler
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 -     raise HandlerNotFound(type=type_id)
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for:
{'type': u'erratum'}
Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0]
gofer.agent.rmi:193 - Request:
ba061a76-efa8-4261-aa2f-3de90aa8ac83, committed
Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0]
gofer.agent.rmi:147 - Request:
ba061a76-efa8-4261-aa2f-3de90aa8ac83 processed in: 2.506 (seconds)
Aug 31 15:32:19 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:131 - closed:
proton+amqps://katello.local:5647

>

Any idea what is wrong?

Edgars


You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-users+unsubscribe@googlegroups.com
mailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com
mailto:foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Hi John

I rebooted both client and Katello server, but that did not help, here is
log from Pulp:

Action:

Actions::Pulp::Consumer::ContentInstall

Input:

{"consumer_uuid"=>"22a8cf78-17ac-4c76-bbca-770892211482",
"type"=>"erratum",
"args"=>["RHSA-2016:1626"],
"remote_user"=>"XXX",
"remote_cp_user"=>"XXX"}

Output:

{"pulp_tasks"=>
[{"exception"=>nil,
"task_type"=>nil,
"_href"=>"/pulp/api/v2/tasks/df66ba64-75e7-4bca-a5ca-e2ee5d57f107/",
"task_id"=>"df66ba64-75e7-4bca-a5ca-e2ee5d57f107",
"tags"=>
["pulp:consumer:22a8cf78-17ac-4c76-bbca-770892211482",
"pulp:action:unit_install"],
"finish_time"=>"2016-09-01T07:14:12Z",
"_ns"=>"task_status",
"start_time"=>"2016-09-01T07:14:11Z",
"traceback"=>nil,
"spawned_tasks"=>[],
"progress_report"=>{},
"queue"=>"agent.dq",
"state"=>"finished",
"worker_name"=>"agent",
"result"=>
{"reboot"=>{"scheduled"=>false, "details"=>{}},
"details"=>
{"erratum"=>
{"details"=>
{"message"=>"No handler for: {'type': u'erratum'}",
"trace"=>
"Traceback (most recent call last):\n\n File &quot;/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py&quot;, line 60, in install\n handler = self.__handler(type_id, CONTENT)\n\n File &quot;/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py&quot;, line 330, in __handler\n raise HandlerNotFound(type=type_id)\n\nHandlerNotFound: No handler for: {'type': u'erratum'}\n"},
"succeeded"=>false}},
"succeeded"=>false,
"num_changes"=>0},
"error"=>nil,
"_id"=>{"$oid"=>"57c7d5417d32550c8918ba82"},
"id"=>"57c7d5417d32550c8918ba82"}],
"poll_attempts"=>{"total"=>6, "failed"=>1}}

Exception:

Katello::Errors::PulpError: No handler for: {'type': u'erratum'}

Backtrace:

/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/pulp/consumer/abstract_content_action.rb:12:in external_task=&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/polling.rb:98:inpoll_external_task_with_rescue'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/polling.rb:21:in run&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/cancellable.rb:9:inrun'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/pulp/abstract_async_task.rb:45:in run&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:506:inblock (3 levels) in execute_run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in call&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in pass&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:30:inrun'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in call&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in pass&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:16:inblock in run'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:40:in block in as_remote_user&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/models/katello/concerns/user_extensions.rb:20:incp_config'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:27:in as_cp_user&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:39:inas_remote_user'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:16:in run&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:incall'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in pass&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/progress.rb:30:in with_progress_calculation&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/progress.rb:16:inrun'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in call&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in pass&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/keep_locale.rb:11:inblock in run'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/keep_locale.rb:22:in with_locale&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/keep_locale.rb:11:inrun'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in call&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in pass&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:30:inrun'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in call&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/world.rb:30:inexecute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:505:in block (2 levels) in execute_run&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:504:incatch'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:504:in block in execute_run&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:incall'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in block in with_error_handling&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:incatch'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in with_error_handling&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:499:inexecute_run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:260:in execute&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:9:inblock (2 levels) in execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract.rb:155:in call&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract.rb:155:inwith_meta_calculation'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:8:in block in execute&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:22:inopen_action'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:7:in execute&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/executors/parallel/worker.rb:15:inblock in on_message'
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:74:in block in assigns&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:intap'
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in assigns&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:56:inmatch_value'
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:36:in block in match?&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:ineach'
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in match?&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:23:inmatch'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/executors/parallel/worker.rb:12:in on_message&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/context.rb:46:inon_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/executes_context.rb:7:in on_envelope&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/actor.rb:26:in on_envelope&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/awaits.rb:15:in on_envelope&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in on_envelope&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:38:in process_envelope&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:31:inprocess_envelopes?'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:20:in on_envelope&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/termination.rb:55:in on_envelope&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/removes_child.rb:10:in on_envelope&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in on_envelope&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:161:inprocess_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:95:in block in on_envelope&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:118:inblock (2 levels) in schedule_execution'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in block in synchronize&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:insynchronize'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in synchronize&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:115:inblock in schedule_execution'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:18:in call&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:18:incall'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:96:in work&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:77:inblock in call_job'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:in call&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:inrun_task'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:322:in block (3 levels) in create_worker&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:inloop'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:in block (2 levels) in create_worker&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:incatch'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:in block in create_worker&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:incall'
/opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'

trešdiena, 2016. gada 31. augusts 23:13:40 UTC+2, John Mitsch rakstīja:

··· > > Edgars, > > Have you tried restarting goferd on the client? Also may be worth > restarting pulp and httpd as well on the main katello server > > systemctl restart pulp_resource_manager pulp_celerybeat pulp_workers httpd > > Thanks, > > John Mitsch > Red Hat Engineering > (860)-967-7285 > irc: jomitsch > > On Wed, Aug 31, 2016 at 9:40 AM, Edgars M. > wrote: > >> Forgot to mention that this is Katello 3.0.2 >> >> Edgars >> >> >> trešdiena, 2016. gada 31. augusts 15:37:08 UTC+2, Edgars M. rakstīja: >>> >>> Hi >>> >>> I am trying to apply some errata patches from web gui to client node. >>> Katello agent is installed and running. But unfortunately it fails. This is >>> error log from goferd.service on client: >>> >>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] >>> gofer.messaging.adapter.connect:28 - connecting: >>> proton+amqps://katello.local:5647 >>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] >>> gofer.messaging.adapter.proton.connection:87 - open: URL: >>> amqps://katello.local:5647|SSL: ca: >>> /etc/rhsm/ca/katello-default-ca.pem|key: None|certificate: >>> /etc/pki/consumer/bundle.pem|host-validation: None >>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] root:490 - >>> connecting to katello.local:5647... >>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] >>> gofer.messaging.adapter.proton.connection:92 - opened: >>> proton+amqps://katello.local:5647 >>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] >>> gofer.messaging.adapter.connect:30 - connected: >>> proton+amqps://katello.local:5647 >>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] root:512 - >>> connected to katello.local:5647 >>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>> gofer.rmi.dispatcher:603 - call: Content.install() >>> sn=ba061a76-efa8-4261-aa2f-3de90aa8ac83 data={u'task_id': >>> u'f50849b9-1862-4929-a1f8-e3fff00ca9d4', u'consumer_id': >>> u'22a8cf78-17ac-4c76-bbca-770892211482'} >>> Aug 31 15:32:18 vm-node goferd[21947]: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - handler failed >>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - Traceback (most recent call last): >>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - File >>> "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 60, >>> in install >>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id, >>> CONTENT) >>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - File >>> "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 330, >>> in __handler >>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id) >>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {'type': >>> u'erratum'} >>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>> gofer.agent.rmi:193 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83, >>> committed >>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>> gofer.agent.rmi:147 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83 >>> processed in: 2.506 (seconds) >>> Aug 31 15:32:19 vmnode goferd[21947]: [INFO][worker-0] >>> gofer.messaging.adapter.proton.connection:131 - closed: >>> proton+amqps://katello.local:5647 >>> >>> >>> Any idea what is wrong? >>> >>> Edgars >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-user...@googlegroups.com . >> To post to this group, send email to forema...@googlegroups.com >> . >> Visit this group at https://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> > >

Solved :

CentOS 6 :
yum-plugin-security was not installed.
Installing yum-plugin-security solved the problem for el6. Thanks !

For CentOS 5 i had to install yum-security package.
These packages are not installed by default on CentOS 5 / 6.

On el7 (CentOS 7) :

  • updated from pulp-rpm-handlers-2.6.4-1.el7.noarch to
    pulp-rpm-handlers-2.8.6-1.el7.noarch
  • restarted goferd

THANKS !

··· Le jeudi 8 septembre 2016 21:51:45 UTC+2, jsherril a écrit : > > On 09/06/2016 09:39 AM, Pierre-Alain Pulfer wrote: > > Hello, > > Same symptoms for me, after upgrading server from Katello 2.4 to 3.0 > Katello server is CentOS 7 > > > Can you ensure that the yum-plugin-security package is installed on the > el6 client? > > Pulp was updated to require this to improve performance and in 3.1 we > started requiring it with katello agent on el6 and el5. The 'no module > named security' error tells me its probably not installed. > > > -Justin > > > On one test server (Centos 7), a "yum update" + reboot solved the problem. > But on another server (CentOS 6), the same action did not solve anything. > > Client log , slightly different than Edgar's log: > CentOS 6, latest versions > > Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >> gofer.messaging.adapter.connect:28 - connecting: proton+amqps:// >> lslkatp01.mydomain.com:5647 >> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >> gofer.messaging.adapter.proton.connection:87 - open: URL: >> amqps://lslkatp01.mydomain.com:5647|SSL: ca: >> /etc/rhsm/ca/katello-default-ca.pem|key: None|certificate: >> /etc/pki/consumer/bundle.pem|host-validation: None >> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] root:510 - connecting >> to lslkatp01.mydomain.com:5647... >> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >> gofer.messaging.adapter.proton.connection:92 - opened: proton+amqps:// >> lslkatp01.mydomain.com:5647 >> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >> gofer.messaging.adapter.connect:30 - connected: proton+amqps:// >> lslkatp01.mydomain.com:5647 >> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] root:539 - connected >> to lslkatp01.mydomain.com:5647 >> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >> gofer.rmi.dispatcher:603 - call: Content.install() >> sn=4815f76e-70d9-4df3-a8fc-d6d76c895353 data={u'task_id': >> u'3e23e6be-69f7-4adf-96b6-cef334c1e8b9', u'consumer_id': >> u'f33175e5-47c5-406f-9c71-16132eda4bae'} >> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >> pulp.agent.lib.container:290 - handler "rpm", import failed >> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >> pulp.agent.lib.container:290 - Traceback (most recent call last): >> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >> pulp.agent.lib.container:290 - File >> "/usr/lib/python2.6/site-packages/pulp/agent/lib/container.py", line 284, >> in __load >> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >> pulp.agent.lib.container:290 - mod = self.__import_module(path) >> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >> pulp.agent.lib.container:290 - File >> "/usr/lib/python2.6/site-packages/pulp/agent/lib/container.py", line 313, >> in __import_module >> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >> pulp.agent.lib.container:290 - mod = __import__(path[0], globals(), >> locals(), [path[-1]]) >> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >> pulp.agent.lib.container:290 - File >> "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpm.py", line 9, in >> >> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >> pulp.agent.lib.container:290 - from pulp_rpm.handlers.rpmtools import >> Package, PackageGroup, ProgressReport >> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >> pulp.agent.lib.container:290 - File >> "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpmtools.py", line 28, >> in >> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >> pulp.agent.lib.container:290 - import security >> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >> pulp.agent.lib.container:290 - ImportError: No module named security >> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >> pulp.agent.lib.dispatcher:65 - handler failed >> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >> pulp.agent.lib.dispatcher:65 - Traceback (most recent call last): >> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >> pulp.agent.lib.dispatcher:65 - File >> "/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py", line 60, >> in install >> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >> pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id, >> CONTENT) >> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >> pulp.agent.lib.dispatcher:65 - File >> "/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py", line 330, >> in __handler >> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >> pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id) >> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >> pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {'type': >> u'erratum'} >> Aug 26 11:32:19 lslpput01 goferd: [INFO][worker-0] gofer.agent.rmi:193 - >> Request: 4815f76e-70d9-4df3-a8fc-d6d76c895353, committed >> Aug 26 11:32:19 lslpput01 goferd: [INFO][worker-0] gofer.agent.rmi:147 - >> Request: 4815f76e-70d9-4df3-a8fc-d6d76c895353 processed in: 2.007 (seconds) >> Aug 26 11:32:20 lslpput01 goferd: [INFO][worker-0] >> gofer.messaging.adapter.proton.connection:131 - closed: proton+amqps:// >> lslkatp01.mydomain.com:5647 > > > > server and client have been restarted. > Version mismatch on client after upgrading katello agent ? > > > > Le mercredi 31 août 2016 15:37:08 UTC+2, Edgars M. a écrit : >> >> Hi >> >> I am trying to apply some errata patches from web gui to client node. >> Katello agent is installed and running. But unfortunately it fails. This is >> error log from goferd.service on client: >> >> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] >> gofer.messaging.adapter.connect:28 - connecting: >> proton+amqps://katello.local:5647 >> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] >> gofer.messaging.adapter.proton.connection:87 - open: URL: >> amqps://katello.local:5647|SSL: ca: >> /etc/rhsm/ca/katello-default-ca.pem|key: None|certificate: >> /etc/pki/consumer/bundle.pem|host-validation: None >> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] root:490 - >> connecting to katello.local:5647... >> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] >> gofer.messaging.adapter.proton.connection:92 - opened: >> proton+amqps://katello.local:5647 >> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] >> gofer.messaging.adapter.connect:30 - connected: >> proton+amqps://katello.local:5647 >> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] root:512 - >> connected to katello.local:5647 >> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >> gofer.rmi.dispatcher:603 - call: Content.install() >> sn=ba061a76-efa8-4261-aa2f-3de90aa8ac83 data={u'task_id': >> u'f50849b9-1862-4929-a1f8-e3fff00ca9d4', u'consumer_id': >> u'22a8cf78-17ac-4c76-bbca-770892211482'} >> Aug 31 15:32:18 vm-node goferd[21947]: [ERROR][worker-0] >> pulp.agent.lib.dispatcher:65 - handler failed >> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >> pulp.agent.lib.dispatcher:65 - Traceback (most recent call last): >> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >> pulp.agent.lib.dispatcher:65 - File >> "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 60, >> in install >> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >> pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id, >> CONTENT) >> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >> pulp.agent.lib.dispatcher:65 - File >> "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 330, >> in __handler >> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >> pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id) >> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >> pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {'type': >> u'erratum'} >> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >> gofer.agent.rmi:193 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83, >> committed >> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >> gofer.agent.rmi:147 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83 >> processed in: 2.506 (seconds) >> Aug 31 15:32:19 vmnode goferd[21947]: [INFO][worker-0] >> gofer.messaging.adapter.proton.connection:131 - closed: >> proton+amqps://katello.local:5647 >> >> >> Any idea what is wrong? >> >> Edgars >> > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-user...@googlegroups.com . > To post to this group, send email to forema...@googlegroups.com > . > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout. > > >

katello-agent-2.5.0-5.el7sat.noarch running on RHEL7

Edgars

ceturtdiena, 2016. gada 1. septembris 09:19:19 UTC+2, Edgars M. rakstīja:

··· > > Hi John > > I rebooted both client and Katello server, but that did not help, here is > log from Pulp: > > Action: > > Actions::Pulp::Consumer::ContentInstall > > Input: > > {"consumer_uuid"=>"22a8cf78-17ac-4c76-bbca-770892211482", > "type"=>"erratum", > "args"=>["RHSA-2016:1626"], > "remote_user"=>"XXX", > "remote_cp_user"=>"XXX"} > > Output: > > {"pulp_tasks"=> > [{"exception"=>nil, > "task_type"=>nil, > "_href"=>"/pulp/api/v2/tasks/df66ba64-75e7-4bca-a5ca-e2ee5d57f107/", > "task_id"=>"df66ba64-75e7-4bca-a5ca-e2ee5d57f107", > "tags"=> > ["pulp:consumer:22a8cf78-17ac-4c76-bbca-770892211482", > "pulp:action:unit_install"], > "finish_time"=>"2016-09-01T07:14:12Z", > "_ns"=>"task_status", > "start_time"=>"2016-09-01T07:14:11Z", > "traceback"=>nil, > "spawned_tasks"=>[], > "progress_report"=>{}, > "queue"=>"agent.dq", > "state"=>"finished", > "worker_name"=>"agent", > "result"=> > {"reboot"=>{"scheduled"=>false, "details"=>{}}, > "details"=> > {"erratum"=> > {"details"=> > {"message"=>"No handler for: {'type': u'erratum'}", > "trace"=> > "Traceback (most recent call last):\n\n File \"/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py\", line 60, in install\n handler = self.__handler(type_id, CONTENT)\n\n File \"/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py\", line 330, in __handler\n raise HandlerNotFound(type=type_id)\n\nHandlerNotFound: No handler for: {'type': u'erratum'}\n"}, > "succeeded"=>false}}, > "succeeded"=>false, > "num_changes"=>0}, > "error"=>nil, > "_id"=>{"$oid"=>"57c7d5417d32550c8918ba82"}, > "id"=>"57c7d5417d32550c8918ba82"}], > "poll_attempts"=>{"total"=>6, "failed"=>1}} > > > Exception: > > Katello::Errors::PulpError: No handler for: {'type': u'erratum'} > > Backtrace: > > /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/pulp/consumer/abstract_content_action.rb:12:in `external_task=' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/polling.rb:98:in `poll_external_task_with_rescue' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/polling.rb:21:in `run' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/cancellable.rb:9:in `run' > /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/pulp/abstract_async_task.rb:45:in `run' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:506:in `block (3 levels) in execute_run' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `call' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:30:in `run' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass' > /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:16:in `block in run' > /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:40:in `block in as_remote_user' > /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/models/katello/concerns/user_extensions.rb:20:in `cp_config' > /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:27:in `as_cp_user' > /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:39:in `as_remote_user' > /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:16:in `run' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/progress.rb:30:in `with_progress_calculation' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/progress.rb:16:in `run' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass' > /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/keep_locale.rb:11:in `block in run' > /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/keep_locale.rb:22:in `with_locale' > /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/keep_locale.rb:11:in `run' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:30:in `run' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/world.rb:30:in `execute' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:505:in `block (2 levels) in execute_run' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:504:in `catch' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:504:in `block in execute_run' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `call' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `block in with_error_handling' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `catch' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `with_error_handling' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:499:in `execute_run' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:260:in `execute' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:9:in `block (2 levels) in execute' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract.rb:155:in `call' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract.rb:155:in `with_meta_calculation' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:8:in `block in execute' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:22:in `open_action' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:7:in `execute' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/executors/parallel/worker.rb:15:in `block in on_message' > /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:74:in `block in assigns' > /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `tap' > /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `assigns' > /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:56:in `match_value' > /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:36:in `block in match?' > /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `each' > /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `match?' > /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:23:in `match' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/executors/parallel/worker.rb:12:in `on_message' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/context.rb:46:in `on_envelope' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/executes_context.rb:7:in `on_envelope' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' > /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/actor.rb:26:in `on_envelope' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/awaits.rb:15:in `on_envelope' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:38:in `process_envelope' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:31:in `process_envelopes?' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:20:in `on_envelope' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/termination.rb:55:in `on_envelope' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/removes_child.rb:10:in `on_envelope' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:161:in `process_envelope' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:95:in `block in on_envelope' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:118:in `block (2 levels) in schedule_execution' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `block in synchronize' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:115:in `block in schedule_execution' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:18:in `call' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:18:in `call' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:96:in `work' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:77:in `block in call_job' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:in `call' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:in `run_task' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:322:in `block (3 levels) in create_worker' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:in `loop' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:in `block (2 levels) in create_worker' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:in `catch' > /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:in `block in create_worker' > /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call' > /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context' > > > > trešdiena, 2016. gada 31. augusts 23:13:40 UTC+2, John Mitsch rakstīja: >> >> Edgars, >> >> Have you tried restarting goferd on the client? Also may be worth >> restarting pulp and httpd as well on the main katello server >> >> systemctl restart pulp_resource_manager pulp_celerybeat pulp_workers >> httpd >> >> Thanks, >> >> John Mitsch >> Red Hat Engineering >> (860)-967-7285 >> irc: jomitsch >> >> On Wed, Aug 31, 2016 at 9:40 AM, Edgars M. wrote: >> >>> Forgot to mention that this is Katello 3.0.2 >>> >>> Edgars >>> >>> >>> trešdiena, 2016. gada 31. augusts 15:37:08 UTC+2, Edgars M. rakstīja: >>>> >>>> Hi >>>> >>>> I am trying to apply some errata patches from web gui to client node. >>>> Katello agent is installed and running. But unfortunately it fails. This is >>>> error log from goferd.service on client: >>>> >>>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] >>>> gofer.messaging.adapter.connect:28 - connecting: >>>> proton+amqps://katello.local:5647 >>>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] >>>> gofer.messaging.adapter.proton.connection:87 - open: URL: >>>> amqps://katello.local:5647|SSL: ca: >>>> /etc/rhsm/ca/katello-default-ca.pem|key: None|certificate: >>>> /etc/pki/consumer/bundle.pem|host-validation: None >>>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] root:490 - >>>> connecting to katello.local:5647... >>>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] >>>> gofer.messaging.adapter.proton.connection:92 - opened: >>>> proton+amqps://katello.local:5647 >>>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] >>>> gofer.messaging.adapter.connect:30 - connected: >>>> proton+amqps://katello.local:5647 >>>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] root:512 - >>>> connected to katello.local:5647 >>>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>>> gofer.rmi.dispatcher:603 - call: Content.install() >>>> sn=ba061a76-efa8-4261-aa2f-3de90aa8ac83 data={u'task_id': >>>> u'f50849b9-1862-4929-a1f8-e3fff00ca9d4', u'consumer_id': >>>> u'22a8cf78-17ac-4c76-bbca-770892211482'} >>>> Aug 31 15:32:18 vm-node goferd[21947]: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - handler failed >>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - Traceback (most recent call last): >>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - File >>>> "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 60, >>>> in install >>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id, >>>> CONTENT) >>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - File >>>> "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 330, >>>> in __handler >>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id) >>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {'type': >>>> u'erratum'} >>>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>>> gofer.agent.rmi:193 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83, >>>> committed >>>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>>> gofer.agent.rmi:147 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83 >>>> processed in: 2.506 (seconds) >>>> Aug 31 15:32:19 vmnode goferd[21947]: [INFO][worker-0] >>>> gofer.messaging.adapter.proton.connection:131 - closed: >>>> proton+amqps://katello.local:5647 >>>> >>>> >>>> Any idea what is wrong? >>>> >>>> Edgars >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Foreman users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to foreman-user...@googlegroups.com. >>> To post to this group, send email to forema...@googlegroups.com. >>> Visit this group at https://groups.google.com/group/foreman-users. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >>

It does not work for me on RHEL6 even though yum-plugin-security is
installed. I guess I have to wait until downstream katello-agent is updated.

Edgars

piektdiena, 2016. gada 9. septembris 14:34:43 UTC+2, Pierre-Alain Pulfer
rakstīja:

··· > > Solved : > > CentOS 6 : > yum-plugin-security was not installed. > Installing yum-plugin-security solved the problem for el6. Thanks ! > > For CentOS 5 i had to install yum-security package. > These packages are not installed by default on CentOS 5 / 6. > > On el7 (CentOS 7) : > - updated from pulp-rpm-handlers-2.6.4-1.el7.noarch to > pulp-rpm-handlers-2.8.6-1.el7.noarch > - restarted goferd > > THANKS ! > > > > Le jeudi 8 septembre 2016 21:51:45 UTC+2, jsherril a écrit : >> >> On 09/06/2016 09:39 AM, Pierre-Alain Pulfer wrote: >> >> Hello, >> >> Same symptoms for me, after upgrading server from Katello 2.4 to 3.0 >> Katello server is CentOS 7 >> >> >> Can you ensure that the yum-plugin-security package is installed on the >> el6 client? >> >> Pulp was updated to require this to improve performance and in 3.1 we >> started requiring it with katello agent on el6 and el5. The 'no module >> named security' error tells me its probably not installed. >> >> >> -Justin >> >> >> On one test server (Centos 7), a "yum update" + reboot solved the >> problem. >> But on another server (CentOS 6), the same action did not solve anything. >> >> Client log , slightly different than Edgar's log: >> CentOS 6, latest versions >> >> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>> gofer.messaging.adapter.connect:28 - connecting: proton+amqps:// >>> lslkatp01.mydomain.com:5647 >>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>> gofer.messaging.adapter.proton.connection:87 - open: URL: >>> amqps://lslkatp01.mydomain.com:5647|SSL: ca: >>> /etc/rhsm/ca/katello-default-ca.pem|key: None|certificate: >>> /etc/pki/consumer/bundle.pem|host-validation: None >>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] root:510 - connecting >>> to lslkatp01.mydomain.com:5647... >>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>> gofer.messaging.adapter.proton.connection:92 - opened: proton+amqps:// >>> lslkatp01.mydomain.com:5647 >>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>> gofer.messaging.adapter.connect:30 - connected: proton+amqps:// >>> lslkatp01.mydomain.com:5647 >>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] root:539 - connected >>> to lslkatp01.mydomain.com:5647 >>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>> gofer.rmi.dispatcher:603 - call: Content.install() >>> sn=4815f76e-70d9-4df3-a8fc-d6d76c895353 data={u'task_id': >>> u'3e23e6be-69f7-4adf-96b6-cef334c1e8b9', u'consumer_id': >>> u'f33175e5-47c5-406f-9c71-16132eda4bae'} >>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>> pulp.agent.lib.container:290 - handler "rpm", import failed >>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>> pulp.agent.lib.container:290 - Traceback (most recent call last): >>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>> pulp.agent.lib.container:290 - File >>> "/usr/lib/python2.6/site-packages/pulp/agent/lib/container.py", line 284, >>> in __load >>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>> pulp.agent.lib.container:290 - mod = self.__import_module(path) >>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>> pulp.agent.lib.container:290 - File >>> "/usr/lib/python2.6/site-packages/pulp/agent/lib/container.py", line 313, >>> in __import_module >>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>> pulp.agent.lib.container:290 - mod = __import__(path[0], globals(), >>> locals(), [path[-1]]) >>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>> pulp.agent.lib.container:290 - File >>> "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpm.py", line 9, in >>> >>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>> pulp.agent.lib.container:290 - from pulp_rpm.handlers.rpmtools import >>> Package, PackageGroup, ProgressReport >>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>> pulp.agent.lib.container:290 - File >>> "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpmtools.py", line 28, >>> in >>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>> pulp.agent.lib.container:290 - import security >>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>> pulp.agent.lib.container:290 - ImportError: No module named security >>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - handler failed >>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - Traceback (most recent call last): >>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - File >>> "/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py", line 60, >>> in install >>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id, >>> CONTENT) >>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - File >>> "/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py", line 330, >>> in __handler >>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id) >>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {'type': >>> u'erratum'} >>> Aug 26 11:32:19 lslpput01 goferd: [INFO][worker-0] gofer.agent.rmi:193 - >>> Request: 4815f76e-70d9-4df3-a8fc-d6d76c895353, committed >>> Aug 26 11:32:19 lslpput01 goferd: [INFO][worker-0] gofer.agent.rmi:147 - >>> Request: 4815f76e-70d9-4df3-a8fc-d6d76c895353 processed in: 2.007 (seconds) >>> Aug 26 11:32:20 lslpput01 goferd: [INFO][worker-0] >>> gofer.messaging.adapter.proton.connection:131 - closed: proton+amqps:// >>> lslkatp01.mydomain.com:5647 >> >> >> >> server and client have been restarted. >> Version mismatch on client after upgrading katello agent ? >> >> >> >> Le mercredi 31 août 2016 15:37:08 UTC+2, Edgars M. a écrit : >>> >>> Hi >>> >>> I am trying to apply some errata patches from web gui to client node. >>> Katello agent is installed and running. But unfortunately it fails. This is >>> error log from goferd.service on client: >>> >>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] >>> gofer.messaging.adapter.connect:28 - connecting: >>> proton+amqps://katello.local:5647 >>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] >>> gofer.messaging.adapter.proton.connection:87 - open: URL: >>> amqps://katello.local:5647|SSL: ca: >>> /etc/rhsm/ca/katello-default-ca.pem|key: None|certificate: >>> /etc/pki/consumer/bundle.pem|host-validation: None >>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] root:490 - >>> connecting to katello.local:5647... >>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] >>> gofer.messaging.adapter.proton.connection:92 - opened: >>> proton+amqps://katello.local:5647 >>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] >>> gofer.messaging.adapter.connect:30 - connected: >>> proton+amqps://katello.local:5647 >>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] root:512 - >>> connected to katello.local:5647 >>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>> gofer.rmi.dispatcher:603 - call: Content.install() >>> sn=ba061a76-efa8-4261-aa2f-3de90aa8ac83 data={u'task_id': >>> u'f50849b9-1862-4929-a1f8-e3fff00ca9d4', u'consumer_id': >>> u'22a8cf78-17ac-4c76-bbca-770892211482'} >>> Aug 31 15:32:18 vm-node goferd[21947]: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - handler failed >>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - Traceback (most recent call last): >>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - File >>> "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 60, >>> in install >>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id, >>> CONTENT) >>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - File >>> "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 330, >>> in __handler >>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id) >>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>> pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {'type': >>> u'erratum'} >>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>> gofer.agent.rmi:193 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83, >>> committed >>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>> gofer.agent.rmi:147 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83 >>> processed in: 2.506 (seconds) >>> Aug 31 15:32:19 vmnode goferd[21947]: [INFO][worker-0] >>> gofer.messaging.adapter.proton.connection:131 - closed: >>> proton+amqps://katello.local:5647 >>> >>> >>> Any idea what is wrong? >>> >>> Edgars >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-user...@googlegroups.com. >> To post to this group, send email to forema...@googlegroups.com. >> Visit this group at https://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> >> >>

Edgars,

Can you make sure that pulp-rpm-handlers package is installed?

Thanks,

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

··· On Thu, Sep 1, 2016 at 3:37 AM, Edgars M. wrote:

katello-agent-2.5.0-5.el7sat.noarch running on RHEL7

Edgars

ceturtdiena, 2016. gada 1. septembris 09:19:19 UTC+2, Edgars M. rakstīja:

Hi John

I rebooted both client and Katello server, but that did not help, here is
log from Pulp:

Action:

Actions::Pulp::Consumer::ContentInstall

Input:

{“consumer_uuid”=>“22a8cf78-17ac-4c76-bbca-770892211482”,
“type”=>“erratum”,
“args”=>[“RHSA-2016:1626”],
“remote_user”=>“XXX”,
“remote_cp_user”=>“XXX”}

Output:

{“pulp_tasks”=>
[{“exception”=>nil,
“task_type”=>nil,
"_href"=>"/pulp/api/v2/tasks/df66ba64-75e7-4bca-a5ca-e2ee5d57f107/",
“task_id”=>“df66ba64-75e7-4bca-a5ca-e2ee5d57f107”,
“tags”=>
[“pulp:consumer:22a8cf78-17ac-4c76-bbca-770892211482”,
“pulp:action:unit_install”],
“finish_time”=>“2016-09-01T07:14:12Z”,
"_ns"=>“task_status”,
“start_time”=>“2016-09-01T07:14:11Z”,
“traceback”=>nil,
“spawned_tasks”=>[],
“progress_report”=>{},
“queue”=>“agent.dq”,
“state”=>“finished”,
“worker_name”=>“agent”,
“result”=>
{“reboot”=>{“scheduled”=>false, “details”=>{}},
“details”=>
{“erratum”=>
{“details”=>
{“message”=>“No handler for: {‘type’: u’erratum’}”,
“trace”=>
“Traceback (most recent call last):\n\n File “/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py”, line 60, in install\n handler = self.__handler(type_id, CONTENT)\n\n File “/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py”, line 330, in __handler\n raise HandlerNotFound(type=type_id)\n\nHandlerNotFound: No handler for: {‘type’: u’erratum’}\n”},
“succeeded”=>false}},
“succeeded”=>false,
“num_changes”=>0},
“error”=>nil,
"_id"=>{"$oid"=>“57c7d5417d32550c8918ba82”},
“id”=>“57c7d5417d32550c8918ba82”}],
“poll_attempts”=>{“total”=>6, “failed”=>1}}

Exception:

Katello::Errors::PulpError: No handler for: {‘type’: u’erratum’}

Backtrace:

/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/pulp/consumer/abstract_content_action.rb:12:in external_task=' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/polling.rb:98:inpoll_external_task_with_rescue’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/polling.rb:21:in run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/cancellable.rb:9:inrun’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/pulp/abstract_async_task.rb:45:in run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:506:inblock (3 levels) in execute_run’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:inpass’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:30:inrun’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:inpass’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in pass' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:16:inblock in run’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:40:in block in as_remote_user' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/models/katello/concerns/user_extensions.rb:20:incp_config’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:27:in as_cp_user' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:39:inas_remote_user’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:16:in run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:incall’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:inpass’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/progress.rb:30:in with_progress_calculation' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/progress.rb:16:inrun’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:inpass’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in pass' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/keep_locale.rb:11:inblock in run’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/keep_locale.rb:22:in with_locale' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/keep_locale.rb:11:inrun’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:inpass’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:30:inrun’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/world.rb:30:inexecute’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:505:in block (2 levels) in execute_run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:504:incatch’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:504:in block in execute_run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:incall’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in block in with_error_handling' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:incatch’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in with_error_handling' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:499:inexecute_run’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:260:in execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:9:inblock (2 levels) in execute’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract.rb:155:in call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract.rb:155:inwith_meta_calculation’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:8:in block in execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:22:inopen_action’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:7:in execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/executors/parallel/worker.rb:15:inblock in on_message’
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:74:in block in assigns' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:intap’
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in assigns' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:56:inmatch_value’
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:36:in block in match?' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:ineach’
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in match?' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:23:inmatch’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/executors/parallel/worker.rb:12:in on_message' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/context.rb:46:inon_envelope’
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/executes_context.rb:7:in on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/actor.rb:26:in on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass’
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/awaits.rb:15:in on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass’
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass’
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:38:in process_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:31:inprocess_envelopes?’
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:20:in on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass’
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/termination.rb:55:in on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass’
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/removes_child.rb:10:in on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass’
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:161:inprocess_envelope’
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:95:in block in on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:118:inblock (2 levels) in schedule_execution’
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in block in synchronize' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:insynchronize’
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in synchronize' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:115:inblock in schedule_execution’
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:18:in call' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:18:incall’
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:96:in work' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:77:inblock in call_job’
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:in call' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:inrun_task’
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:322:in block (3 levels) in create_worker' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:inloop’
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:in block (2 levels) in create_worker' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:incatch’
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:in block in create_worker' /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:incall’
/opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context’

trešdiena, 2016. gada 31. augusts 23:13:40 UTC+2, John Mitsch rakstīja:

Edgars,

Have you tried restarting goferd on the client? Also may be worth
restarting pulp and httpd as well on the main katello server

systemctl restart pulp_resource_manager pulp_celerybeat pulp_workers
httpd

Thanks,

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Wed, Aug 31, 2016 at 9:40 AM, Edgars M. edgars...@gmail.com wrote:

Forgot to mention that this is Katello 3.0.2

Edgars

trešdiena, 2016. gada 31. augusts 15:37:08 UTC+2, Edgars M. rakstīja:

Hi

I am trying to apply some errata patches from web gui to client node.
Katello agent is installed and running. But unfortunately it fails. This is
error log from goferd.service on client:

Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.connect:28 - connecting:
proton+amqps://katello.local:5647
Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:87 - open: URL:
amqps://katello.local:5647|SSL: ca: /etc/rhsm/ca/katello-default-ca.pem|key:
None>certificate: /etc/pki/consumer/bundle.pem|host-validation: None
Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] root:490 -
connecting to katello.local:5647…
Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:92 - opened:
proton+amqps://katello.local:5647
Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.connect:30 - connected:
proton+amqps://katello.local:5647
Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] root:512 -
connected to katello.local:5647
Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0]
gofer.rmi.dispatcher:603 - call: Content.install()
sn=ba061a76-efa8-4261-aa2f-3de90aa8ac83 data={u’task_id’:
u’f50849b9-1862-4929-a1f8-e3fff00ca9d4’, u’consumer_id’:
u’22a8cf78-17ac-4c76-bbca-770892211482’}
Aug 31 15:32:18 vm-node goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - handler failed
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - Traceback (most recent call last):
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - File “/usr/lib/python2.7/site-packa
ges/pulp/agent/lib/dispatcher.py”, line 60, in install
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.ag

On EL6, you have to upgrade pulp-rpm-handlers package too.
upgrade from 2.6.4 to 2.8.6 worked for me.

··· Le vendredi 9 septembre 2016 14:50:12 UTC+2, Edgars M. a écrit : > > It does not work for me on RHEL6 even though yum-plugin-security is > installed. I guess I have to wait until downstream katello-agent is updated. > > Edgars > > piektdiena, 2016. gada 9. septembris 14:34:43 UTC+2, Pierre-Alain Pulfer > rakstīja: >> >> Solved : >> >> CentOS 6 : >> yum-plugin-security was not installed. >> Installing yum-plugin-security solved the problem for el6. Thanks ! >> >> For CentOS 5 i had to install yum-security package. >> These packages are not installed by default on CentOS 5 / 6. >> >> On el7 (CentOS 7) : >> - updated from pulp-rpm-handlers-2.6.4-1.el7.noarch to >> pulp-rpm-handlers-2.8.6-1.el7.noarch >> - restarted goferd >> >> THANKS ! >> >> >> >> Le jeudi 8 septembre 2016 21:51:45 UTC+2, jsherril a écrit : >>> >>> On 09/06/2016 09:39 AM, Pierre-Alain Pulfer wrote: >>> >>> Hello, >>> >>> Same symptoms for me, after upgrading server from Katello 2.4 to 3.0 >>> Katello server is CentOS 7 >>> >>> >>> Can you ensure that the yum-plugin-security package is installed on the >>> el6 client? >>> >>> Pulp was updated to require this to improve performance and in 3.1 we >>> started requiring it with katello agent on el6 and el5. The 'no module >>> named security' error tells me its probably not installed. >>> >>> >>> -Justin >>> >>> >>> On one test server (Centos 7), a "yum update" + reboot solved the >>> problem. >>> But on another server (CentOS 6), the same action did not solve anything. >>> >>> Client log , slightly different than Edgar's log: >>> CentOS 6, latest versions >>> >>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>>> gofer.messaging.adapter.connect:28 - connecting: proton+amqps:// >>>> lslkatp01.mydomain.com:5647 >>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>>> gofer.messaging.adapter.proton.connection:87 - open: URL: >>>> amqps://lslkatp01.mydomain.com:5647|SSL: ca: >>>> /etc/rhsm/ca/katello-default-ca.pem|key: None|certificate: >>>> /etc/pki/consumer/bundle.pem|host-validation: None >>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] root:510 - >>>> connecting to lslkatp01.mydomain.com:5647... >>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>>> gofer.messaging.adapter.proton.connection:92 - opened: proton+amqps:// >>>> lslkatp01.mydomain.com:5647 >>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>>> gofer.messaging.adapter.connect:30 - connected: proton+amqps:// >>>> lslkatp01.mydomain.com:5647 >>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] root:539 - connected >>>> to lslkatp01.mydomain.com:5647 >>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>>> gofer.rmi.dispatcher:603 - call: Content.install() >>>> sn=4815f76e-70d9-4df3-a8fc-d6d76c895353 data={u'task_id': >>>> u'3e23e6be-69f7-4adf-96b6-cef334c1e8b9', u'consumer_id': >>>> u'f33175e5-47c5-406f-9c71-16132eda4bae'} >>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>> pulp.agent.lib.container:290 - handler "rpm", import failed >>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>> pulp.agent.lib.container:290 - Traceback (most recent call last): >>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>> pulp.agent.lib.container:290 - File >>>> "/usr/lib/python2.6/site-packages/pulp/agent/lib/container.py", line 284, >>>> in __load >>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>> pulp.agent.lib.container:290 - mod = self.__import_module(path) >>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>> pulp.agent.lib.container:290 - File >>>> "/usr/lib/python2.6/site-packages/pulp/agent/lib/container.py", line 313, >>>> in __import_module >>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>> pulp.agent.lib.container:290 - mod = __import__(path[0], globals(), >>>> locals(), [path[-1]]) >>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>> pulp.agent.lib.container:290 - File >>>> "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpm.py", line 9, in >>>> >>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>> pulp.agent.lib.container:290 - from pulp_rpm.handlers.rpmtools import >>>> Package, PackageGroup, ProgressReport >>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>> pulp.agent.lib.container:290 - File >>>> "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpmtools.py", line 28, >>>> in >>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>> pulp.agent.lib.container:290 - import security >>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>> pulp.agent.lib.container:290 - ImportError: No module named security >>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - handler failed >>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - Traceback (most recent call last): >>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - File >>>> "/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py", line 60, >>>> in install >>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id, >>>> CONTENT) >>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - File >>>> "/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py", line 330, >>>> in __handler >>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id) >>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {'type': >>>> u'erratum'} >>>> Aug 26 11:32:19 lslpput01 goferd: [INFO][worker-0] gofer.agent.rmi:193 >>>> - Request: 4815f76e-70d9-4df3-a8fc-d6d76c895353, committed >>>> Aug 26 11:32:19 lslpput01 goferd: [INFO][worker-0] gofer.agent.rmi:147 >>>> - Request: 4815f76e-70d9-4df3-a8fc-d6d76c895353 processed in: 2.007 >>>> (seconds) >>>> Aug 26 11:32:20 lslpput01 goferd: [INFO][worker-0] >>>> gofer.messaging.adapter.proton.connection:131 - closed: proton+amqps:// >>>> lslkatp01.mydomain.com:5647 >>> >>> >>> >>> server and client have been restarted. >>> Version mismatch on client after upgrading katello agent ? >>> >>> >>> >>> Le mercredi 31 août 2016 15:37:08 UTC+2, Edgars M. a écrit : >>>> >>>> Hi >>>> >>>> I am trying to apply some errata patches from web gui to client node. >>>> Katello agent is installed and running. But unfortunately it fails. This is >>>> error log from goferd.service on client: >>>> >>>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] >>>> gofer.messaging.adapter.connect:28 - connecting: >>>> proton+amqps://katello.local:5647 >>>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] >>>> gofer.messaging.adapter.proton.connection:87 - open: URL: >>>> amqps://katello.local:5647|SSL: ca: >>>> /etc/rhsm/ca/katello-default-ca.pem|key: None|certificate: >>>> /etc/pki/consumer/bundle.pem|host-validation: None >>>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] root:490 - >>>> connecting to katello.local:5647... >>>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] >>>> gofer.messaging.adapter.proton.connection:92 - opened: >>>> proton+amqps://katello.local:5647 >>>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] >>>> gofer.messaging.adapter.connect:30 - connected: >>>> proton+amqps://katello.local:5647 >>>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] root:512 - >>>> connected to katello.local:5647 >>>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>>> gofer.rmi.dispatcher:603 - call: Content.install() >>>> sn=ba061a76-efa8-4261-aa2f-3de90aa8ac83 data={u'task_id': >>>> u'f50849b9-1862-4929-a1f8-e3fff00ca9d4', u'consumer_id': >>>> u'22a8cf78-17ac-4c76-bbca-770892211482'} >>>> Aug 31 15:32:18 vm-node goferd[21947]: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - handler failed >>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - Traceback (most recent call last): >>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - File >>>> "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 60, >>>> in install >>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id, >>>> CONTENT) >>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - File >>>> "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 330, >>>> in __handler >>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id) >>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>> pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {'type': >>>> u'erratum'} >>>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>>> gofer.agent.rmi:193 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83, >>>> committed >>>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>>> gofer.agent.rmi:147 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83 >>>> processed in: 2.506 (seconds) >>>> Aug 31 15:32:19 vmnode goferd[21947]: [INFO][worker-0] >>>> gofer.messaging.adapter.proton.connection:131 - closed: >>>> proton+amqps://katello.local:5647 >>>> >>>> >>>> Any idea what is wrong? >>>> >>>> Edgars >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Foreman users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to foreman-user...@googlegroups.com. >>> To post to this group, send email to forema...@googlegroups.com. >>> Visit this group at https://groups.google.com/group/foreman-users. >>> For more options, visit https://groups.google.com/d/optout. >>> >>> >>>

On server or client?

piektdiena, 2016. gada 2. septembris 15:08:38 UTC+2, John Mitsch rakstīja:

··· > > Edgars, > > Can you make sure that pulp-rpm-handlers package is installed? > > Thanks, > > John Mitsch > Red Hat Engineering > (860)-967-7285 > irc: jomitsch > > On Thu, Sep 1, 2016 at 3:37 AM, Edgars M. > wrote: > >> katello-agent-2.5.0-5.el7sat.noarch running on RHEL7 >> >> Edgars >> >> >> ceturtdiena, 2016. gada 1. septembris 09:19:19 UTC+2, Edgars M. rakstīja: >>> >>> Hi John >>> >>> I rebooted both client and Katello server, but that did not help, here >>> is log from Pulp: >>> >>> Action: >>> >>> Actions::Pulp::Consumer::ContentInstall >>> >>> Input: >>> >>> {"consumer_uuid"=>"22a8cf78-17ac-4c76-bbca-770892211482", >>> "type"=>"erratum", >>> "args"=>["RHSA-2016:1626"], >>> "remote_user"=>"XXX", >>> "remote_cp_user"=>"XXX"} >>> >>> Output: >>> >>> {"pulp_tasks"=> >>> [{"exception"=>nil, >>> "task_type"=>nil, >>> "_href"=>"/pulp/api/v2/tasks/df66ba64-75e7-4bca-a5ca-e2ee5d57f107/", >>> "task_id"=>"df66ba64-75e7-4bca-a5ca-e2ee5d57f107", >>> "tags"=> >>> ["pulp:consumer:22a8cf78-17ac-4c76-bbca-770892211482", >>> "pulp:action:unit_install"], >>> "finish_time"=>"2016-09-01T07:14:12Z", >>> "_ns"=>"task_status", >>> "start_time"=>"2016-09-01T07:14:11Z", >>> "traceback"=>nil, >>> "spawned_tasks"=>[], >>> "progress_report"=>{}, >>> "queue"=>"agent.dq", >>> "state"=>"finished", >>> "worker_name"=>"agent", >>> "result"=> >>> {"reboot"=>{"scheduled"=>false, "details"=>{}}, >>> "details"=> >>> {"erratum"=> >>> {"details"=> >>> {"message"=>"No handler for: {'type': u'erratum'}", >>> "trace"=> >>> "Traceback (most recent call last):\n\n File \"/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py\", line 60, in install\n handler = self.__handler(type_id, CONTENT)\n\n File \"/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py\", line 330, in __handler\n raise HandlerNotFound(type=type_id)\n\nHandlerNotFound: No handler for: {'type': u'erratum'}\n"}, >>> "succeeded"=>false}}, >>> "succeeded"=>false, >>> "num_changes"=>0}, >>> "error"=>nil, >>> "_id"=>{"$oid"=>"57c7d5417d32550c8918ba82"}, >>> "id"=>"57c7d5417d32550c8918ba82"}], >>> "poll_attempts"=>{"total"=>6, "failed"=>1}} >>> >>> >>> Exception: >>> >>> Katello::Errors::PulpError: No handler for: {'type': u'erratum'} >>> >>> Backtrace: >>> >>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/pulp/consumer/abstract_content_action.rb:12:in `external_task=' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/polling.rb:98:in `poll_external_task_with_rescue' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/polling.rb:21:in `run' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/cancellable.rb:9:in `run' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/pulp/abstract_async_task.rb:45:in `run' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:506:in `block (3 levels) in execute_run' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `call' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:30:in `run' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:16:in `block in run' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:40:in `block in as_remote_user' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/models/katello/concerns/user_extensions.rb:20:in `cp_config' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:27:in `as_cp_user' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:39:in `as_remote_user' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:16:in `run' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/progress.rb:30:in `with_progress_calculation' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/progress.rb:16:in `run' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/keep_locale.rb:11:in `block in run' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/keep_locale.rb:22:in `with_locale' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/keep_locale.rb:11:in `run' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:30:in `run' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/world.rb:30:in `execute' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:505:in `block (2 levels) in execute_run' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:504:in `catch' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:504:in `block in execute_run' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `call' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `block in with_error_handling' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `catch' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `with_error_handling' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:499:in `execute_run' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:260:in `execute' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:9:in `block (2 levels) in execute' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract.rb:155:in `call' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract.rb:155:in `with_meta_calculation' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:8:in `block in execute' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:22:in `open_action' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:7:in `execute' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/executors/parallel/worker.rb:15:in `block in on_message' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:74:in `block in assigns' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `tap' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `assigns' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:56:in `match_value' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:36:in `block in match?' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `each' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `match?' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:23:in `match' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/executors/parallel/worker.rb:12:in `on_message' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/context.rb:46:in `on_envelope' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/executes_context.rb:7:in `on_envelope' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/actor.rb:26:in `on_envelope' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/awaits.rb:15:in `on_envelope' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:38:in `process_envelope' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:31:in `process_envelopes?' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:20:in `on_envelope' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/termination.rb:55:in `on_envelope' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/removes_child.rb:10:in `on_envelope' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:161:in `process_envelope' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:95:in `block in on_envelope' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:118:in `block (2 levels) in schedule_execution' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `block in synchronize' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:115:in `block in schedule_execution' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:18:in `call' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:18:in `call' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:96:in `work' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:77:in `block in call_job' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:in `call' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:in `run_task' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:322:in `block (3 levels) in create_worker' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:in `loop' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:in `block (2 levels) in create_worker' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:in `catch' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:in `block in create_worker' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call' >>> /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context' >>> >>> >>> >>> trešdiena, 2016. gada 31. augusts 23:13:40 UTC+2, John Mitsch rakstīja: >>>> >>>> Edgars, >>>> >>>> Have you tried restarting goferd on the client? Also may be worth >>>> restarting pulp and httpd as well on the main katello server >>>> >>>> systemctl restart pulp_resource_manager pulp_celerybeat pulp_workers >>>> httpd >>>> >>>> Thanks, >>>> >>>> John Mitsch >>>> Red Hat Engineering >>>> (860)-967-7285 >>>> irc: jomitsch >>>> >>>> On Wed, Aug 31, 2016 at 9:40 AM, Edgars M. wrote: >>>> >>>>> Forgot to mention that this is Katello 3.0.2 >>>>> >>>>> Edgars >>>>> >>>>> >>>>> trešdiena, 2016. gada 31. augusts 15:37:08 UTC+2, Edgars M. rakstīja: >>>>>> >>>>>> Hi >>>>>> >>>>>> I am trying to apply some errata patches from web gui to client node. >>>>>> Katello agent is installed and running. But unfortunately it fails. This is >>>>>> error log from goferd.service on client: >>>>>> >>>>>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] >>>>>> gofer.messaging.adapter.connect:28 - connecting: >>>>>> proton+amqps://katello.local:5647 >>>>>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] >>>>>> gofer.messaging.adapter.proton.connection:87 - open: URL: >>>>>> amqps://katello.local:5647|SSL: ca: >>>>>> /etc/rhsm/ca/katello-default-ca.pem|key: None|certificate: >>>>>> /etc/pki/consumer/bundle.pem|host-validation: None >>>>>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] root:490 - >>>>>> connecting to katello.local:5647... >>>>>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] >>>>>> gofer.messaging.adapter.proton.connection:92 - opened: >>>>>> proton+amqps://katello.local:5647 >>>>>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] >>>>>> gofer.messaging.adapter.connect:30 - connected: >>>>>> proton+amqps://katello.local:5647 >>>>>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] root:512 - >>>>>> connected to katello.local:5647 >>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>>>>> gofer.rmi.dispatcher:603 - call: Content.install() >>>>>> sn=ba061a76-efa8-4261-aa2f-3de90aa8ac83 data={u'task_id': >>>>>> u'f50849b9-1862-4929-a1f8-e3fff00ca9d4', u'consumer_id': >>>>>> u'22a8cf78-17ac-4c76-bbca-770892211482'} >>>>>> Aug 31 15:32:18 vm-node goferd[21947]: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - handler failed >>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - Traceback (most recent call last): >>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - File >>>>>> "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 60, >>>>>> in install >>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id, >>>>>> CONTENT) >>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - File >>>>>> "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 330, >>>>>> in __handler >>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id) >>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {'type': >>>>>> u'erratum'} >>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>>>>> gofer.agent.rmi:193 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83, >>>>>> com

It is installed on client:

Package pulp-rpm-handlers-2.8.3.5-1.el7sat.noarch already installed and
latest version
Nothing to do

Edgars

piektdiena, 2016. gada 2. septembris 15:32:25 UTC+2, Edgars M. rakstīja:

··· > > On server or client? > > piektdiena, 2016. gada 2. septembris 15:08:38 UTC+2, John Mitsch rakstīja: >> >> Edgars, >> >> Can you make sure that pulp-rpm-handlers package is installed? >> >> Thanks, >> >> John Mitsch >> Red Hat Engineering >> (860)-967-7285 >> irc: jomitsch >> >> On Thu, Sep 1, 2016 at 3:37 AM, Edgars M. wrote: >> >>> katello-agent-2.5.0-5.el7sat.noarch running on RHEL7 >>> >>> Edgars >>> >>> >>> ceturtdiena, 2016. gada 1. septembris 09:19:19 UTC+2, Edgars M. rakstīja: >>>> >>>> Hi John >>>> >>>> I rebooted both client and Katello server, but that did not help, here >>>> is log from Pulp: >>>> >>>> Action: >>>> >>>> Actions::Pulp::Consumer::ContentInstall >>>> >>>> Input: >>>> >>>> {"consumer_uuid"=>"22a8cf78-17ac-4c76-bbca-770892211482", >>>> "type"=>"erratum", >>>> "args"=>["RHSA-2016:1626"], >>>> "remote_user"=>"XXX", >>>> "remote_cp_user"=>"XXX"} >>>> >>>> Output: >>>> >>>> {"pulp_tasks"=> >>>> [{"exception"=>nil, >>>> "task_type"=>nil, >>>> "_href"=>"/pulp/api/v2/tasks/df66ba64-75e7-4bca-a5ca-e2ee5d57f107/", >>>> "task_id"=>"df66ba64-75e7-4bca-a5ca-e2ee5d57f107", >>>> "tags"=> >>>> ["pulp:consumer:22a8cf78-17ac-4c76-bbca-770892211482", >>>> "pulp:action:unit_install"], >>>> "finish_time"=>"2016-09-01T07:14:12Z", >>>> "_ns"=>"task_status", >>>> "start_time"=>"2016-09-01T07:14:11Z", >>>> "traceback"=>nil, >>>> "spawned_tasks"=>[], >>>> "progress_report"=>{}, >>>> "queue"=>"agent.dq", >>>> "state"=>"finished", >>>> "worker_name"=>"agent", >>>> "result"=> >>>> {"reboot"=>{"scheduled"=>false, "details"=>{}}, >>>> "details"=> >>>> {"erratum"=> >>>> {"details"=> >>>> {"message"=>"No handler for: {'type': u'erratum'}", >>>> "trace"=> >>>> "Traceback (most recent call last):\n\n File \"/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py\", line 60, in install\n handler = self.__handler(type_id, CONTENT)\n\n File \"/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py\", line 330, in __handler\n raise HandlerNotFound(type=type_id)\n\nHandlerNotFound: No handler for: {'type': u'erratum'}\n"}, >>>> "succeeded"=>false}}, >>>> "succeeded"=>false, >>>> "num_changes"=>0}, >>>> "error"=>nil, >>>> "_id"=>{"$oid"=>"57c7d5417d32550c8918ba82"}, >>>> "id"=>"57c7d5417d32550c8918ba82"}], >>>> "poll_attempts"=>{"total"=>6, "failed"=>1}} >>>> >>>> >>>> Exception: >>>> >>>> Katello::Errors::PulpError: No handler for: {'type': u'erratum'} >>>> >>>> Backtrace: >>>> >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/pulp/consumer/abstract_content_action.rb:12:in `external_task=' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/polling.rb:98:in `poll_external_task_with_rescue' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/polling.rb:21:in `run' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/cancellable.rb:9:in `run' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/pulp/abstract_async_task.rb:45:in `run' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:506:in `block (3 levels) in execute_run' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `call' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:30:in `run' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:16:in `block in run' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:40:in `block in as_remote_user' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/models/katello/concerns/user_extensions.rb:20:in `cp_config' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:27:in `as_cp_user' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:39:in `as_remote_user' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/remote_action.rb:16:in `run' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/progress.rb:30:in `with_progress_calculation' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/progress.rb:16:in `run' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/keep_locale.rb:11:in `block in run' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/keep_locale.rb:22:in `with_locale' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.2/app/lib/actions/middleware/keep_locale.rb:11:in `run' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:30:in `run' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/world.rb:30:in `execute' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:505:in `block (2 levels) in execute_run' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:504:in `catch' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:504:in `block in execute_run' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `call' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `block in with_error_handling' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `catch' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `with_error_handling' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:499:in `execute_run' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:260:in `execute' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:9:in `block (2 levels) in execute' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract.rb:155:in `call' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract.rb:155:in `with_meta_calculation' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:8:in `block in execute' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:22:in `open_action' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:7:in `execute' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/executors/parallel/worker.rb:15:in `block in on_message' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:74:in `block in assigns' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `tap' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `assigns' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:56:in `match_value' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:36:in `block in match?' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `each' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `match?' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:23:in `match' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/executors/parallel/worker.rb:12:in `on_message' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/context.rb:46:in `on_envelope' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/executes_context.rb:7:in `on_envelope' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/actor.rb:26:in `on_envelope' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/awaits.rb:15:in `on_envelope' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:38:in `process_envelope' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:31:in `process_envelopes?' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:20:in `on_envelope' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/termination.rb:55:in `on_envelope' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/removes_child.rb:10:in `on_envelope' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:161:in `process_envelope' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:95:in `block in on_envelope' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:118:in `block (2 levels) in schedule_execution' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `block in synchronize' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:115:in `block in schedule_execution' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:18:in `call' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:18:in `call' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:96:in `work' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:77:in `block in call_job' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:in `call' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:in `run_task' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:322:in `block (3 levels) in create_worker' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:in `loop' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:in `block (2 levels) in create_worker' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:in `catch' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:in `block in create_worker' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call' >>>> /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context' >>>> >>>> >>>> >>>> trešdiena, 2016. gada 31. augusts 23:13:40 UTC+2, John Mitsch rakstīja: >>>>> >>>>> Edgars, >>>>> >>>>> Have you tried restarting goferd on the client? Also may be worth >>>>> restarting pulp and httpd as well on the main katello server >>>>> >>>>> systemctl restart pulp_resource_manager pulp_celerybeat pulp_workers >>>>> httpd >>>>> >>>>> Thanks, >>>>> >>>>> John Mitsch >>>>> Red Hat Engineering >>>>> (860)-967-7285 >>>>> irc: jomitsch >>>>> >>>>> On Wed, Aug 31, 2016 at 9:40 AM, Edgars M. >>>>> wrote: >>>>> >>>>>> Forgot to mention that this is Katello 3.0.2 >>>>>> >>>>>> Edgars >>>>>> >>>>>> >>>>>> trešdiena, 2016. gada 31. augusts 15:37:08 UTC+2, Edgars M. rakstīja: >>>>>>> >>>>>>> Hi >>>>>>> >>>>>>> I am trying to apply some errata patches from web gui to client >>>>>>> node. Katello agent is installed and running. But unfortunately it fails. >>>>>>> This is error log from goferd.service on client: >>>>>>> >>>>>>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] >>>>>>> gofer.messaging.adapter.connect:28 - connecting: >>>>>>> proton+amqps://katello.local:5647 >>>>>>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] >>>>>>> gofer.messaging.adapter.proton.connection:87 - open: URL: >>>>>>> amqps://katello.local:5647|SSL: ca: >>>>>>> /etc/rhsm/ca/katello-default-ca.pem|key: None|certificate: >>>>>>> /etc/pki/consumer/bundle.pem|host-validation: None >>>>>>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] root:490 - >>>>>>> connecting to katello.local:5647... >>>>>>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] >>>>>>> gofer.messaging.adapter.proton.connection:92 - opened: >>>>>>> proton+amqps://katello.local:5647 >>>>>>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] >>>>>>> gofer.messaging.adapter.connect:30 - connected: >>>>>>> proton+amqps://katello.local:5647 >>>>>>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] root:512 - >>>>>>> connected to katello.local:5647 >>>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>>>>>> gofer.rmi.dispatcher:603 - call: Content.install() >>>>>>> sn=ba061a76-efa8-4261-aa2f-3de90aa8ac83 data={u'task_id': >>>>>>> u'f50849b9-1862-4929-a1f8-e3fff00ca9d4', u'consumer_id': >>>>>>> u'22a8cf78-17ac-4c76-bbca-770892211482'} >>>>>>> Aug 31 15:32:18 vm-node goferd[21947]: [ERROR][worker-0] >>>>>>> pulp.agent.lib.dispatcher:65 - handler failed >>>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>>>> pulp.agent.lib.dispatcher:65 - Traceback (most recent call last): >>>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>>>> pulp.agent.lib.dispatcher:65 - File >>>>>>> "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 60, >>>>>>> in install >>>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>>>> pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id, >>>>>>> CONTENT) >>>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>>>> pulp.agent.lib.dispatcher:65 - File >>>>>>> "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", l

Unfortunately 2.8.3 is the latest in
rhel-6-server-satellite-tools-6.2-rpms repo.

Edgars

otrdiena, 2016. gada 13. septembris 12:24:54 UTC+2, Pierre-Alain Pulfer
rakstīja:

··· > > On EL6, you have to upgrade pulp-rpm-handlers package too. > upgrade from 2.6.4 to 2.8.6 worked for me. > > Le vendredi 9 septembre 2016 14:50:12 UTC+2, Edgars M. a écrit : >> >> It does not work for me on RHEL6 even though yum-plugin-security is >> installed. I guess I have to wait until downstream katello-agent is updated. >> >> Edgars >> >> piektdiena, 2016. gada 9. septembris 14:34:43 UTC+2, Pierre-Alain Pulfer >> rakstīja: >>> >>> Solved : >>> >>> CentOS 6 : >>> yum-plugin-security was not installed. >>> Installing yum-plugin-security solved the problem for el6. Thanks ! >>> >>> For CentOS 5 i had to install yum-security package. >>> These packages are not installed by default on CentOS 5 / 6. >>> >>> On el7 (CentOS 7) : >>> - updated from pulp-rpm-handlers-2.6.4-1.el7.noarch to >>> pulp-rpm-handlers-2.8.6-1.el7.noarch >>> - restarted goferd >>> >>> THANKS ! >>> >>> >>> >>> Le jeudi 8 septembre 2016 21:51:45 UTC+2, jsherril a écrit : >>>> >>>> On 09/06/2016 09:39 AM, Pierre-Alain Pulfer wrote: >>>> >>>> Hello, >>>> >>>> Same symptoms for me, after upgrading server from Katello 2.4 to 3.0 >>>> Katello server is CentOS 7 >>>> >>>> >>>> Can you ensure that the yum-plugin-security package is installed on the >>>> el6 client? >>>> >>>> Pulp was updated to require this to improve performance and in 3.1 we >>>> started requiring it with katello agent on el6 and el5. The 'no module >>>> named security' error tells me its probably not installed. >>>> >>>> >>>> -Justin >>>> >>>> >>>> On one test server (Centos 7), a "yum update" + reboot solved the >>>> problem. >>>> But on another server (CentOS 6), the same action did not solve >>>> anything. >>>> >>>> Client log , slightly different than Edgar's log: >>>> CentOS 6, latest versions >>>> >>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>>>> gofer.messaging.adapter.connect:28 - connecting: proton+amqps:// >>>>> lslkatp01.mydomain.com:5647 >>>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>>>> gofer.messaging.adapter.proton.connection:87 - open: URL: >>>>> amqps://lslkatp01.mydomain.com:5647|SSL: ca: >>>>> /etc/rhsm/ca/katello-default-ca.pem|key: None|certificate: >>>>> /etc/pki/consumer/bundle.pem|host-validation: None >>>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] root:510 - >>>>> connecting to lslkatp01.mydomain.com:5647... >>>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>>>> gofer.messaging.adapter.proton.connection:92 - opened: proton+amqps:// >>>>> lslkatp01.mydomain.com:5647 >>>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>>>> gofer.messaging.adapter.connect:30 - connected: proton+amqps:// >>>>> lslkatp01.mydomain.com:5647 >>>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] root:539 - >>>>> connected to lslkatp01.mydomain.com:5647 >>>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>>>> gofer.rmi.dispatcher:603 - call: Content.install() >>>>> sn=4815f76e-70d9-4df3-a8fc-d6d76c895353 data={u'task_id': >>>>> u'3e23e6be-69f7-4adf-96b6-cef334c1e8b9', u'consumer_id': >>>>> u'f33175e5-47c5-406f-9c71-16132eda4bae'} >>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>> pulp.agent.lib.container:290 - handler "rpm", import failed >>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>> pulp.agent.lib.container:290 - Traceback (most recent call last): >>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>> pulp.agent.lib.container:290 - File >>>>> "/usr/lib/python2.6/site-packages/pulp/agent/lib/container.py", line 284, >>>>> in __load >>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>> pulp.agent.lib.container:290 - mod = self.__import_module(path) >>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>> pulp.agent.lib.container:290 - File >>>>> "/usr/lib/python2.6/site-packages/pulp/agent/lib/container.py", line 313, >>>>> in __import_module >>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>> pulp.agent.lib.container:290 - mod = __import__(path[0], globals(), >>>>> locals(), [path[-1]]) >>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>> pulp.agent.lib.container:290 - File >>>>> "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpm.py", line 9, in >>>>> >>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>> pulp.agent.lib.container:290 - from pulp_rpm.handlers.rpmtools import >>>>> Package, PackageGroup, ProgressReport >>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>> pulp.agent.lib.container:290 - File >>>>> "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpmtools.py", line 28, >>>>> in >>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>> pulp.agent.lib.container:290 - import security >>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>> pulp.agent.lib.container:290 - ImportError: No module named security >>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>> pulp.agent.lib.dispatcher:65 - handler failed >>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>> pulp.agent.lib.dispatcher:65 - Traceback (most recent call last): >>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>> pulp.agent.lib.dispatcher:65 - File >>>>> "/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py", line 60, >>>>> in install >>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>> pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id, >>>>> CONTENT) >>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>> pulp.agent.lib.dispatcher:65 - File >>>>> "/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py", line 330, >>>>> in __handler >>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>> pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id) >>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>> pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {'type': >>>>> u'erratum'} >>>>> Aug 26 11:32:19 lslpput01 goferd: [INFO][worker-0] gofer.agent.rmi:193 >>>>> - Request: 4815f76e-70d9-4df3-a8fc-d6d76c895353, committed >>>>> Aug 26 11:32:19 lslpput01 goferd: [INFO][worker-0] gofer.agent.rmi:147 >>>>> - Request: 4815f76e-70d9-4df3-a8fc-d6d76c895353 processed in: 2.007 >>>>> (seconds) >>>>> Aug 26 11:32:20 lslpput01 goferd: [INFO][worker-0] >>>>> gofer.messaging.adapter.proton.connection:131 - closed: proton+amqps:// >>>>> lslkatp01.mydomain.com:5647 >>>> >>>> >>>> >>>> server and client have been restarted. >>>> Version mismatch on client after upgrading katello agent ? >>>> >>>> >>>> >>>> Le mercredi 31 août 2016 15:37:08 UTC+2, Edgars M. a écrit : >>>>> >>>>> Hi >>>>> >>>>> I am trying to apply some errata patches from web gui to client node. >>>>> Katello agent is installed and running. But unfortunately it fails. This is >>>>> error log from goferd.service on client: >>>>> >>>>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] >>>>> gofer.messaging.adapter.connect:28 - connecting: >>>>> proton+amqps://katello.local:5647 >>>>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] >>>>> gofer.messaging.adapter.proton.connection:87 - open: URL: >>>>> amqps://katello.local:5647|SSL: ca: >>>>> /etc/rhsm/ca/katello-default-ca.pem|key: None|certificate: >>>>> /etc/pki/consumer/bundle.pem|host-validation: None >>>>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] root:490 - >>>>> connecting to katello.local:5647... >>>>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] >>>>> gofer.messaging.adapter.proton.connection:92 - opened: >>>>> proton+amqps://katello.local:5647 >>>>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] >>>>> gofer.messaging.adapter.connect:30 - connected: >>>>> proton+amqps://katello.local:5647 >>>>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] root:512 - >>>>> connected to katello.local:5647 >>>>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>>>> gofer.rmi.dispatcher:603 - call: Content.install() >>>>> sn=ba061a76-efa8-4261-aa2f-3de90aa8ac83 data={u'task_id': >>>>> u'f50849b9-1862-4929-a1f8-e3fff00ca9d4', u'consumer_id': >>>>> u'22a8cf78-17ac-4c76-bbca-770892211482'} >>>>> Aug 31 15:32:18 vm-node goferd[21947]: [ERROR][worker-0] >>>>> pulp.agent.lib.dispatcher:65 - handler failed >>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>> pulp.agent.lib.dispatcher:65 - Traceback (most recent call last): >>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>> pulp.agent.lib.dispatcher:65 - File >>>>> "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 60, >>>>> in install >>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>> pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id, >>>>> CONTENT) >>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>> pulp.agent.lib.dispatcher:65 - File >>>>> "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 330, >>>>> in __handler >>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>> pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id) >>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>> pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {'type': >>>>> u'erratum'} >>>>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>>>> gofer.agent.rmi:193 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83, >>>>> committed >>>>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>>>> gofer.agent.rmi:147 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83 >>>>> processed in: 2.506 (seconds) >>>>> Aug 31 15:32:19 vmnode goferd[21947]: [INFO][worker-0] >>>>> gofer.messaging.adapter.proton.connection:131 - closed: >>>>> proton+amqps://katello.local:5647 >>>>> >>>>> >>>>> Any idea what is wrong? >>>>> >>>>> Edgars >>>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Foreman users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to foreman-user...@googlegroups.com. >>>> To post to this group, send email to forema...@googlegroups.com. >>>> Visit this group at https://groups.google.com/group/foreman-users. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>>> >>>>

Had the similar error message when applying errata:

No handler for: {'type': u'erratum'}

Katello server is Centos 7, client is Centos 7.

(server) Tried yum update / reboot , same error message.
(client) Tried yum install pulp-rpm-handlers / systemctl restart goferd

That worked. Was able to successfully apply errata.

··· On Tuesday, September 13, 2016 at 4:34:39 AM UTC-7, Edgars M. wrote: > > Unfortunately 2.8.3 is the latest in > rhel-6-server-satellite-tools-6.2-rpms repo. > > Edgars > > otrdiena, 2016. gada 13. septembris 12:24:54 UTC+2, Pierre-Alain Pulfer > rakstīja: >> >> On EL6, you have to upgrade pulp-rpm-handlers package too. >> upgrade from 2.6.4 to 2.8.6 worked for me. >> >> Le vendredi 9 septembre 2016 14:50:12 UTC+2, Edgars M. a écrit : >>> >>> It does not work for me on RHEL6 even though yum-plugin-security is >>> installed. I guess I have to wait until downstream katello-agent is updated. >>> >>> Edgars >>> >>> piektdiena, 2016. gada 9. septembris 14:34:43 UTC+2, Pierre-Alain Pulfer >>> rakstīja: >>>> >>>> Solved : >>>> >>>> CentOS 6 : >>>> yum-plugin-security was not installed. >>>> Installing yum-plugin-security solved the problem for el6. Thanks ! >>>> >>>> For CentOS 5 i had to install yum-security package. >>>> These packages are not installed by default on CentOS 5 / 6. >>>> >>>> On el7 (CentOS 7) : >>>> - updated from pulp-rpm-handlers-2.6.4-1.el7.noarch to >>>> pulp-rpm-handlers-2.8.6-1.el7.noarch >>>> - restarted goferd >>>> >>>> THANKS ! >>>> >>>> >>>> >>>> Le jeudi 8 septembre 2016 21:51:45 UTC+2, jsherril a écrit : >>>>> >>>>> On 09/06/2016 09:39 AM, Pierre-Alain Pulfer wrote: >>>>> >>>>> Hello, >>>>> >>>>> Same symptoms for me, after upgrading server from Katello 2.4 to 3.0 >>>>> Katello server is CentOS 7 >>>>> >>>>> >>>>> Can you ensure that the yum-plugin-security package is installed on >>>>> the el6 client? >>>>> >>>>> Pulp was updated to require this to improve performance and in 3.1 we >>>>> started requiring it with katello agent on el6 and el5. The 'no module >>>>> named security' error tells me its probably not installed. >>>>> >>>>> >>>>> -Justin >>>>> >>>>> >>>>> On one test server (Centos 7), a "yum update" + reboot solved the >>>>> problem. >>>>> But on another server (CentOS 6), the same action did not solve >>>>> anything. >>>>> >>>>> Client log , slightly different than Edgar's log: >>>>> CentOS 6, latest versions >>>>> >>>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>>>>> gofer.messaging.adapter.connect:28 - connecting: proton+amqps:// >>>>>> lslkatp01.mydomain.com:5647 >>>>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>>>>> gofer.messaging.adapter.proton.connection:87 - open: URL: >>>>>> amqps://lslkatp01.mydomain.com:5647|SSL: ca: >>>>>> /etc/rhsm/ca/katello-default-ca.pem|key: None|certificate: >>>>>> /etc/pki/consumer/bundle.pem|host-validation: None >>>>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] root:510 - >>>>>> connecting to lslkatp01.mydomain.com:5647... >>>>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>>>>> gofer.messaging.adapter.proton.connection:92 - opened: proton+amqps:// >>>>>> lslkatp01.mydomain.com:5647 >>>>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>>>>> gofer.messaging.adapter.connect:30 - connected: proton+amqps:// >>>>>> lslkatp01.mydomain.com:5647 >>>>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] root:539 - >>>>>> connected to lslkatp01.mydomain.com:5647 >>>>>> Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] >>>>>> gofer.rmi.dispatcher:603 - call: Content.install() >>>>>> sn=4815f76e-70d9-4df3-a8fc-d6d76c895353 data={u'task_id': >>>>>> u'3e23e6be-69f7-4adf-96b6-cef334c1e8b9', u'consumer_id': >>>>>> u'f33175e5-47c5-406f-9c71-16132eda4bae'} >>>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>>> pulp.agent.lib.container:290 - handler "rpm", import failed >>>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>>> pulp.agent.lib.container:290 - Traceback (most recent call last): >>>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>>> pulp.agent.lib.container:290 - File >>>>>> "/usr/lib/python2.6/site-packages/pulp/agent/lib/container.py", line 284, >>>>>> in __load >>>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>>> pulp.agent.lib.container:290 - mod = self.__import_module(path) >>>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>>> pulp.agent.lib.container:290 - File >>>>>> "/usr/lib/python2.6/site-packages/pulp/agent/lib/container.py", line 313, >>>>>> in __import_module >>>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>>> pulp.agent.lib.container:290 - mod = __import__(path[0], globals(), >>>>>> locals(), [path[-1]]) >>>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>>> pulp.agent.lib.container:290 - File >>>>>> "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpm.py", line 9, in >>>>>> >>>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>>> pulp.agent.lib.container:290 - from pulp_rpm.handlers.rpmtools import >>>>>> Package, PackageGroup, ProgressReport >>>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>>> pulp.agent.lib.container:290 - File >>>>>> "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpmtools.py", line 28, >>>>>> in >>>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>>> pulp.agent.lib.container:290 - import security >>>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>>> pulp.agent.lib.container:290 - ImportError: No module named security >>>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - handler failed >>>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - Traceback (most recent call last): >>>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - File >>>>>> "/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py", line 60, >>>>>> in install >>>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id, >>>>>> CONTENT) >>>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - File >>>>>> "/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py", line 330, >>>>>> in __handler >>>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id) >>>>>> Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {'type': >>>>>> u'erratum'} >>>>>> Aug 26 11:32:19 lslpput01 goferd: [INFO][worker-0] >>>>>> gofer.agent.rmi:193 - Request: 4815f76e-70d9-4df3-a8fc-d6d76c895353, >>>>>> committed >>>>>> Aug 26 11:32:19 lslpput01 goferd: [INFO][worker-0] >>>>>> gofer.agent.rmi:147 - Request: 4815f76e-70d9-4df3-a8fc-d6d76c895353 >>>>>> processed in: 2.007 (seconds) >>>>>> Aug 26 11:32:20 lslpput01 goferd: [INFO][worker-0] >>>>>> gofer.messaging.adapter.proton.connection:131 - closed: proton+amqps:// >>>>>> lslkatp01.mydomain.com:5647 >>>>> >>>>> >>>>> >>>>> server and client have been restarted. >>>>> Version mismatch on client after upgrading katello agent ? >>>>> >>>>> >>>>> >>>>> Le mercredi 31 août 2016 15:37:08 UTC+2, Edgars M. a écrit : >>>>>> >>>>>> Hi >>>>>> >>>>>> I am trying to apply some errata patches from web gui to client node. >>>>>> Katello agent is installed and running. But unfortunately it fails. This is >>>>>> error log from goferd.service on client: >>>>>> >>>>>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] >>>>>> gofer.messaging.adapter.connect:28 - connecting: >>>>>> proton+amqps://katello.local:5647 >>>>>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] >>>>>> gofer.messaging.adapter.proton.connection:87 - open: URL: >>>>>> amqps://katello.local:5647|SSL: ca: >>>>>> /etc/rhsm/ca/katello-default-ca.pem|key: None|certificate: >>>>>> /etc/pki/consumer/bundle.pem|host-validation: None >>>>>> Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] root:490 - >>>>>> connecting to katello.local:5647... >>>>>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] >>>>>> gofer.messaging.adapter.proton.connection:92 - opened: >>>>>> proton+amqps://katello.local:5647 >>>>>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] >>>>>> gofer.messaging.adapter.connect:30 - connected: >>>>>> proton+amqps://katello.local:5647 >>>>>> Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] root:512 - >>>>>> connected to katello.local:5647 >>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>>>>> gofer.rmi.dispatcher:603 - call: Content.install() >>>>>> sn=ba061a76-efa8-4261-aa2f-3de90aa8ac83 data={u'task_id': >>>>>> u'f50849b9-1862-4929-a1f8-e3fff00ca9d4', u'consumer_id': >>>>>> u'22a8cf78-17ac-4c76-bbca-770892211482'} >>>>>> Aug 31 15:32:18 vm-node goferd[21947]: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - handler failed >>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - Traceback (most recent call last): >>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - File >>>>>> "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 60, >>>>>> in install >>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id, >>>>>> CONTENT) >>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - File >>>>>> "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 330, >>>>>> in __handler >>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id) >>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0] >>>>>> pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {'type': >>>>>> u'erratum'} >>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>>>>> gofer.agent.rmi:193 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83, >>>>>> committed >>>>>> Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0] >>>>>> gofer.agent.rmi:147 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83 >>>>>> processed in: 2.506 (seconds) >>>>>> Aug 31 15:32:19 vmnode goferd[21947]: [INFO][worker-0] >>>>>> gofer.messaging.adapter.proton.connection:131 - closed: >>>>>> proton+amqps://katello.local:5647 >>>>>> >>>>>> >>>>>> Any idea what is wrong? >>>>>> >>>>>> Edgars >>>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Foreman users" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to foreman-user...@googlegroups.com. >>>>> To post to this group, send email to forema...@googlegroups.com. >>>>> Visit this group at https://groups.google.com/group/foreman-users. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>>> >>>>>

I have the same problem. Server and Client are both RHEL 7. Server is
running Katello 3.1. Client's katello-agent and related packages are from
the Sat 6.2 client repo. Do they need to be from upstream katello ?
Anything else that could go wrong ?

··· On Tue, Sep 13, 2016 at 1:27 PM, Joseph Cunningham wrote:

Had the similar error message when applying errata:

No handler for: {‘type’: u’erratum’}

Katello server is Centos 7, client is Centos 7.

(server) Tried yum update / reboot , same error message.
(client) Tried yum install pulp-rpm-handlers / systemctl restart goferd

That worked. Was able to successfully apply errata.

On Tuesday, September 13, 2016 at 4:34:39 AM UTC-7, Edgars M. wrote:

Unfortunately 2.8.3 is the latest in rhel-6-server-satellite-tools-6.2-rpms
repo.

Edgars

otrdiena, 2016. gada 13. septembris 12:24:54 UTC+2, Pierre-Alain Pulfer
rakstīja:

On EL6, you have to upgrade pulp-rpm-handlers package too.
upgrade from 2.6.4 to 2.8.6 worked for me.

Le vendredi 9 septembre 2016 14:50:12 UTC+2, Edgars M. a écrit :

It does not work for me on RHEL6 even though yum-plugin-security is
installed. I guess I have to wait until downstream katello-agent is updated.

Edgars

piektdiena, 2016. gada 9. septembris 14:34:43 UTC+2, Pierre-Alain
Pulfer rakstīja:

Solved :

CentOS 6 :
yum-plugin-security was not installed.
Installing yum-plugin-security solved the problem for el6. Thanks !

For CentOS 5 i had to install yum-security package.
These packages are not installed by default on CentOS 5 / 6.

On el7 (CentOS 7) :

  • updated from pulp-rpm-handlers-2.6.4-1.el7.noarch to
    pulp-rpm-handlers-2.8.6-1.el7.noarch
  • restarted goferd

THANKS !

Le jeudi 8 septembre 2016 21:51:45 UTC+2, jsherril a écrit :

On 09/06/2016 09:39 AM, Pierre-Alain Pulfer wrote:

Hello,

Same symptoms for me, after upgrading server from Katello 2.4 to 3.0
Katello server is CentOS 7

Can you ensure that the yum-plugin-security package is installed on
the el6 client?

Pulp was updated to require this to improve performance and in 3.1 we
started requiring it with katello agent on el6 and el5. The ‘no module
named security’ error tells me its probably not installed.

-Justin

On one test server (Centos 7), a “yum update” + reboot solved the
problem.
But on another server (CentOS 6), the same action did not solve
anything.

Client log , slightly different than Edgar’s log:
CentOS 6, latest versions

Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]

gofer.messaging.adapter.connect:28 - connecting: proton+amqps://
lslkatp01.mydomain.com:5647
Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:87 - open: URL: amqps://
lslkatp01.mydomain.com:5647|SSL: ca: /etc/rhsm/ca/katello-default-ca.pem|key:
None>certificate: /etc/pki/consumer/bundle.pem|host-validation: None
Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] root:510 -
connecting to lslkatp01.mydomain.com:5647
Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:92 - opened:
proton+amqps://lslkatp01.mydomain.com:5647
Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]
gofer.messaging.adapter.connect:30 - connected: proton+amqps://
lslkatp01.mydomain.com:5647
Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] root:539 -
connected to lslkatp01.mydomain.com:5647
Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]
gofer.rmi.dispatcher:603 - call: Content.install()
sn=4815f76e-70d9-4df3-a8fc-d6d76c895353 data={u’task_id’:
u’3e23e6be-69f7-4adf-96b6-cef334c1e8b9’, u’consumer_id’:
u’f33175e5-47c5-406f-9c71-16132eda4bae’}
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - handler “rpm”, import failed
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - Traceback (most recent call last):
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - File “/usr/lib/python2.6/site-packa
ges/pulp/agent/lib/container.py”, line 284, in __load
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - mod = self.__import_module(path)
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - File “/usr/lib/python2.6/site-packa
ges/pulp/agent/lib/container.py”, line 313, in __import_module
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - mod = import(path[0], globals(),
locals(), [path[-1]])
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - File “/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpm.py”,
line 9, in
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - from pulp_rpm.handlers.rpmtools import
Package, PackageGroup, ProgressReport
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - File “/usr/lib/python2.6/site-packa
ges/pulp_rpm/handlers/rpmtools.py”, line 28, in
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - import security
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - ImportError: No module named security
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - handler failed
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - Traceback (most recent call last):
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - File “/usr/lib/python2.6/site-packa
ges/pulp/agent/lib/dispatcher.py”, line 60, in install
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id,
CONTENT)
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - File “/usr/lib/python2.6/site-packa
ges/pulp/agent/lib/dispatcher.py”, line 330, in __handler
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id)
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {‘type’:
u’erratum’}
Aug 26 11:32:19 lslpput01 goferd: [INFO][worker-0]
gofer.agent.rmi:193 - Request: 4815f76e-70d9-4df3-a8fc-d6d76c895353,
committed
Aug 26 11:32:19 lslpput01 goferd: [INFO][worker-0]
gofer.agent.rmi:147 - Request: 4815f76e-70d9-4df3-a8fc-d6d76c895353
processed in: 2.007 (seconds)
Aug 26 11:32:20 lslpput01 goferd: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:131 - closed:
proton+amqps://lslkatp01.mydomain.com:5647

server and client have been restarted.
Version mismatch on client after upgrading katello agent ?

Le mercredi 31 août 2016 15:37:08 UTC+2, Edgars M. a écrit :

Hi

I am trying to apply some errata patches from web gui to client
node. Katello agent is installed and running. But unfortunately it fails.
This is error log from goferd.service on client:

Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.connect:28 - connecting:
proton+amqps://katello.local:5647
Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:87 - open: URL:
amqps://katello.local:5647|SSL: ca: /etc/rhsm/ca/katello-default-ca.pem|key:
None>certificate: /etc/pki/consumer/bundle.pem|host-validation: None
Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] root:490 -
connecting to katello.local:5647…
Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:92 - opened:
proton+amqps://katello.local:5647
Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.connect:30 - connected:
proton+amqps://katello.local:5647
Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] root:512 -
connected to katello.local:5647
Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0]
gofer.rmi.dispatcher:603 - call: Content.install()
sn=ba061a76-efa8-4261-aa2f-3de90aa8ac83 data={u’task_id’:
u’f50849b9-1862-4929-a1f8-e3fff00ca9d4’, u’consumer_id’:
u’22a8cf78-17ac-4c76-bbca-770892211482’}
Aug 31 15:32:18 vm-node goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - handler failed
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - Traceback (most recent call last):
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - File “/usr/lib/python2.7/site-packa
ges/pulp/agent/lib/dispatcher.py”, line 60, in install
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id,
CONTENT)
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - File “/usr/lib/python2.7/site-packa
ges/pulp/agent/lib/dispatcher.py”, line 330, in __handler
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id)
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {‘type’:
u’erratum’}
Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0]
gofer.agent.rmi:193 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83,
committed
Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0]
gofer.agent.rmi:147 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83
processed in: 2.506 (seconds)
Aug 31 15:32:19 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:131 - closed:
proton+amqps://katello.local:5647

Any idea what is wrong?

Edgars


You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it,
send an email to foreman-user...@googlegroups.com.
To post to this group, send email to forema...@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

After adding the katello-client repo, it works. It might not be possible or
easy, but it would be nice if the the official RHEL client packages can
maintain compatibility with Katello.

··· On Thu, Sep 22, 2016 at 12:59 AM, Prasun Gera wrote:

I have the same problem. Server and Client are both RHEL 7. Server is
running Katello 3.1. Client’s katello-agent and related packages are from
the Sat 6.2 client repo. Do they need to be from upstream katello ?
Anything else that could go wrong ?

On Tue, Sep 13, 2016 at 1:27 PM, Joseph Cunningham joey.was@gmail.com > wrote:

Had the similar error message when applying errata:

No handler for: {‘type’: u’erratum’}

Katello server is Centos 7, client is Centos 7.

(server) Tried yum update / reboot , same error message.
(client) Tried yum install pulp-rpm-handlers / systemctl restart goferd

That worked. Was able to successfully apply errata.

On Tuesday, September 13, 2016 at 4:34:39 AM UTC-7, Edgars M. wrote:

Unfortunately 2.8.3 is the latest in rhel-6-server-satellite-tools-6.2-rpms
repo.

Edgars

otrdiena, 2016. gada 13. septembris 12:24:54 UTC+2, Pierre-Alain Pulfer
rakstīja:

On EL6, you have to upgrade pulp-rpm-handlers package too.
upgrade from 2.6.4 to 2.8.6 worked for me.

Le vendredi 9 septembre 2016 14:50:12 UTC+2, Edgars M. a écrit :

It does not work for me on RHEL6 even though yum-plugin-security is
installed. I guess I have to wait until downstream katello-agent is updated.

Edgars

piektdiena, 2016. gada 9. septembris 14:34:43 UTC+2, Pierre-Alain
Pulfer rakstīja:

Solved :

CentOS 6 :
yum-plugin-security was not installed.
Installing yum-plugin-security solved the problem for el6. Thanks !

For CentOS 5 i had to install yum-security package.
These packages are not installed by default on CentOS 5 / 6.

On el7 (CentOS 7) :

  • updated from pulp-rpm-handlers-2.6.4-1.el7.noarch to
    pulp-rpm-handlers-2.8.6-1.el7.noarch
  • restarted goferd

THANKS !

Le jeudi 8 septembre 2016 21:51:45 UTC+2, jsherril a écrit :

On 09/06/2016 09:39 AM, Pierre-Alain Pulfer wrote:

Hello,

Same symptoms for me, after upgrading server from Katello 2.4 to 3.0
Katello server is CentOS 7

Can you ensure that the yum-plugin-security package is installed on
the el6 client?

Pulp was updated to require this to improve performance and in 3.1
we started requiring it with katello agent on el6 and el5. The ‘no module
named security’ error tells me its probably not installed.

-Justin

On one test server (Centos 7), a “yum update” + reboot solved the
problem.
But on another server (CentOS 6), the same action did not solve
anything.

Client log , slightly different than Edgar’s log:
CentOS 6, latest versions

Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]

gofer.messaging.adapter.connect:28 - connecting: proton+amqps://
lslkatp01.mydomain.com:5647
Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:87 - open: URL: amqps://
lslkatp01.mydomain.com:5647|SSL: ca: /etc/rhsm/ca/katello-default-ca.pem|key:
None>certificate: /etc/pki/consumer/bundle.pem|host-validation:
None
Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] root:510 -
connecting to lslkatp01.mydomain.com:5647
Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:92 - opened:
proton+amqps://lslkatp01.mydomain.com:5647
Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]
gofer.messaging.adapter.connect:30 - connected: proton+amqps://
lslkatp01.mydomain.com:5647
Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0] root:539 -
connected to lslkatp01.mydomain.com:5647
Aug 26 11:32:18 lslpput01 goferd: [INFO][worker-0]
gofer.rmi.dispatcher:603 - call: Content.install()
sn=4815f76e-70d9-4df3-a8fc-d6d76c895353 data={u’task_id’:
u’3e23e6be-69f7-4adf-96b6-cef334c1e8b9’, u’consumer_id’:
u’f33175e5-47c5-406f-9c71-16132eda4bae’}
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - handler “rpm”, import failed
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - Traceback (most recent call last):
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - File “/usr/lib/python2.6/site-packa
ges/pulp/agent/lib/container.py”, line 284, in __load
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - mod = self.__import_module(path)
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - File “/usr/lib/python2.6/site-packa
ges/pulp/agent/lib/container.py”, line 313, in __import_module
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - mod = import(path[0], globals(),
locals(), [path[-1]])
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - File “/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpm.py”,
line 9, in
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - from pulp_rpm.handlers.rpmtools import
Package, PackageGroup, ProgressReport
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - File “/usr/lib/python2.6/site-packa
ges/pulp_rpm/handlers/rpmtools.py”, line 28, in
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - import security
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.container:290 - ImportError: No module named
security
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - handler failed
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - Traceback (most recent call last):
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - File “/usr/lib/python2.6/site-packa
ges/pulp/agent/lib/dispatcher.py”, line 60, in install
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id,
CONTENT)
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - File “/usr/lib/python2.6/site-packa
ges/pulp/agent/lib/dispatcher.py”, line 330, in __handler
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id)
Aug 26 11:32:19 lslpput01 goferd: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {‘type’:
u’erratum’}
Aug 26 11:32:19 lslpput01 goferd: [INFO][worker-0]
gofer.agent.rmi:193 - Request: 4815f76e-70d9-4df3-a8fc-d6d76c895353,
committed
Aug 26 11:32:19 lslpput01 goferd: [INFO][worker-0]
gofer.agent.rmi:147 - Request: 4815f76e-70d9-4df3-a8fc-d6d76c895353
processed in: 2.007 (seconds)
Aug 26 11:32:20 lslpput01 goferd: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:131 - closed:
proton+amqps://lslkatp01.mydomain.com:5647

server and client have been restarted.
Version mismatch on client after upgrading katello agent ?

Le mercredi 31 août 2016 15:37:08 UTC+2, Edgars M. a écrit :

Hi

I am trying to apply some errata patches from web gui to client
node. Katello agent is installed and running. But unfortunately it fails.
This is error log from goferd.service on client:

Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.connect:28 - connecting:
proton+amqps://katello.local:5647
Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:87 - open: URL:
amqps://katello.local:5647|SSL: ca: /etc/rhsm/ca/katello-default-ca.pem|key:
None>certificate: /etc/pki/consumer/bundle.pem|host-validation:
None
Aug 31 15:32:16 vmnode goferd[21947]: [INFO][worker-0] root:490 -
connecting to katello.local:5647…
Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:92 - opened:
proton+amqps://katello.local:5647
Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.connect:30 - connected:
proton+amqps://katello.local:5647
Aug 31 15:32:17 vmnode goferd[21947]: [INFO][worker-0] root:512 -
connected to katello.local:5647
Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0]
gofer.rmi.dispatcher:603 - call: Content.install()
sn=ba061a76-efa8-4261-aa2f-3de90aa8ac83 data={u’task_id’:
u’f50849b9-1862-4929-a1f8-e3fff00ca9d4’, u’consumer_id’:
u’22a8cf78-17ac-4c76-bbca-770892211482’}
Aug 31 15:32:18 vm-node goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - handler failed
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - Traceback (most recent call last):
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - File “/usr/lib/python2.7/site-packa
ges/pulp/agent/lib/dispatcher.py”, line 60, in install
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - handler = self.__handler(type_id,
CONTENT)
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - File “/usr/lib/python2.7/site-packa
ges/pulp/agent/lib/dispatcher.py”, line 330, in __handler
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - raise HandlerNotFound(type=type_id)
Aug 31 15:32:18 vmnode goferd[21947]: [ERROR][worker-0]
pulp.agent.lib.dispatcher:65 - HandlerNotFound: No handler for: {‘type’:
u’erratum’}
Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0]
gofer.agent.rmi:193 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83,
committed
Aug 31 15:32:18 vmnode goferd[21947]: [INFO][worker-0]
gofer.agent.rmi:147 - Request: ba061a76-efa8-4261-aa2f-3de90aa8ac83
processed in: 2.506 (seconds)
Aug 31 15:32:19 vmnode goferd[21947]: [INFO][worker-0]
gofer.messaging.adapter.proton.connection:131 - closed:
proton+amqps://katello.local:5647

Any idea what is wrong?

Edgars


You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it,
send an email to foreman-user...@googlegroups.com.
To post to this group, send email to forema...@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.