-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
- -------- Original Message -------- Subject: Re: [Spacewalk-list] osa-dispatcher not running or not connecting From: Michiel van Es <[email protected]> To: [email protected] <[email protected]> Date: 10/21/2009 11:19 AM > > > -------- Original Message -------- > Subject: [Spacewalk-list] osa-dispatcher not running or not connecting > From: Joshua Roys <[email protected]> > To: [email protected] <[email protected]> > Date: 10/20/2009 03:29 PM > >> Hello, > > Hi, > >> On 10/20/2009 08:52 AM, Michiel van Es wrote: >>>> On 10/20/2009 01:47 AM, Michiel van Es wrote: >>>>> 2009/10/20 07:43:00 +02:00 3866 0.0.0.0: osad/jabber_lib.__init__ >>>>> 2009/10/20 07:43:00 +02:00 3866 0.0.0.0: >>>>> osad/jabber_lib.print_message('socket error',) >>>>> 2009/10/20 07:43:00 +02:00 3866 0.0.0.0: >>>>> osad/jabber_lib.print_message('Could not connect to jabber server', >>>>> 'devmx01.buro.info.nl') >>>>> 2009/10/20 07:43:00 +02:00 3866 0.0.0.0: >>>>> osad/jabber_lib.setup_connection('Could not connect to any jabber >>>>> server',) >>>>> 2009/10/20 07:43:00 +02:00 3866 0.0.0.0: osad/jabber_lib.main('Unable to >>>>> connect to jabber servers, sleeping 10 seconds',) >>> 2009-10-20 14:46:59 jabber_lib.setup_connection: Connecting to >>> devmx01.buro.info.nl >>> 2009-10-20 14:46:59 jabber_lib._get_jabber_client: >>> 2009-10-20 14:46:59 jabber_lib._get_jabber_client: Connecting to >>> devmx01.buro.info.nl >>> 2009-10-20 14:46:59 jabber_lib.__init__: >>> 2009-10-20 14:46:59 jabber_lib.__init__: >>> 2009-10-20 14:46:59 jabber_lib.check_cert: Loading cert<X509Name object >>> '/C=NL/ST=Noord Holland/L=Amsterdam/O=Info.nl >>> HF/OU=devmx01.buro.info.nl/CN=devmx01.buro.info.nl'> >>> 2009-10-20 14:46:59 jabber_lib.connect: >>> 2009-10-20 14:47:06 jabber_lib.process: 300 >>> 2009-10-20 14:50:36 jabber_lib.process: None >>> 2009-10-20 14:50:58 jabber_lib.print_message: socket error >>> 2009-10-20 14:50:58 jabber_lib.print_message: Could not connect to >>> jabber server devmx01.buro.info.nl >>> 2009-10-20 14:50:58 jabber_lib.setup_connection: Could not connect to >>> any jabber server >>> 2009-10-20 14:50:58 jabber_lib.main: Unable to connect to jabber >>> servers, sleeping 85 seconds >> Attached is a patch to hopefully make osa be a little more verbose about >> network errors - please apply like so: >> # cd /usr/share/rhn/osad >> # cp -a jabber_lib.py* /tmp/ >> (back them up...) >> # patch < /path/to/osa-print-errors.patch > >> And then try running osa-dispatcher/osad again. You may have to look in >> /var/log/rhn/... to get the tracebacks. > >>> Tue Oct 20 14:44:45 2009 authreg.c:661 auth get >>> Tue Oct 20 14:44:45 2009 authreg_db.c:105 fetching auth creds for user >>> 'osad-da05225b95' realm '' >>> Tue Oct 20 14:44:45 2009 authreg_db.c:70 creating new db handle for realm '' >>> >> Was there anything after this? It seems to end abruptly. > > This is what I got on the osa-dispatcher side: > > [r...@devmx01 jabberd]# osa-dispatcher -N -vvvvvvvv > --> <?xml version='1.0' encoding='UTF-8'?><stream:stream > to='devmx01.buro.info.nl' xmlns='jabber:client' > xmlns:stream='http://etherx.jabber.org/streams' version='1.0'> > > RHN 25575 2009/10/21 11:11:04 +02:00: ('Traceback (most recent call > last):\n File "/usr/share/rhn/osad/jabber_lib.py", line 254, in > setup_connection\n c = self._get_jabber_client(js)\n File > "/usr/share/rhn/osad/jabber_lib.py", line 311, in _get_jabber_client\n > c.connect()\n File "/usr/share/rhn/osad/jabber_lib.py", line 577, in > connect\n jabber.Client.connect(self)\n File > "/usr/lib/python2.4/site-packages/jabber/xmlstream.py", line 512, in > connect\n self.header()\n File "/usr/share/rhn/osad/jabber_lib.py", > line 1193, in header\n self.process(jabber.timeout)\n File > "/usr/share/rhn/osad/jabber_lib.py", line 1061, in process\n data = > self._read(self.BLOCK_SIZE)\nerror: (104, \'Connection reset by peer\')\n',) > --> <?xml version='1.0' encoding='UTF-8'?><stream:stream > to='devmx01.buro.info.nl' xmlns='jabber:client' > xmlns:stream='http://etherx.jabber.org/streams' version='1.0'> > > RHN 25575 2009/10/21 11:14:46 +02:00: ('Traceback (most recent call > last):\n File "/usr/share/rhn/osad/jabber_lib.py", line 254, in > setup_connection\n c = self._get_jabber_client(js)\n File > "/usr/share/rhn/osad/jabber_lib.py", line 311, in _get_jabber_client\n > c.connect()\n File "/usr/share/rhn/osad/jabber_lib.py", line 577, in > connect\n jabber.Client.connect(self)\n File > "/usr/lib/python2.4/site-packages/jabber/xmlstream.py", line 512, in > connect\n self.header()\n File "/usr/share/rhn/osad/jabber_lib.py", > line 1193, in header\n self.process(jabber.timeout)\n File > "/usr/share/rhn/osad/jabber_lib.py", line 1061, in process\n data = > self._read(self.BLOCK_SIZE)\nerror: (104, \'Connection reset by peer\')\n',) > --> <?xml version='1.0' encoding='UTF-8'?><stream:stream > to='devmx01.buro.info.nl' xmlns='jabber:client' > xmlns:stream='http://etherx.jabber.org/streams' version='1.0'> > > > > On the osa client side: > > [r...@devgnudb01 osad]# osad -N -vvvvvvv > 2009-10-21 11:08:36 osad._setup_config: Updating configuration > 2009-10-21 11:08:36 osad._setup_config: Time drift 0 > 2009-10-21 11:08:36 osad._setup_config: Client name c5a02410c91ae78d > 2009-10-21 11:08:36 osad._setup_config: Shared key > 64c76d0baf1109ad0653f611f7288947412f7d21 > 2009-10-21 11:08:36 jabber_lib.setup_connection: Connecting to > devmx01.buro.info.nl > 2009-10-21 11:08:36 jabber_lib._get_jabber_client: > 2009-10-21 11:08:36 jabber_lib._get_jabber_client: Connecting to > devmx01.buro.info.nl > 2009-10-21 11:08:36 jabber_lib.__init__: > 2009-10-21 11:08:36 jabber_lib.__init__: > 2009-10-21 11:08:36 jabber_lib.check_cert: Loading cert <X509Name object > '/C=NL/ST=Noord Holland/L=Amsterdam/O=Info.nl > HF/OU=devmx01.buro.info.nl/CN=devmx01.buro.info.nl'> > 2009-10-21 11:08:36 jabber_lib.connect: > 2009-10-21 11:08:36 jabber_lib.connect: Attempting to connect > --> <?xml version='1.0' encoding='UTF-8'?><stream:stream > to='devmx01.buro.info.nl' xmlns='jabber:client' > xmlns:stream='http://etherx.jabber.org/streams' version='1.0'> > > 2009-10-21 11:08:38 jabber_lib.process: 300 > 2009-10-21 11:08:38 jabber_lib.process: before select(); timeout 300.0 > 2009-10-21 11:12:08 jabber_lib.process: select() returned > 2009-10-21 11:12:08 jabber_lib.connect: Connected > 2009-10-21 11:12:08 jabber_lib.process: None > 2009-10-21 11:12:08 jabber_lib.process: before select(); timeout None > 2009-10-21 11:12:26 jabber_lib.process: select() returned > 2009-10-21 11:12:26 jabber_lib.print_message: socket error > 2009-10-21 11:12:26 jabber_lib.print_message: Could not connect to > jabber server devmx01.buro.info.nl > Traceback (most recent call last): > File "/usr/share/rhn/osad/jabber_lib.py", line 255, in setup_connection > c = self._get_jabber_client(js) > File "/usr/share/rhn/osad/jabber_lib.py", line 312, in _get_jabber_client > c.connect() > File "/usr/share/rhn/osad/jabber_lib.py", line 588, in connect > stanza = self.get_one_stanza() > File "/usr/share/rhn/osad/jabber_lib.py", line 791, in get_one_stanza > self.process(timeout=tm) > File "/usr/share/rhn/osad/jabber_lib.py", line 1060, in process > data = self._read(self.BLOCK_SIZE) > error: (104, 'Connection reset by peer') > > 2009-10-21 11:12:26 jabber_lib.setup_connection: Could not connect to > any jabber server > 2009-10-21 11:12:26 jabber_lib.main: Unable to connect to jabber > servers, sleeping 87 seconds > 2009-10-21 11:13:27 osad.setup_config: Skipping config setup; counter=1; > interval=59 > 2009-10-21 11:13:27 jabber_lib.setup_connection: Connecting to > devmx01.buro.info.nl > 2009-10-21 11:13:27 jabber_lib._get_jabber_client: > 2009-10-21 11:13:27 jabber_lib._get_jabber_client: Connecting to > devmx01.buro.info.nl > 2009-10-21 11:13:27 jabber_lib.__init__: > 2009-10-21 11:13:27 jabber_lib.__init__: > 2009-10-21 11:13:27 jabber_lib.check_cert: Loading cert <X509Name object > '/C=NL/ST=Noord Holland/L=Amsterdam/O=Info.nl > HF/OU=devmx01.buro.info.nl/CN=devmx01.buro.info.nl'> > 2009-10-21 11:13:27 jabber_lib.connect: > 2009-10-21 11:13:27 jabber_lib.connect: Attempting to connect > --> <?xml version='1.0' encoding='UTF-8'?><stream:stream > to='devmx01.buro.info.nl' xmlns='jabber:client' > xmlns:stream='http://etherx.jabber.org/streams' version='1.0'> > > 2009-10-21 11:13:27 jabber_lib.process: 300 > 2009-10-21 11:13:27 jabber_lib.process: before select(); timeout > 299.999997854 > > Hi Joshua, You know what the above jabber errors can mean or where I should look? Is it a problem to configure the rhnsd.conf to pull new spacewalk settings every X minutes if the spacewalk push fails? Kind regards, Michiel > > Regards, > > Michiel > > >> Hope to help, > >> Josh _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrgQI4ACgkQSU+5fmlaNkOCggCaAuxu8Xwi1xo98LJjpv29CZT/ GwwAnjRrKFdT7J931Clsvwe4JKjfYan7 =p9If -----END PGP SIGNATURE----- _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
