Bug 756761 - osa-dispatcher wont start
Summary: osa-dispatcher wont start
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 1.6
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
: 759406 (view as bug list)
Depends On:
Blocks: space16
TreeView+ depends on / blocked
 
Reported: 2011-11-24 13:21 UTC by Martin Minar
Modified: 2016-07-04 00:56 UTC (History)
3 users (show)

Fixed In Version: osad-5.10.30-1
Clone Of:
Environment:
Last Closed: 2011-12-22 16:50:30 UTC
Embargoed:


Attachments (Terms of Use)

Comment 1 Martin Minar 2011-11-25 08:04:28 UTC
Description of problem:
When running rhn-satellite restart osa-dispatcher is not started.

Version-Release number of selected component (if applicable):
Spacewalk nightly
Postgre version
RHEL5, RHEL6, F14

Steps to Reproduce:
1. rhn-satellite restart

Actual results:
Traceback can be found in /var/log/rhn/osa-dispatcher.log

Comment 2 Michael Mráka 2011-12-16 10:21:28 UTC
Well, I've seen the error message once:
# spacewalk-service restart
Shutting down spacewalk services...
[...]
Shutting down osa-dispatcher: [  OK  ]
Terminating jabberd processes ...
Stopping router: [  OK  ]
Stopping sm: [  OK  ]
Stopping c2s: [  OK  ]
Stopping s2s: [  OK  ]
Done.
Starting spacewalk services...
Initializing jabberd processes ...
Starting router: [  OK  ]
Starting sm: [  OK  ]
Starting c2s: [  OK  ]
Starting s2s: [  OK  ]
Starting osa-dispatcher: /usr/lib/python2.6/site-packages/jabber/jabber.py:68: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha, time
RHN 23908 2011/12/16 05:04:51 -04:00: ('Server did not return a <features /> stanza',)
RHN 23908 2011/12/16 05:04:51 -04:00: ('Traceback (most recent call last):\n  File "/usr/share/rhn/osad/jabber_lib.py", line 246, in setup_connection\n    c = self._get_jabber_client(js)\n  File "/usr/share/rhn/osad/jabber_lib.py", line 303, in _get_jabber_client\n    c.connect()\n  File "/usr/share/rhn/osad/jabber_lib.py", line 576, in connect\n    raise SSLDisabledError\nSSLDisabledError\n',)
[  OK  ]
Starting tomcat6: [  OK  ]
[...]
Done.

Subsequent osa-dispatcher restart went fine
# service osa-dispatcher restart
Shutting down osa-dispatcher: [  OK  ]
Starting osa-dispatcher: /usr/lib/python2.6/site-packages/jabber/jabber.py:68: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha, time
[  OK  ]

And then I was no more able to reproduce the issue with any combination of
# service jabberd restart ; service osa-dispatcher restart
# service osa-dispatcher stop ; service jabberd stop ; service jabberd start  ; service osa-dispatcher start
# spacewalk-service restart

Comment 3 Michael Mráka 2011-12-16 10:34:09 UTC
*** Bug 759406 has been marked as a duplicate of this bug. ***

Comment 4 Michael Mráka 2011-12-16 12:52:13 UTC
Fixed in spacewalk master by
commit 8ac086d8a039c72a94bcac0c62c2566b7054a5e4
    756761 - reconnect if jabber server returns error during handshake

Comment 5 Milan Zázrivec 2011-12-22 16:50:30 UTC
Spacewalk 1.6 has been released.


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