[Spacewalk-list] OSA Dispatcher "conflict" error [SEC=UNCLASSIFIED]

Andrew Bergman Andrew.Bergman at bom.gov.au
Fri Sep 8 05:56:07 UTC 2017


How can I rebuild the jabber config cleanly?  I tried moving the xml files, restoring them from the .xml.dist files and then re-running spacewalk-setup-jabberd but then jabber fails to start.   I ended up restoring the original jabber config.

Config snippets with <id> sections below - note I censored the hostname for security purposes.

c2s.xml
  <id>c2s</id>
    <id require-starttls="false" pemfile="/etc/pki/spacewalk/jabberd/server.pem" realm="" register-enable="true">FQDN-censored-hostname</id>
    <id realm='company.int'
    <id password-change='mu' /> -->

router.xml
  <id>router</id>

s2s.xml
  <id>s2s</id>

sm.xml
<sm>
  <id>FQDN-censored-hostname</id>
<local>
    <id>FQDN-censored-hostname</id>
    <!-- <id>FQDN-censored-hostname</id> -->
    <!--<id>localhost.localdomain</id> -->
    <id>vhost1.localdomain</id> (also commented out)
    <id>vhost2.localdomain</id> (also commented out)

Regards

Andrew Bergman

-----Original Message-----
From: Robert Paschedag [mailto:robert.paschedag at web.de] 
Sent: Friday, 8 September 2017 2:35 PM
To: spacewalk-list at redhat.com; Andrew Bergman; spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] OSA Dispatcher "conflict" error [SEC=UNCLASSIFIED]

Am 8. September 2017 03:29:15 MESZ schrieb Andrew Bergman <Andrew.Bergman at bom.gov.au>:
>Hi Spacewalk list,
>
>I am seeing an error on the Spacewalk 2.6 server I am responsible for:
>
>Jabber is running, port 5222 TCP is running from c2s process and is
>communicable via telnet.   I see no errors in the logs except from
>osa-dispatcher.
>
># osa-dispatcher -N -vvvvvvvvvvvv
>
>The last messages are:
>--> <presence to='osad-bb7d64e5e1 at sdcvp-spacewalk01.bom.gov.au'
>type='subscribed' id='presence-fb3eba-37' />
>
><-- <iq type='result' id='iq-request-c8a784-8'><query xmlns = 
>'jabber:iq:roster' ><item 
>jid='osad-bb7d64e5e1 at sdcvp-spacewalk01.bom.gov.au' subscription='to'
>/><item jid='osad-441293a7e7 at sdcvp-spacewalk01.bom.gov.au'
>subscription='to' /></query></iq>
>
><-- <iq
>to='rhn-dispatcher-sat at sdcvp-spacewalk01.bom.gov.au/superclient'
>type='set' id='zb6g3gnj6oylakzw0ntgapdin3tlgajgmqwq6j9c'><query xmlns = 
>'jabber:iq:roster' ><item 
>jid='osad-441293a7e7 at sdcvp-spacewalk01.bom.gov.au' subscription='both'
>/></query></iq>
>
>--> <iq type='get' id='iq-request-c8a784-9'><query xmlns =
>'jabber:iq:roster'  /></iq>
>
><-- <iq
>to='rhn-dispatcher-sat at sdcvp-spacewalk01.bom.gov.au/superclient'
>type='set' id='78xisxfsl88wymemq876irn4hjvn340bcyt5w8xh'><query xmlns = 
>'jabber:iq:roster' ><item 
>jid='osad-bb7d64e5e1 at sdcvp-spacewalk01.bom.gov.au' subscription='both'
>/></query></iq>
>
><-- <error><conflict xmlns = 'urn:ietf:params:xml:ns:xmpp-streams' 
>/></error>
>
>Spacewalk 20123 2017/09/07 06:49:21 -00:00: ('Received an error stanza:
>', <error><conflict xmlns = 'urn:ietf:params:xml:ns:xmpp-streams' 
>/></error>)
>Spacewalk 20123 2017/09/07 06:49:21 -00:00: ('Received an conflict.
>Restarting with new credentials.',)
>Spacewalk 20123 2017/09/07 06:49:21 -00:00: ('Error caught:',)
>
>ERROR: unhandled exception occurred: (can't write str to text stream).
>
>This looks similar to: 
>http://spacewalk-list.redhat.narkive.com/aH2kex2k/osa-dispatcher-proble
>ms-no-system-ever-reports
>
>However, I see no SSL errors, my hosts file is fine, with ipv6 ::1 
>entry for localhost, fully qualified hostname and the system hostname 
>set to FQDN correctly.
>
>Does anyone have any suggestions?
>
>Thanks
>
>Andrew Bergman

Do you use 2 IDs within your jabber configuration? The different "id"s add the "switch" to other credentials looks strange to me.

Robert




More information about the Spacewalk-list mailing list