[Spacewalk-list] OSA Dispatcher error

Matt Moldvan matt at moldvan.com
Wed Apr 27 03:04:52 UTC 2016


Your SSL cert on the jabber server is most likely set to something other
than what OSAD is attempting to connect to.  What do you see when you try
"openssl s_client -connect -starttls xmpp spacewalk1-eqix"?  The subject
name of the cert has to match the configuration option exactly with what
you have serverURL set to in /etc/sysconfig/rhn/up2date, or alternatively
the value of server_url in /etc/sysconfig/rhn/osad.conf on the clients.
Try playing with either of the two values I mentioned and see if you can
get a successful connection...

On Tue, Apr 26, 2016 at 9:39 PM Konstantin Raskoshnyi <konrasko at gmail.com>
wrote:

> It's definitely not a problem with host resolving.
> The error is SSLError
>
> On Tue, Apr 26, 2016 at 5:20 PM, <prmarino1 at gmail.com> wrote:
>
>> Looks like its trying to resolve to the short hostname not the FQDN.
>> You can try adding the domain to the search path of /etc/resolve.conf or
>> add the mapping to /etc/hosts  on the managed hosts although that's not a
>> great solution‎.
>> Chances are the spacewalk host was named using the short hostname or you
>> hit a bug, but I suspect it the former.
>>
>>
>> *From: *Konstantin Raskoshnyi
>> *Sent: *Tuesday, April 26, 2016 19:07
>> *To: *spacewalk-list at redhat.com
>> *Reply To: *spacewalk-list at redhat.com
>> *Subject: *[Spacewalk-list] OSA Dispatcher error
>>
>> 2016/04/26 16:00:54 -07:00 3115 0.0.0.0:
>> osad/jabber_lib.print_message('Could not connect to jabber server',
>> 'spacewalk1-eqix')
>> 2016/04/26 16:00:54 -07:00 3115 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 253, in
>> setup_connection\n    c = self._get_jabber_client(js)\n  File
>> "/usr/share/rhn/osad/jabber_lib.py", line 320, in _get_jabber_client\n
>>  c.connect()\n  File "/usr/share/rhn/osad/jabber_lib.py", line 604, in
>> connect\n    raise SSLDisabledError\nSSLDisabledError\n')
>> 2016/04/26 16:00:54 -07:00 3115 0.0.0.0:
>> osad/jabber_lib.setup_connection('Could not connect to any jabber server',)
>> 2016/04/26 16:00:54 -07:00 3115 0.0.0.0: osad/jabber_lib.main('Unable to
>> connect to jabber servers, sleeping 10 seconds',)
>> 2016/04/26 16:01:04 -07:00 3115 0.0.0.0: osad/jabber_lib.__init__
>> 2016/04/26 16:01:04 -07:00 3115 0.0.0.0: osad/jabber_lib.connect('Server
>> did not return a <features /> stanza, reconnecting',)
>> 2016/04/26 16:01:05 -07:00 3115 0.0.0.0: osad/jabber_lib.connect('Server
>> did not return a <features /> stanza, reconnecting',)
>> 2016/04/26 16:01:06 -07:00 3115 0.0.0.0: osad/jabber_lib.connect('Server
>> did not return a <features /> stanza, reconnecting',)
>> 2016/04/26 16:01:07 -07:00 3115 0.0.0.0:
>> osad/jabber_lib.connect('ERROR', 'Not able to reconnect')
>> 2016/04/26 16:01:07 -07:00 3115 0.0.0.0:
>> osad/jabber_lib.print_message('SSLError',)
>> 2016/04/26 16:01:07 -07:00 3115 0.0.0.0:
>> osad/jabber_lib.print_message('Could not connect to jabber server',
>> 'spacewalk1-eqix')
>> 2016/04/26 16:01:07 -07:00 3115 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 253, in
>> setup_connection\n    c = self._get_jabber_client(js)\n  File
>> "/usr/share/rhn/osad/jabber_lib.py", line 320, in _get_jabber_client\n
>>  c.connect()\n  File "/usr/share/rhn/osad/jabber_lib.py", line 604, in
>> connect\n    raise SSLDisabledError\nSSLDisabledError\n')
>> 2016/04/26 16:01:07 -07:00 3115 0.0.0.0:
>> osad/jabber_lib.setup_connection('Could not connect to any jabber server',)
>> 2016/04/26 16:01:07 -07:00 3115 0.0.0.0: osad/jabber_lib.main('Unable to
>> connect to jabber servers, sleeping 10 seconds',)
>>
>> I can resolve spacewalk host...Any thoughts? Do I need to run rename host?
>>
>> I didn't rename the actual sp host and don't know have this server ever
>> worked at all. On the new SP it works fine
>>
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20160427/188c1af6/attachment.htm>


More information about the Spacewalk-list mailing list