[Spacewalk-list] osa-dispacther failes to start

Mueller, Klaus KMueller at bader.de
Fri Sep 2 07:47:15 UTC 2016


Hi Community,

i got a big Problem with the osa-dispatcher. The service does not start correctly. I trie to provide all the informations needed and hope that anyone can give me an idea about what is wrong.

Environment:
CentOS 7 -> 3.10.0-327.28.3.el7.x86_64
Spacewalk 2.5
osa-dispatcher-5.11.71-1.el7.noarch

I took over that spacewalk-installation from an left employee, and i guess the osa-dispatcher never worrks. This spacewalk-Injstallation is only used as Repo. But i also want to initiale systemupdates using spacewalk. And thatfor i need this osa-dispatcher. Jabber is running, but this error below seems to be a jabber-issue. I would be happy if anyone can help me.



ServiceStatus:
# systemctl status osa-dispatcher -l
● osa-dispatcher.service - OSA Dispatcher daemon
   Loaded: loaded (/usr/lib/systemd/system/osa-dispatcher.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2016-09-02 06:00:02 CEST; 3h 40min ago
  Process: 116341 ExecStart=/usr/sbin/osa-dispatcher --pid-file /var/run/osa-dispatcher.pid (code=exited, status=255)
  Process: 116339 ExecStartPre=/bin/rm -f /var/run/osa-dispatcher.pid (code=exited, status=0/SUCCESS)

Sep 02 06:00:02 spacewalk osa-dispatcher[116341]: --> <?xml version='1.0' encoding='UTF-8'?><stream:stream to=REMOVED xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
Sep 02 06:00:02 spacewalk osa-dispatcher[116341]: <-- <features><starttls xmlns = 'urn:ietf:params:xml:ns:xmpp-tls' ><required /></starttls><address xmlns = 'http://affinix.com/jabber/address' >10.14.10.76</address><auth xmlns = 'http://jabber.org/features/iq-auth'  /><register xmlns = 'http://jabber.org/features/iq-register'  /></features>
Sep 02 06:00:02 spacewalk osa-dispatcher[116341]: <-- <proceed />
Sep 02 06:00:02 spacewalk osa-dispatcher[116341]: Spacewalk 116341 2016/09/02 06:00:02 +02:00: ('Traceback caught:',)
Sep 02 06:00:02 spacewalk osa-dispatcher[116341]: Spacewalk 116341 2016/09/02 06:00:02 +02:00: ('Error caught:',)
Sep 02 06:00:02 spacewalk osa-dispatcher[116341]: ERROR: unhandled exception occurred: (unicode argument expected, got 'str').
Sep 02 06:00:02 spacewalk systemd[1]: osa-dispatcher.service: control process exited, code=exited status=255
Sep 02 06:00:02 spacewalk systemd[1]: Failed to start OSA Dispatcher daemon.
Sep 02 06:00:02 spacewalk systemd[1]: Unit osa-dispatcher.service entered failed state.
Sep 02 06:00:02 spacewalk systemd[1]: osa-dispatcher.service failed.


Osa-dispatcher.log:
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib.setup_connection('Connecting to', REMOVED)
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib._get_jabber_client
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib._get_jabber_client('Connecting to', REMOVED)
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib.__init__
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib.__init__
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib.check_cert('Loading cert', <X509Name object '/C=DE/ST=Baden-W\xC3\xBCrttemberg/REMOVED/emailAddress=pki at bader'>)
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib.connect
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib.connect('Attempting to connect',)
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib.process(300,)
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib.process('before select(); timeout', 299.99999809265137)
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib.process('select() returned',)
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib._auth_dispatch(<jabber.xmlstream.Node instance at 0x2c32fc8>,)
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib.connect('Connected',)
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib.connect('Expecting features stanza, got:', <features><starttls xmlns = 'urn:ietf:params:xml:ns:xmpp-tls' ><required /></starttls><address xmlns = 'http://affinix.com/jabber/address' >10.14.10.76</address><auth xmlns = 'http://jabber.org/features/iq-auth'  /><register xmlns = 'http://jabber.org/features/iq-register'  /></features>)
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib.connect('starttls node', <jabber.xmlstream.Node instance at 0x2c32f38>)
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib.process(None,)
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib.process('before select(); timeout', None)
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib.process('select() returned',)
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib._auth_dispatch(<jabber.xmlstream.Node instance at 0x2c4df80>,)
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib.connect('Expecting proceed stanza, got:', <proceed />)
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib.connect('Preparing for TLS handshake',)
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib.connect('ERROR', 'Traceback caught:')
2016/09/02 06:00:02 +02:00 116341 0.0.0.0: osad/jabber_lib.main('ERROR', 'Error caught:')


Regards
Klaus Müller

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20160902/dc71b79e/attachment.htm>


More information about the Spacewalk-list mailing list