<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-AU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Additional:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I see the following errors in the logs:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">2017/09/08 03:15:11 -00:00 31850 0.0.0.0: osad/jabber_lib.register_callback(<bound method Runner._error_callback of <osad.osa_dispatcher.Runner instance at 0x1ec8710>>, 'error', None, None, None, None)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">2017/09/08 03:15:11 -00:00 31850 0.0.0.0: osad/jabber_lib._expire_callbacks_list([[<bound method Runner._error_callback of <osad.osa_dispatcher.Runner instance at 0x1ec8710>>, None, None]], 1504840511.7368159)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">2017/09/08 03:15:11 -00:00 31850 0.0.0.0: osad/jabber_lib._expire_callbacks_list([[<bound method Runner._error_callback of <osad.osa_dispatcher.Runner instance at 0x1ec8710>>, None, None]], 1504840511.7537439)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">2017/09/08 03:15:11 -00:00 31850 0.0.0.0: osad/jabber_lib._expire_callbacks_list([[<bound method Runner._error_callback of <osad.osa_dispatcher.Runner instance at 0x1ec8710>>, None, None]], 1504840511.7620511)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">2017/09/08 03:15:11 -00:00 31850 0.0.0.0: osad/jabber_lib._expire_callbacks_list([[<bound method Runner._error_callback of <osad.osa_dispatcher.Runner instance at 0x1ec8710>>, None, None]], 1504840511.77037)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">2017/09/08 03:15:19 -00:00 31850 0.0.0.0: osad/jabber_lib._expire_callbacks_list([[<bound method Runner._error_callback of <osad.osa_dispatcher.Runner instance at 0x1ec8710>>, None, None]], 1504840519.8019159)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">2017/09/08 03:15:19 -00:00 31850 0.0.0.0: osad/jabber_lib._expire_callbacks_list([[<bound method Runner._error_callback of <osad.osa_dispatcher.Runner instance at 0x1ec8710>>, None, None]], 1504840519.8847489)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">2017/09/08 03:15:19 -00:00 31850 0.0.0.0: osad/jabber_lib._expire_callbacks_list([[<bound method Runner._error_callback of <osad.osa_dispatcher.Runner instance at 0x1ec8710>>, None, None]], 1504840519.8934169)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">2017/09/08 03:15:19 -00:00 31850 0.0.0.0: osad/jabber_lib._expire_callbacks_list([[<bound method Runner._error_callback of <osad.osa_dispatcher.Runner instance at 0x1ec8710>>, None, None]], 1504840519.904799)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">2017/09/08 03:15:19 -00:00 31850 0.0.0.0: osad/jabber_lib._expire_callbacks_list([[<bound method Runner._error_callback of <osad.osa_dispatcher.Runner instance at 0x1ec8710>>, None, None]], 1504840519.9452281)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">2017/09/08 03:15:19 -00:00 31850 0.0.0.0: osad/jabber_lib._expire_callbacks_list([[<bound method Runner._error_callback of <osad.osa_dispatcher.Runner instance at 0x1ec8710>>, None, None]], 1504840519.9523239)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">2017/09/08 03:15:19 -00:00 31850 0.0.0.0: osad/jabber_lib._expire_callbacks_list([[<bound method Runner._error_callback of <osad.osa_dispatcher.Runner instance at 0x1ec8710>>, None, None]], 1504840519.9636769)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">2017/09/08 03:15:27 -00:00 31850 0.0.0.0: osad/jabber_lib.dispatch(<error><conflict xmlns = 'urn:ietf:params:xml:ns:xmpp-streams'  /></error>,)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">2017/09/08 03:15:27 -00:00 31850 0.0.0.0: osad/jabber_lib._expire_callbacks_list([[<bound method Runner._error_callback of <osad.osa_dispatcher.Runner instance at 0x1ec8710>>, None, None]], 1504840527.989017)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">2017/09/08 03:15:27 -00:00 31850 0.0.0.0: osad/jabber_lib._get_callbacks(<error><conflict xmlns = 'urn:ietf:params:xml:ns:xmpp-streams'  /></error>,)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">2017/09/08 03:15:27 -00:00 31850 0.0.0.0: osad/jabber_lib.dispatch('Calling callback', <bound method Runner._error_callback of <osad.osa_dispatcher.Runner instance at 0x1ec8710>>, <error><conflict xmlns = 'urn:ietf:params:xml:ns:xmpp-streams' 
 /></error>)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">2017/09/08 03:15:27 -00:00 31850 0.0.0.0: osad/jabber_lib._error_callback('ERROR', 'Received an error stanza: ', <error><conflict xmlns = 'urn:ietf:params:xml:ns:xmpp-streams'  /></error>)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">2017/09/08 03:15:27 -00:00 31850 0.0.0.0: osad/jabber_lib._error_callback('ERROR', 'Received an conflict. Restarting with new credentials.')<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The errors mostly are generic and unlikely to be related but the conflict stuff made me look away from OSA-dispatcher and Spacewalk and at the underlying protocol XMPP.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">When investigating what a "conflict" means in XMPP terms I find the following: 
<a href="https://xmpp.org/rfcs/rfc3921.html">https://xmpp.org/rfcs/rfc3921.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-alt:auto;margin-left:24.0pt">
<span style="font-size:12.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:EN-AU">If there is already an active resource of the same name, the server MUST either (1) terminate the active resource and allow the newly-requested session,
 or (2) disallow the newly-requested session and maintain the active resource. Which of these the server does is up to the implementation, although it is RECOMMENDED to implement case #1. In case #1, the server SHOULD send a <conflict/> stream error to the
 active resource, terminate the XML stream and underlying TCP connection for the active resource, and return a IQ stanza of type "result" (indicating success) to the newly-requested session. In case #2, the server SHOULD send a <conflict/> stanza error to the
 newly-requested session but maintain the XML stream for that connection so that the newly-requested session has an opportunity to negotiate a non-conflicting resource identifier before sending another request for session establishment.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-alt:auto;margin-left:24.0pt">
<span style="font-size:12.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:EN-AU">Step 2 (alt): Server informs existing active resource of resource conflict (case #1):<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#CCCCCC"><span style="font-size:12.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-AU"><stream:error><o:p></o:p></span></p>
<p class="MsoNormal" style="background:#CCCCCC"><span style="font-size:12.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-AU">  <conflict xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><o:p></o:p></span></p>
<p class="MsoNormal" style="background:#CCCCCC"><span style="font-size:12.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-AU"></stream:error><o:p></o:p></span></p>
<p class="MsoNormal" style="background:#CCCCCC"><span style="font-size:12.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-AU"></stream:stream><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-alt:auto;margin-left:24.0pt">
<span style="font-size:12.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:EN-AU">Step 2 (alt): Server informs newly-requested session of resource conflict (case #2):<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#CCCCCC"><span style="font-size:12.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-AU"><iq from='example.com' type='error' id='sess_1'><o:p></o:p></span></p>
<p class="MsoNormal" style="background:#CCCCCC"><span style="font-size:12.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-AU">  <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/><o:p></o:p></span></p>
<p class="MsoNormal" style="background:#CCCCCC"><span style="font-size:12.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-AU">  <error type='cancel'><o:p></o:p></span></p>
<p class="MsoNormal" style="background:#CCCCCC"><span style="font-size:12.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-AU">    <conflict xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><o:p></o:p></span></p>
<p class="MsoNormal" style="background:#CCCCCC"><span style="font-size:12.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-AU">  </error><o:p></o:p></span></p>
<p class="MsoNormal" style="background:#CCCCCC"><span style="font-size:12.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-AU"></iq><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-alt:auto;margin-left:24.0pt">
<span style="font-size:12.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:EN-AU">After establishing a session, a client SHOULD send initial presence and request its roster as described below, although these actions are OPTIONAL.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-alt:auto;margin-left:24.0pt">
<span style="font-size:12.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:EN-AU">Note: Before allowing the creation of instant messaging and presence sessions, a server MAY require prior account provisioning. Possible methods for account
 provisioning include account creation by a server administrator as well as in-band account registration using the 'jabber:iq:register' namespace; the latter method is out of scope for this memo, but is documented in <a href="https://xmpp.org/rfcs/rfc3921.html#JEP-0077"><b><span style="color:#663333;text-decoration:none">[JEP‑0077]</span></b></a>,
 published by the <a href="https://xmpp.org/rfcs/rfc3921.html#JSF"><b><span style="color:#663333;text-decoration:none">Jabber Software Foundation</span></b></a> [JSF].<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Have I possibly hit a bug here in osa-dispatcher or jabber?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Andrew Bergman<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-AU">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-AU"> spacewalk-list-bounces@redhat.com
 [mailto:spacewalk-list-bounces@redhat.com] <b>On Behalf Of </b>Andrew Bergman<br>
<b>Sent:</b> Friday, 8 September 2017 11:29 AM<br>
<b>To:</b> spacewalk-list@redhat.com<br>
<b>Subject:</b> [Spacewalk-list] OSA Dispatcher "conflict" error [SEC=UNCLASSIFIED]<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Spacewalk list,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am seeing an error on the Spacewalk 2.6 server I am responsible for:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># osa-dispatcher -N –vvvvvvvvvvvv<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The last messages are:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">--> <presence to='osad-bb7d64e5e1@sdcvp-spacewalk01.bom.gov.au' type='subscribed' id='presence-fb3eba-37' /><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><-- <iq type='result' id='iq-request-c8a784-8'><query xmlns = 'jabber:iq:roster' ><item jid='osad-bb7d64e5e1@sdcvp-spacewalk01.bom.gov.au' subscription='to' /><item jid='osad-441293a7e7@sdcvp-spacewalk01.bom.gov.au'
 subscription='to' /></query></iq><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><-- <iq to='rhn-dispatcher-sat@sdcvp-spacewalk01.bom.gov.au/superclient' type='set' id='zb6g3gnj6oylakzw0ntgapdin3tlgajgmqwq6j9c'><query xmlns = 'jabber:iq:roster' ><item jid='osad-441293a7e7@sdcvp-spacewalk01.bom.gov.au'
 subscription='both' /></query></iq><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">--> <iq type='get' id='iq-request-c8a784-9'><query xmlns = 'jabber:iq:roster'  /></iq><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><-- <iq to='rhn-dispatcher-sat@sdcvp-spacewalk01.bom.gov.au/superclient' type='set' id='78xisxfsl88wymemq876irn4hjvn340bcyt5w8xh'><query xmlns = 'jabber:iq:roster' ><item jid='osad-bb7d64e5e1@sdcvp-spacewalk01.bom.gov.au'
 subscription='both' /></query></iq><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><-- <error><conflict xmlns = 'urn:ietf:params:xml:ns:xmpp-streams'  /></error><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">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>)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Spacewalk 20123 2017/09/07 06:49:21 -00:00: ('Received an conflict. Restarting with new credentials.',)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Spacewalk 20123 2017/09/07 06:49:21 -00:00: ('Error caught:',)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">ERROR: unhandled exception occurred: (can't write str to text stream).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This looks similar to:  <a href="http://spacewalk-list.redhat.narkive.com/aH2kex2k/osa-dispatcher-problems-no-system-ever-reports">
http://spacewalk-list.redhat.narkive.com/aH2kex2k/osa-dispatcher-problems-no-system-ever-reports</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Does anyone have any suggestions?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Andrew Bergman<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>