<div dir="ltr"><div><div>Sorry to double-post, but I just realized, shouldn't spacewalk-setup be checking that the hostname is all-lowercase, at the same time that it checks that it is a valid FQDN? I know that I definitely didn't get any warnings about CASE when running it, and I set it up at least twice from scratch. Should I submit a bug report requesting this?<br></div>Thanks,<br></div>Bruce<br><div><div><div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">Bruce Wainer</div></div>
<br><div class="gmail_quote">On Sun, Dec 10, 2017 at 8:17 PM, Bruce Wainer <span dir="ltr"><<a href="mailto:bruce@brucewainer.com" target="_blank">bruce@brucewainer.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>After leaving this be a few months I returned to the issue. I found the cause to be that my hostname had capitalized letters in it. Renaming the host with all lowercase and running the spacewalk-hostname-rename script resolved the issue. Apparently, the Satellite 5.8 Installation Guide ( <a href="https://access.redhat.com/documentation/en-us/red_hat_satellite/5.8/html-single/installation_guide/index" target="_blank">https://access.redhat.com/<wbr>documentation/en-us/red_hat_<wbr>satellite/5.8/html-single/<wbr>installation_guide/index</a> Section 2.4.8) has a note that saying not to do this as it would cause problems between jabberd and OSAD (exactly what I was seeing) but this warning is NOT present in the up-to-date install guide for Spacewalk ( <a href="https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall" target="_blank">https://github.com/<wbr>spacewalkproject/spacewalk/<wbr>wiki/HowToInstall</a> ). I think that needs to be fixed.<br></div>Here is the bug report that tipped me off to this issue: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=528145" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=528145</a></div><div><br></div><div>I've never used github aside from downloading releases and contributing to bug reports, so I don't know how to edit the wiki myself (looks like I have to make a clone/fork of it, and then a pull request with my changed version?) If someone wouldn't mind adding a note about using all-lower-case hostnames, maybe copied directly from the Satellite Install Guide, I think that would help future users. Nothing in the outputs of jabberd-c2s or osad help point to this being an issue, you just get errors like "no host available for requested domain", "SASL callback for non-existing host", and "bind.c:38 not auth'd, offering auth and register".<br></div><div><br></div><div>Hope this helps someone (maybe a future person searching for a solution to this issue),</div><div>Bruce<span class="HOEnZb"><font color="#888888"><br></font></span></div><div class="gmail_extra"><span class="HOEnZb"><font color="#888888"><br clear="all"><div><div class="m_-7774826589004412338gmail_signature" data-smartmail="gmail_signature">Bruce Wainer</div></div></font></span><div><div class="h5">
<br><div class="gmail_quote">On Wed, Jun 28, 2017 at 1:56 AM, Bruce Wainer <span dir="ltr"><<a href="mailto:bruce@brucewainer.com" target="_blank">bruce@brucewainer.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Robert,<br><br></div>I beg to differ. I have looked that up, and that string appears in every single error that osa-dispatcher throws. It appears to be an incorrectly written exception handling code, that causes its own exception. It always appears right after "<font face="monospace, monospace">('Error caught:',)</font>" which was clearly intended to print out a particular error message, but instead fails and causes another exception. See:<br><a href="https://www.redhat.com/archives/spacewalk-list/2016-June/msg00021.html" target="_blank">https://www.redhat.com/archive<wbr>s/spacewalk-list/2016-June/<wbr>msg00021.html</a><br><a href="https://www.redhat.com/archives/spacewalk-list/2016-September/msg00003.html" target="_blank">https://www.redhat.com/archive<wbr>s/spacewalk-list/2016-Septembe<wbr>r/msg00003.html</a><br><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1336426" target="_blank">https://bugzilla.redhat.com/sh<wbr>ow_bug.cgi?id=1336426</a> (this isn't a bug for this issue, just one that has a log that shows this activity)<br><a href="http://spacewalk-list.redhat.narkive.com/k0ly5UDb/error-connecting-to-jabber" target="_blank">http://spacewalk-list.redhat.n<wbr>arkive.com/k0ly5UDb/error-conn<wbr>ecting-to-jabber</a><br><br></div>These are all cases where different osa-dispatcher errors all are followed by<br><font face="monospace, monospace">('Error caught:',)<span><br>ERROR: unhandled exception occurred: (unicode argument expected, got 'str')<br><br></span></font></div>So I have to conclude that this particular message is not the cause of my problem. And even if it were, I don't see any way I could have caused or fix this error. My hostname doesn't have unicode in it, and expecting unicode in a hostname would be very silly (allowing unicode in a hostname might be ok, but not requiring it). The fact that there is an unhandled exception at all means that there is a bug in the code, but I'm 99% sure that is in the Error-handling code and not something that is functional to the program. If you really think this is the problem that is affecting me, please provide some help as to fixing it, as Google brings up nothing.<span class="m_-7774826589004412338HOEnZb"><font color="#888888"><font face="monospace, monospace"><br></font></font></span><div><div class="gmail_extra"><span class="m_-7774826589004412338HOEnZb"><font color="#888888"><br clear="all"><div><div class="m_-7774826589004412338m_-5859001211811400286gmail_signature" data-smartmail="gmail_signature">Bruce Wainer</div></div></font></span><span>
<br><div class="gmail_quote">On Wed, Jun 28, 2017 at 1:22 AM, Robert Paschedag <span dir="ltr"><<a href="mailto:robert.paschedag@web.de" target="_blank">robert.paschedag@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_-7774826589004412338m_-5859001211811400286HOEnZb"><div class="m_-7774826589004412338m_-5859001211811400286h5">
<br>
</div></div><span>Jun 27 16:59:05 NETMAN osa-dispatcher: ERROR: unhandled exception occurred: (unicode argument expected, got 'str').<br>
<br>
</span>That's your reason.<br>
<br>
</blockquote></div><br></span></div></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div></div></div>