<div dir="ltr">I have also confirmed that all 7 systems that do not complete remote commands have the "\r\n" line separator. And I have done a random sampling of some of the working systems and the line separator is only "\n".<br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><font size="1">Ryan Clough<br>Information Systems<br><a href="http://www.decisionsciencescorp.com/" target="_blank">Decision Sciences International Corporation</a></font><span style="font-family:"Calibri","sans-serif";color:#1f497d"><a href="http://www.decisionsciencescorp.com/" target="_blank"><span style="color:blue"></span></a></span></div></div>
<br><div class="gmail_quote">On Wed, Sep 17, 2014 at 1:26 AM, Michael Mraka <span dir="ltr"><<a href="mailto:michael.mraka@redhat.com" target="_blank">michael.mraka@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ryan Clough wrote:<br>
% All,<br>
%<br>
% I have 7 systems which will not complete a remote command no matter how<br>
<span class="">% simple. I believe that the problem lies in the construction of the XML.<br>
% Here is how I found the difference in the systems output.<br>
</span>%<br>
% 1.  In order to remove osad from the picture, I stopped the daemon on a<br>
<span class="">% system that does not complete the remote command and one that does.<br>
</span>%<br>
% 2. Using SSM I send the same remote command to both systems, "ls /". A<br>
<span class="">% simple "ls" on the root mount.<br>
</span>%<br>
% 3. Now call "rhn_check -v -v -v -v -v -v -v" on both systems and capture<br>
% the output.<br>
%<br>
% 4. Compare output.<br>
%<br>
% Now the interesting lines are the XML lines and the "do_call" line. The<br>
<span class="">% "do_call" line is much easier to see so I will show it here.<br>
</span>%<br>
% Working system "do_call" line:<br>
% D: do_call script.run(4107, {'username': 'root', 'groupname': 'root',<br>
<span class="">% 'now': '2014-09-16 23:18:23', 'timeout': 600, 'script': '#!/bin/sh\n# Add<br>
% your shell script below\nls /'}){'cache_only': None}<br>
</span>%<br>
% Nonworking system "do_call" line:<br>
% D: do_call script.run(4106, {'username': 'root', 'groupname': 'root',<br>
<span class="">% 'now': '2014-09-16 23:15:44', 'timeout': 600, 'script': '#!/bin/sh\r\n# Add<br>
% your shell script below\r\nls /'}){'cache_only': None}<br>
</span>%<br>
% As you will notice the line separators are different and it is my opinion<br>
<span class="">% that the "\r" has something to do with this failure. Any ideas about how to<br>
% find and fix this issue would be much appreciated. Let me know if you would<br>
% like additional information about my setup.<br>
</span>%<br>
% Here is some additional information about the two systems:<br>
%<br>
% # cat /etc/issue<br>
% Scientific Linux release 6.5 (Carbon)<br>
% # python --version<br>
% Python 2.6.6<br>
<br>
Is there difference betveen rhn-check version on those systems?<br>
<br>
Regards,<br>
<br>
--<br>
Michael Mráka<br>
Satellite Engineering, Red Hat<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></blockquote></div><br></div>

<br>
<span><font color="#888888">This communication is 
intended only for the person(s) to whom it is addressed and may contain 
confidential and/or privileged information. Any review, re-transmission, 
dissemination, copying or other use of, or taking of any action in 
reliance upon, this information by persons or entities other than the 
intended recipient(s) is prohibited. If you received this communication 
in error, please report the error to the sender by return email and 
delete this communication from your records.</font></span>