Bug 759406 - osa-dispatcher attempts to connect before jabberd is ready
Summary: osa-dispatcher attempts to connect before jabberd is ready
Keywords:
Status: CLOSED DUPLICATE of bug 756761
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 1.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Šimon Lukašík
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space16
TreeView+ depends on / blocked
 
Reported: 2011-12-02 10:23 UTC by Šimon Lukašík
Modified: 2011-12-16 10:34 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-12-16 10:32:36 UTC
Embargoed:


Attachments (Terms of Use)

Comment 1 Jan Pazdziora (Red Hat) 2011-12-09 14:50:57 UTC
Public summary:

Description of problem:
Upon `rhn-satellite` the osa-dispatcher attempts to connect to jabberd
server. The osa-dispatcher except to receive <features> stanza to
negotiate SSL connection. However, when jabberd is freshly started
and not fully operational it instead responds with:

  <error><host-gone xmlns = 'urn:ietf:params:xml:ns:xmpp-streams'  />
    <text xmlns = 'urn:ietf:params:xml:ns:xmpp-streams' >
      session manager for requested domain is not available
    </text>
  </error>

Version-Release number of selected component (if applicable):
Spacewalk Nightly on RHEL5
jabberd-2.2.11-3.el5
osa-dispatcher-5.10.27-1.el5

How reproducible:
deterministic


Steps to Reproduce:
1. tail -f /var/log/rhn/osa-dispatcher.log
2. rhn-satellite (re)start
3.

Actual results:
2011/12/01 08:20:32 -04:00 26887 0.0.0.0: osad/jabber_lib.__init__
2011/12/01 08:20:32 -04:00 26887 0.0.0.0: osad/jabber_lib.connect('ERROR',
'Server did not return a <features /> stanza')
2011/12/01 08:20:32 -04:00 26887 0.0.0.0:
osad/jabber_lib.print_message('SSLError',)
2011/12/01 08:20:32 -04:00 26887 0.0.0.0: osad/jabber_lib.print_message('Could
not connect to jabber server', 'hostname.example.com')
2011/12/01 08:20:32 -04:00 26887 0.0.0.0:
osad/jabber_lib.setup_connection('ERROR', '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')
2011/12/01 08:20:32 -04:00 26887 0.0.0.0:
osad/jabber_lib.setup_connection('Could not connect to any jabber server',)
2011/12/01 08:20:32 -04:00 26887 0.0.0.0: osad/jabber_lib.main('Unable to
connect to jabber servers, sleeping 10 seconds',)

Expected results:
Connect like a charm.

Additional info:

Comment 2 Michael Mráka 2011-12-16 10:32:36 UTC

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

Comment 3 Michael Mráka 2011-12-16 10:34:09 UTC

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


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