[Spacewalk-list] Subject: Client shows offline in Spacewalk GUI

Alexander Innes senni at necurity.co.uk
Tue Mar 3 10:01:59 UTC 2015


SSLError: ('OpenSSL error; will retry', "(-1, 'Unexpected EOF')") /
client.process(timeout=180)


Im leaning toward either the port isnt allowed on the firewall and its
timing out, or there is something wrong with the SSL cert (not imported it
/ its not trusted), or openSSL cant talk to the server due to protocol mis
match, have a check of those :)

On 2 March 2015 at 15:30, Deepjoy Choudhury <Deepjoy.Choudhury at jda.com>
wrote:

>  Hi Matthew,
>
>
>
> Thanks for your mail. Followed the mentioned steps.
>
>
>
> Although client shows connected,
>
> [root at linuxvm01 yum.repos.d]# osad -v
>
> 2015-03-02 10:19:00 jabber_lib.__init__:
>
> 2015-03-02 10:19:01 jabber_lib.setup_connection: Connected to jabber
> server md1prdlnxmgr01.jda.corp.local
>
>
>
> The verbose reveals below error. (last few lines)
>
>
>
> [root at linuxvm01 ~]# /usr/sbin/osad -N -v -v -v -v
>
>
>
> md1prdlnxmgr01.jda.corp.local' subscription='both' /></query></iq>
>
> 2015-03-02 10:24:23 jabber_lib.register_callback: <bound method
> Client._presence_callback of <osad.osad_client.Client instance at
> 0x1346ef0>> presence None None None None
>
> 2015-03-02 10:24:23 jabber_lib.register_callback: <bound method
> Client._message_callback of <osad.osad_client.Client instance at
> 0x1346ef0>> message None None None None
>
> 2015-03-02 10:24:24 jabber_lib.subscribe_to_presence: Subscribed to {}
>
> 2015-03-02 10:24:24 jabber_lib.subscribe_to_presence: Subscribed both
> {'rhn-dispatcher-sat at md1prdlnxmgr01.jda.corp.local': {'jid':
> 'rhn-dispatcher-sat at md1prdlnxmgr01.jda.corp.local', 'subscription':
> u'both'}}
>
> 2015-03-02 10:24:24 jabber_lib.subscribe_to_presence: Subscribed none {}
>
> 2015-03-02 10:24:24 jabber_lib.subscribe_to_presence: Subscribed from {}
>
> 2015-03-02 10:24:24 jabber_lib.subscribe_to_presence: Already subscribed
> to the presence of node rhn-dispatcher-sat at md1prdlnxmgr01.jda.corp.local
>
> 2015-03-02 10:24:24 jabber_lib.send_presence: None None
>
> 2015-03-02 10:24:24 jabber_lib.process_forever:
>
> 2015-03-02 10:24:24 jabber_lib.process: 180
>
> 2015-03-02 10:24:25 jabber_lib._presence_callback:
> osad-1cefe68510 at md1prdlnxmgr01.jda.corp.local/osad
> rhn-dispatcher-sat at md1prdlnxmgr01.jda.corp.local/superclient None
>
> 2015-03-02 10:24:25 jabber_lib._presence_callback: Node is available
> rhn-dispatcher-sat at md1prdlnxmgr01.jda.corp.local/superclient None
>
> 2015-03-02 10:24:25 jabber_lib.subscribe_to_presence: Subscribed to {}
>
> 2015-03-02 10:24:25 jabber_lib.subscribe_to_presence: Subscribed both
> {'rhn-dispatcher-sat at md1prdlnxmgr01.jda.corp.local': {'jid':
> 'rhn-dispatcher-sat at md1prdlnxmgr01.jda.corp.local', 'subscription':
> u'both'}}
>
> 2015-03-02 10:24:25 jabber_lib.subscribe_to_presence: Subscribed none {}
>
> 2015-03-02 10:24:25 jabber_lib.subscribe_to_presence: Subscribed from {}
>
> 2015-03-02 10:24:25 jabber_lib.subscribe_to_presence: Already subscribed
> to the presence of node rhn-dispatcher-sat at md1prdlnxmgr01.jda.corp.local
>
> 2015-03-02 10:24:35 jabber_lib.process: 180
>
> 2015-03-02 10:26:03 jabber_lib.process: 180
>
> Error caught:
>
> Traceback (most recent call last):
>
>   File "/usr/share/rhn/osad/jabber_lib.py", line 121, in main
>
>     self.process_forever(c)
>
>   File "/usr/share/rhn/osad/jabber_lib.py", line 179, in process_forever
>
>     self.process_once(client)
>
>   File "/usr/share/rhn/osad/osad.py", line 250, in process_once
>
>     client.process(timeout=180)
>
>   File "/usr/share/rhn/osad/jabber_lib.py", line 1055, in process
>
>     data = self._read(self.BLOCK_SIZE)
>
> SSLError: ('OpenSSL error; will retry', "(-1, 'Unexpected EOF')")
>
>
>
> 2015-03-02 10:26:03 jabber_lib.main: Sleeping 111 seconds
>
>
>
> From the Spacewalk server:
>
> root at md1prdlnxmgr01 ~]# tail -f /var/log/rhn/osa-dispatcher.log
>
> 2015/02/27 09:29:50 -04:00 13660 0.0.0.0: osad/jabber_lib.__init__
>
> 2015/02/27 09:29:51 -04:00 13660 0.0.0.0:
> osad/jabber_lib.setup_connection('Connected to jabber server',
> 'md1prdlnxmgr01.jda.corp.local')
>
> 2015/02/27 09:29:51 -04:00 13660 0.0.0.0:
> osad/osa_dispatcher.fix_connection('Upstream notification server started on
> port', 1290)
>
> 2015/02/27 09:29:51 -04:00 13660 0.0.0.0: osad/jabber_lib.process_forever
>
> 2015/02/27 09:38:10 -04:00 4529 0.0.0.0: osad/jabber_lib.__init__
>
> 2015/02/27 09:38:10 -04:00 4529 0.0.0.0:
> osad/jabber_lib.setup_connection('Connected to jabber server',
> 'md1prdlnxmgr01.jda.corp.local')
>
> 2015/02/27 09:38:10 -04:00 4529 0.0.0.0:
> osad/osa_dispatcher.fix_connection('Upstream notification server started on
> port', 1290)
>
> 2015/02/27 09:38:10 -04:00 4529 0.0.0.0: osad/jabber_lib.process_forever
>
> But there is a change in OSA status:
>
> OSA status: online as of unknown
>
> Earlier this was : Offline as of unknown
>
>
>
> *From:* spacewalk-list-bounces at redhat.com [mailto:
> spacewalk-list-bounces at redhat.com] *On Behalf Of *Matthew Madey
> *Sent:* Monday, March 02, 2015 8:37 PM
> *To:* spacewalk-list at redhat.com
> *Subject:* Re: [Spacewalk-list] Subject: Client shows offline in
> Spacewalk GUI
>
>
>
> Check the osa-dispatcher log on the Spacewalk server for more
> information: /var/log/rhn/osa-dispatcher.log
>
>
>
> Also, try this on the client:
>
>
>
> service osad stop ; rm -f /etc/sysconfig/rhn/osad-auth.conf ; service osad
> start
>
>
>
> On Mon, Mar 2, 2015 at 7:01 AM, Deepjoy Choudhury <
> Deepjoy.Choudhury at jda.com> wrote:
>
> Any Suggestions Friends …
>
>
>
> Thanks & Regards
>
>
>
> *From:* Deepjoy Choudhury
> *Sent:* Saturday, February 28, 2015 5:25 PM
> *To:* spacewalk-list at redhat.com
> *Subject:* Subject: Client shows offline in Spacewalk GUI
>
>
>
> Hi Team,
>
>
>
> I have installed spacewalk 2.2 and registered clients to it.
>
>
>
> After installing osad, the client shows offline/unknown in spacewalk.
>
>
>
> Firewall/selinux are disabled on both client and server.
>
>
>
> osad –v:
>
> Client:
>
> 2015-02-27 10:00:31 jabber_lib.__init__:
>
> 2015-02-27 10:00:31 jabber_lib.setup_connection: Connected to jabber
> server mxxx.xxx.corp.local
>
>
>
> Server:
>
> [root at mxxx ~]# service osa-dispatcher status
>
> osa-dispatcher (pid  4535) is running...
>
>
>
> [root@ mxxx ~]# service jabberd status
>
> router (pid 4373) is running...
>
> sm (pid 4380) is running...
>
> c2s (pid 4387) is running...
>
> s2s (pid 4394) is running...
>
>
>
>
>
> Can you please help
>
>
>
>
>
>
>
>
> _______________________________________________
> 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/20150303/12e9e022/attachment.htm>


More information about the Spacewalk-list mailing list